|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/lib/CodeGen/CGBlocks.cpp 2289 field = CGF.Builder.CreateBitCast(field, CGF.Int8PtrTy->getPointerTo(0));
2508 return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy);
2571 return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy);
2745 types.push_back(Int8PtrTy);
2764 types.push_back(Int8PtrTy);
2768 types.push_back(Int8PtrTy);
2777 types.push_back(Int8PtrTy);
2854 V = Builder.CreateIntToPtr(Builder.getInt32(isa), Int8PtrTy, "isa");
2928 Builder.CreateBitCast(V, Int8PtrTy),
2986 llvm::Type *args[] = { Int8PtrTy, Int32Ty };
2999 llvm::Type *args[] = { Int8PtrTy, Int8PtrTy, Int32Ty };
2999 llvm::Type *args[] = { Int8PtrTy, Int8PtrTy, Int32Ty };
3013 Int8PtrTy->getPointerTo(),
3024 Int8PtrTy->getPointerTo(),
tools/clang/lib/CodeGen/CGBuiltin.cpp 531 llvm::Type *DestType = Int8PtrTy;
762 Value *BitBaseI8 = CGF.Builder.CreatePointerCast(BitBase, CGF.Int8PtrTy);
844 Arg1Ty = CGF.Int8PtrTy;
855 llvm::Type *ArgTypes[2] = {CGF.Int8PtrTy, Arg1Ty};
864 CGF.EmitScalarExpr(E->getArg(0)), CGF.Int8PtrTy);
1804 llvm::Type *Type = Int8PtrTy;
2672 Buf = Builder.CreateBitCast(Buf, Int8PtrTy);
2677 Buf = Builder.CreateBitCast(Buf, Int8PtrTy);
3519 return RValue::get(llvm::ConstantExpr::getBitCast(GV, CGM.Int8PtrTy));
5481 llvm::Type *Tys[] = {Ty, Int8PtrTy};
5512 llvm::Type *Tys[] = {Ty, Int8PtrTy};
5536 llvm::Type *Tys[] = {Ty, Int8PtrTy};
5660 llvm::Type *Tys[] = {Int8PtrTy, Ty};
6168 Value *Val = Builder.CreateCall(F, Builder.CreateBitCast(LdPtr, Int8PtrTy),
6226 Value *StPtr = Builder.CreateBitCast(EmitScalarExpr(E->getArg(1)), Int8PtrTy);
6682 llvm::Type *Tys[] = {Ty, Int8PtrTy};
6750 llvm::Type *Tys[] = {Int8PtrTy, Ops[1]->getType()};
7160 Value *Val = Builder.CreateCall(F, Builder.CreateBitCast(LdPtr, Int8PtrTy),
7215 Int8PtrTy);
7329 Pointer = Builder.CreatePointerCast(Pointer, Int8PtrTy);
7339 Pointer = Builder.CreatePointerCast(Pointer, Int8PtrTy);
7350 Pointer = Builder.CreatePointerCast(Pointer, Int8PtrTy);
7359 TagAddress = Builder.CreatePointerCast(TagAddress, Int8PtrTy);
7369 TagAddress = Builder.CreatePointerCast(TagAddress, Int8PtrTy);
7376 PointerA = Builder.CreatePointerCast(PointerA, Int8PtrTy);
7377 PointerB = Builder.CreatePointerCast(PointerB, Int8PtrTy);
10312 Builder.CreateBitCast(Tmp.getPointer(), Int8PtrTy));
10318 Builder.CreateBitCast(Tmp.getPointer(), Int8PtrTy));
12413 Ops[0] = Builder.CreateBitCast(Ops[0], Int8PtrTy);
12415 Ops[1] = Builder.CreateBitCast(Ops[1], Int8PtrTy);
12481 Ops[1] = Builder.CreateBitCast(Ops[1], Int8PtrTy);
12483 Ops[2] = Builder.CreateBitCast(Ops[2], Int8PtrTy);
13049 Value *TDB = llvm::ConstantPointerNull::get(Int8PtrTy);
14508 Builder.CreateBitCast(EmitScalarExpr(E->getArg(0)), Int8PtrTy);
14514 DestAddr = Address(Builder.CreateBitCast(DestAddr.getPointer(), Int8PtrTy),
tools/clang/lib/CodeGen/CGCall.cpp 2330 Address Dst = Builder.CreateBitCast(AlignedTemp, Int8PtrTy);
2331 Address Src = Builder.CreateBitCast(ParamAddr, Int8PtrTy);
tools/clang/lib/CodeGen/CGClass.cpp 412 llvm::Value *Value = Builder.CreateBitCast(BaseAddr.getPointer(), Int8PtrTy);
1717 CGF.Builder.CreateBitCast(CGF.LoadCXXThis(), CGF.Int8PtrTy),
2650 llvm::Value *CastedVTable = Builder.CreateBitCast(VTable, Int8PtrTy);
2758 llvm::Value *CastedVTable = Builder.CreateBitCast(VTable, Int8PtrTy);
2815 llvm::Value *CastedVTable = Builder.CreateBitCast(VTable, Int8PtrTy);
tools/clang/lib/CodeGen/CGCoroutine.cpp 198 auto *NullPtr = llvm::ConstantPointerNull::get(CGF.CGM.Int8PtrTy);
399 auto *NullPtr = llvm::ConstantPointerNull::get(CGF.Int8PtrTy);
456 auto *NullPtr = llvm::ConstantPointerNull::get(CGF.Int8PtrTy);
576 auto *NullPtr = llvm::ConstantPointerNull::get(Int8PtrTy);
tools/clang/lib/CodeGen/CGDecl.cpp 1527 CreateTempAlloca(Int8PtrTy, getPointerAlign(), "saved_stack");
tools/clang/lib/CodeGen/CGDeclCXX.cpp 140 Argument = llvm::Constant::getNullValue(CGF.Int8PtrTy);
162 llvm::Type *ObjectPtr[1] = {Int8PtrTy};
168 llvm::ConstantExpr::getBitCast(Addr, Int8PtrTy)};
tools/clang/lib/CodeGen/CGException.cpp 35 llvm::FunctionType::get(CGM.VoidTy, CGM.Int8PtrTy, /*isVarArg=*/false);
44 llvm::FunctionType::get(CGM.VoidTy, CGM.Int8PtrTy, /*isVarArg=*/false);
78 llvm::FunctionType::get(CGM.VoidTy, CGM.Int8PtrTy, /*isVarArg=*/false);
358 return llvm::ConstantPointerNull::get(CGF.Int8PtrTy);
405 ExceptionSlot = CreateTempAlloca(Int8PtrTy, "exn.slot");
778 Builder.CreateLandingPad(llvm::StructType::get(Int8PtrTy, Int32Ty), 0);
867 filterTypes[0]->getType() : Int8PtrTy,
1084 typeValue = CGF.Builder.CreateBitCast(typeValue, CGF.Int8PtrTy);
1382 SavedExnVar = CGF.CreateTempAlloca(CGF.Int8PtrTy, "finally.exn");
1474 Builder.CreateLandingPad(llvm::StructType::get(Int8PtrTy, Int32Ty), 0);
1726 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy);
1792 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy);
1941 SEHInfo = Builder.CreateBitCast(SEHInfo, Int8PtrTy->getPointerTo());
1942 SEHInfo = Builder.CreateAlignedLoad(Int8PtrTy, SEHInfo, getPointerAlign());
1968 return llvm::UndefValue::get(Int8PtrTy);
1969 assert(SEHInfo->getType() == Int8PtrTy);
2026 llvm::ConstantExpr::getBitCast(FilterFunc, Int8PtrTy);
tools/clang/lib/CodeGen/CGExpr.cpp 54 llvm::PointerType *destType = Int8PtrTy;
341 CleanupArg = llvm::Constant::getNullValue(CGF.Int8PtrTy);
726 llvm::Type *Tys[2] = { IntPtrTy, Int8PtrTy };
731 llvm::Value *CastAddr = Builder.CreateBitCast(Ptr, Int8PtrTy);
2911 Filename = llvm::Constant::getNullValue(Int8PtrTy);
3079 Args.push_back(Builder.CreateBitCast(InfoPtr, Int8PtrTy));
3080 ArgTypes.push_back(Int8PtrTy);
3143 llvm::FunctionType::get(VoidTy, {Int64Ty, Int8PtrTy, Int8PtrTy},
3143 llvm::FunctionType::get(VoidTy, {Int64Ty, Int8PtrTy, Int8PtrTy},
3146 SlowPathFn, {TypeId, Ptr, Builder.CreateBitCast(InfoPtr, Int8PtrTy)});
3150 llvm::FunctionType::get(VoidTy, {Int64Ty, Int8PtrTy}, false));
3167 llvm::FunctionType::get(VoidTy, {Int64Ty, Int8PtrTy, Int8PtrTy}, false),
3167 llvm::FunctionType::get(VoidTy, {Int64Ty, Int8PtrTy, Int8PtrTy}, false),
3222 Builder.CreateICmpNE(Data, llvm::ConstantPointerNull::get(Int8PtrTy));
4856 llvm::Value *CastedCallee = Builder.CreateBitCast(CalleePtr, Int8PtrTy);
tools/clang/lib/CodeGen/CGExprAgg.cpp 1320 llvm::Constant::getNullValue(CGF.Int8PtrTy),
1505 CGF.Int8Ty, llvm::Constant::getNullValue(CGF.Int8PtrTy),
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp 355 Address BC = CGF.Builder.CreateBitCast(DstAddr, CGF.CGM.Int8PtrTy);
415 Addr = CGF->Builder.CreateBitCast(Addr, CGF->CGM.Int8PtrTy);
tools/clang/lib/CodeGen/CGObjC.cpp 1007 ivarAddr = CGF.Builder.CreateBitCast(ivarAddr, CGF.Int8PtrTy);
1210 ivarAddr = CGF.Builder.CreateBitCast(ivarAddr, CGF.Int8PtrTy);
1219 argAddr = CGF.Builder.CreateBitCast(argAddr, CGF.Int8PtrTy);
1256 ivarAddr = CGF.Builder.CreateBitCast(ivarAddr, CGF.Int8PtrTy);
1265 argAddr = CGF.Builder.CreateBitCast(argAddr, CGF.Int8PtrTy);
1997 value = CGF.Builder.CreateBitCast(value, CGF.Int8PtrTy);
2025 if (origType != CGF.Int8PtrTy)
2049 CGF.Builder.CreateBitCast(value, CGF.Int8PtrTy)
2090 llvm::FunctionType::get(CGF.Int8PtrTy, CGF.Int8PtrTy, false);
2090 llvm::FunctionType::get(CGF.Int8PtrTy, CGF.Int8PtrTy, false);
2101 value = CGF.Builder.CreateBitCast(value, CGF.Int8PtrTy);
2242 value = Builder.CreateBitCast(value, Int8PtrTy);
2289 Builder.CreateBitCast(value, Int8PtrTy)
2374 value = Builder.CreateBitCast(value, Int8PtrTy);
2497 assert(value->getType() == Int8PtrTy);
2505 llvm::FunctionType::get(Builder.getVoidTy(), Int8PtrTy, false);
2639 llvm::FunctionType::get(Builder.getVoidTy(), Int8PtrTy, false);
2648 value = Builder.CreateBitCast(value, Int8PtrTy);
tools/clang/lib/CodeGen/CGObjCGNU.cpp 2776 MethodList.addNullPointer(CGM.Int8PtrTy);
tools/clang/lib/CodeGen/CGObjCMac.cpp 1998 CGM.Int8PtrTy,
2022 Fields.addBitCast(GV, CGM.Int8PtrTy);
2360 llvm::Constant *nullPtr = llvm::Constant::getNullValue(CGM.Int8PtrTy);
2719 llvm::Constant *nullPtr = llvm::Constant::getNullValue(CGM.Int8PtrTy);
2978 Result = llvm::ConstantExpr::getIntToPtr(Result, CGM.Int8PtrTy);
2981 llvm::Constant *nullPtr = llvm::Constant::getNullValue(CGM.Int8PtrTy);
3737 layout = llvm::ConstantPointerNull::get(CGM.Int8PtrTy);
5381 return llvm::ConstantPointerNull::get(CGM.Int8PtrTy);
5424 llvm::Type *PtrTy = CGM.Int8PtrTy;
5620 Int8PtrTy = CGM.Int8PtrTy;
5852 llvm::Type *StackPtrTy = llvm::ArrayType::get(CGM.Int8PtrTy, 4);
tools/clang/lib/CodeGen/CGObjCRuntime.cpp 65 llvm::Value *V = CGF.Builder.CreateBitCast(BaseValue, CGF.Int8PtrTy);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 1581 llvm::ConstantExpr::getBitCast(DefaultOpenMPPSource, CGM.Int8PtrTy);
2729 CGM.Int8PtrTy),
2930 ID = llvm::ConstantExpr::getBitCast(Fn, CGM.Int8PtrTy);
2969 ID = llvm::ConstantExpr::getBitCast(Fn, CGM.Int8PtrTy);
4033 llvm::ConstantExpr::getBitCast(Str, CGM.Int8PtrTy),
6521 OutlinedFnID = llvm::ConstantExpr::getBitCast(OutlinedFn, CGM.Int8PtrTy);
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 1429 CGF.CreateDefaultAlignTempAlloca(CGF.Int8PtrTy, /*Name=*/"work_fn");
1433 CGF.InitTempAlloca(WorkFn, llvm::Constant::getNullValue(CGF.Int8PtrTy));
1461 llvm::Value *ID = Bld.CreatePointerBitCastOrAddrSpaceCast(W, CGM.Int8PtrTy);
1566 llvm::Type *TypeParams[] = {CGM.Int8PtrTy, CGM.Int16Ty};
2534 llvm::Value *ID = Bld.CreateBitOrPointerCast(WFn, CGM.Int8PtrTy);
tools/clang/lib/CodeGen/CGStmt.cpp 619 Int8PtrTy, "addr");
1062 Builder.CreateStore(Builder.CreateBitCast(SLocPtr, Int8PtrTy),
tools/clang/lib/CodeGen/CGVTT.cpp 46 llvm::Type *Int8PtrTy = CGM.Int8PtrTy, *Int32Ty = CGM.Int32Ty;
120 llvm::ArrayType::get(CGM.Int8PtrTy, Builder.getVTTComponents().size());
121 unsigned Align = CGM.getDataLayout().getABITypeAlignment(CGM.Int8PtrTy);
tools/clang/lib/CodeGen/CGVTables.cpp 626 CGM.Int8PtrTy));
640 return builder.add(llvm::ConstantExpr::getBitCast(rtti, CGM.Int8PtrTy));
674 return builder.addNullPointer(CGM.Int8PtrTy);
685 return llvm::ConstantExpr::getBitCast(fn, CGM.Int8PtrTy);
718 fnPtr = llvm::ConstantExpr::getBitCast(fnPtr, CGM.Int8PtrTy);
724 return builder.addNullPointer(CGM.Int8PtrTy);
733 tys.push_back(llvm::ArrayType::get(CGM.Int8PtrTy, layout.getVTableSize(i)));
744 auto vtableElem = builder.beginArray(CGM.Int8PtrTy);
tools/clang/lib/CodeGen/CodeGenFunction.cpp 845 ReturnLocation = CreateDefaultAlignTempAlloca(Int8PtrTy, "return.sloc.ptr");
846 InitTempAlloca(ReturnLocation, llvm::ConstantPointerNull::get(Int8PtrTy));
911 CreateDefaultAlignTempAlloca(Int8PtrTy, "result.ptr");
913 ReturnValue.getPointer(), Int8PtrTy),
1710 llvm::Value *DestVal = TmpBuilder.CreatePHI(Int8PtrTy, 0,
2079 Builder.CreateBitCast(CGM.EmitAnnotationString(AnnotationStr), Int8PtrTy),
2080 Builder.CreateBitCast(CGM.EmitAnnotationUnit(Location), Int8PtrTy),
2092 Builder.CreateBitCast(V, CGM.Int8PtrTy, V->getName()),
2102 CGM.Int8PtrTy);
2108 if (VTy != CGM.Int8PtrTy)
2109 V = Builder.CreateBitCast(V, CGM.Int8PtrTy);
tools/clang/lib/CodeGen/CodeGenModule.cpp 122 Int8PtrTy = Int8Ty->getPointerTo(0);
123 Int8PtrPtrTy = Int8PtrTy->getPointerTo(0);
1909 cast<llvm::Constant>(&*List[i]), CGM.Int8PtrTy);
1914 llvm::ArrayType *ATy = llvm::ArrayType::get(CGM.Int8PtrTy, UsedArray.size());
2215 llvm::ConstantExpr::getBitCast(GV, Int8PtrTy),
2216 llvm::ConstantExpr::getBitCast(AnnoGV, Int8PtrTy),
2217 llvm::ConstantExpr::getBitCast(UnitGV, Int8PtrTy),
4762 Str = llvm::ConstantExpr::getBitCast(Str, Int8PtrTy);
5736 return llvm::Constant::getNullValue(Int8PtrTy);
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 691 {Builder.CreateBitCast(VFPAddr, CGF.Int8PtrTy), TypeId});
751 Builder.CreateBitCast(NonVirtualFn, CGF.Int8PtrTy);
1193 CGF.Builder.CreateBitCast(Ptr.getPointer(), CGF.Int8PtrTy);
1229 llvm::FunctionType::get(CGM.Int8PtrTy, CGM.SizeTy, /*isVarArg=*/false);
1238 llvm::Type *Args[3] = { CGM.Int8PtrTy, CGM.Int8PtrTy, CGM.Int8PtrTy };
1238 llvm::Type *Args[3] = { CGM.Int8PtrTy, CGM.Int8PtrTy, CGM.Int8PtrTy };
1238 llvm::Type *Args[3] = { CGM.Int8PtrTy, CGM.Int8PtrTy, CGM.Int8PtrTy };
1270 Dtor = llvm::ConstantExpr::getBitCast(Dtor, CGM.Int8PtrTy);
1273 if (!Dtor) Dtor = llvm::Constant::getNullValue(CGM.Int8PtrTy);
1285 llvm::Type *Int8PtrTy = CGF.Int8PtrTy;
1483 llvm::Value *VTablePtr = CGF.GetVTablePtr(This, CGM.Int8PtrTy, ClassDecl);
1928 Address VTablePtrPtr = CGF.Builder.CreateElementBitCast(V, CGF.Int8PtrTy);
2371 llvm::FunctionType::get(CGF.VoidTy, CGF.Int8PtrTy, false)->getPointerTo();
2376 AddrAS ? CGF.Int8Ty->getPointerTo(AddrAS) : CGF.Int8PtrTy;
2399 addr = llvm::Constant::getNullValue(CGF.Int8PtrTy);
2892 GV = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8PtrTy,
2900 return llvm::ConstantExpr::getBitCast(GV, CGM.Int8PtrTy);
3259 CGM.getModule().getOrInsertGlobal(VTableName, CGM.Int8PtrTy);
3268 llvm::ConstantExpr::getInBoundsGetElementPtr(CGM.Int8PtrTy, VTable, Two);
3269 VTable = llvm::ConstantExpr::getBitCast(VTable, CGM.Int8PtrTy);
3342 return llvm::ConstantExpr::getBitCast(OldGV, CGM.Int8PtrTy);
3400 llvm::ConstantExpr::getIntToPtr(TypeNameField, CGM.Int8PtrTy);
3402 TypeNameField = llvm::ConstantExpr::getBitCast(TypeName, CGM.Int8PtrTy);
3546 return llvm::ConstantExpr::getBitCast(GV, CGM.Int8PtrTy);
4022 CGM.Int8PtrTy, CGM.Int8PtrTy, /*isVarArg=*/false);
4022 CGM.Int8PtrTy, CGM.Int8PtrTy, /*isVarArg=*/false);
4038 CGM.Int8PtrTy, CGM.Int8PtrTy, /*isVarArg=*/false);
4038 CGM.Int8PtrTy, CGM.Int8PtrTy, /*isVarArg=*/false);
4312 llvm::FunctionType::get(CGM.VoidTy, CGM.Int8PtrTy, /*isVarArg=*/false);
4372 return {CGF.GetVTablePtr(This, CGM.Int8PtrTy, RD), RD};
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 454 CGM.Int8PtrTy,
471 getImageRelativeType(CGM.Int8PtrTy),
510 getImageRelativeType(CGM.Int8PtrTy),
685 getImageRelativeType(CGM.Int8PtrTy), // TypeDescriptor
690 getImageRelativeType(CGM.Int8PtrTy) // CopyCtor
721 getImageRelativeType(CGM.Int8PtrTy), // CleanupFn
722 getImageRelativeType(CGM.Int8PtrTy), // ForwardCompat
723 getImageRelativeType(CGM.Int8PtrTy) // CatchableTypeArray
733 llvm::Type *Args[] = {CGM.Int8PtrTy, getThrowInfoType()->getPointerTo()};
856 llvm::ConstantPointerNull::get(CGM.Int8PtrTy),
894 Value = CGF.Builder.CreateBitCast(Value, CGF.Int8PtrTy);
934 llvm::Type *ArgTypes[] = {CGF.Int8PtrTy};
936 llvm::FunctionType::get(CGF.Int8PtrTy, ArgTypes, false);
988 llvm::Type *ArgTypes[] = {CGF.Int8PtrTy, CGF.Int32Ty, CGF.Int8PtrTy,
988 llvm::Type *ArgTypes[] = {CGF.Int8PtrTy, CGF.Int32Ty, CGF.Int8PtrTy,
989 CGF.Int8PtrTy, CGF.Int32Ty};
991 llvm::FunctionType::get(CGF.Int8PtrTy, ArgTypes, false),
1009 llvm::Type *ArgTypes[] = {CGF.Int8PtrTy};
1011 llvm::FunctionType::get(CGF.Int8PtrTy, ArgTypes, false),
1834 VFTable = llvm::GlobalAlias::create(CGM.Int8PtrTy,
3025 llvm::PHINode *Phi = Builder.CreatePHI(CGM.Int8PtrTy, 2, "memptr.base");
3364 llvm::Value *Ptr = Builder.CreateBitCast(ThisPtrForCall, CGF.Int8PtrTy);
3414 return new llvm::GlobalVariable(CGM.getModule(), CGM.Int8PtrTy,
3817 return llvm::ConstantExpr::getBitCast(GV, CGM.Int8PtrTy);
3832 llvm::ConstantPointerNull::get(CGM.Int8PtrTy), // Runtime data
3843 return llvm::ConstantExpr::getBitCast(Var, CGM.Int8PtrTy);
4037 CopyCtor = llvm::ConstantExpr::getBitCast(CopyCtor, CGM.Int8PtrTy);
4039 CopyCtor = llvm::Constant::getNullValue(CGM.Int8PtrTy);
4243 llvm::Constant *CleanupFn = llvm::Constant::getNullValue(CGM.Int8PtrTy);
4249 CGM.Int8PtrTy);
4252 getImageRelativeConstant(llvm::Constant::getNullValue(CGM.Int8PtrTy));
4254 llvm::ConstantExpr::getBitCast(CTA, CGM.Int8PtrTy));
4287 CGF.Builder.CreateBitCast(AI.getPointer(), CGM.Int8PtrTy),
4298 return {CGF.GetVTablePtr(This, CGM.Int8PtrTy, RD), RD};
tools/clang/lib/CodeGen/SwiftCallingConv.cpp 132 addTypedData(CGM.Int8PtrTy, begin);
145 addTypedData(CGM.Int8PtrTy, begin + layout.getVBPtrOffset());
tools/clang/lib/CodeGen/TargetInfo.cpp 296 if (VAListAddr.getElementType() != CGF.Int8PtrTy)
297 VAListAddr = CGF.Builder.CreateElementBitCast(VAListAddr, CGF.Int8PtrTy);
5500 OnStackPtr = CGF.Builder.CreateIntToPtr(OnStackPtr, CGF.Int8PtrTy);