Searched refs:Int8PtrTy (Results 1 - 25 of 31) sorted by relevance

12

/external/clang/lib/CodeGen/
H A DCGVTT.cpp47 llvm::Type *Int8PtrTy = CGM.Int8PtrTy, *Int64Ty = CGM.Int64Ty; local
49 llvm::ArrayType::get(Int8PtrTy, Builder.getVTTComponents().size());
85 Init = llvm::ConstantExpr::getBitCast(Init, Int8PtrTy);
119 llvm::ArrayType::get(CGM.Int8PtrTy, Builder.getVTTComponents().size());
H A DCodeGenTypeCache.h54 llvm::PointerType *Int8PtrTy; member in union:clang::CodeGen::CodeGenTypeCache::__anon1154
H A DCGVTables.cpp532 llvm::Type *Int8PtrTy = CGM.Int8PtrTy; local
550 Init = llvm::ConstantExpr::getIntToPtr(Init, Int8PtrTy);
555 Init = llvm::ConstantExpr::getIntToPtr(Init, Int8PtrTy);
560 Init = llvm::ConstantExpr::getIntToPtr(Init, Int8PtrTy);
563 Init = llvm::ConstantExpr::getBitCast(RTTI, Int8PtrTy);
597 Init = llvm::ConstantExpr::getNullValue(Int8PtrTy);
611 CGM.Int8PtrTy);
622 CGM.Int8PtrTy);
641 Init = llvm::ConstantExpr::getBitCast(Init, Int8PtrTy);
[all...]
H A DCGException.cpp36 llvm::FunctionType::get(CGM.VoidTy, CGM.Int8PtrTy, /*IsVarArgs=*/false);
45 llvm::FunctionType::get(CGM.VoidTy, CGM.Int8PtrTy, /*IsVarArgs=*/false);
79 llvm::FunctionType::get(CGM.VoidTy, CGM.Int8PtrTy, /*IsVarArgs=*/false);
233 return llvm::ConstantExpr::getBitCast(Fn, CGM.Int8PtrTy);
338 return llvm::ConstantPointerNull::get(CGF.Int8PtrTy);
385 ExceptionSlot = CreateTempAlloca(Int8PtrTy, "exn.slot");
756 llvm::StructType::get(Int8PtrTy, Int32Ty, nullptr), 0);
845 filterTypes[0]->getType() : Int8PtrTy,
951 typeValue = CGF.Builder.CreateBitCast(typeValue, CGF.Int8PtrTy);
1209 SavedExnVar = CGF.CreateTempAlloca(CGF.Int8PtrTy, "finall
[all...]
H A DCGObjCMac.cpp144 llvm::Type *params[] = { Int8PtrTy, SuperPtrTy, SelectorPtrTy };
155 llvm::Type *params[] = { Int8PtrTy, SuperPtrTy, SelectorPtrTy };
176 llvm::Type *Int8PtrTy, *Int8PtrPtrTy; member in class:__anon1134::ObjCCommonTypesHelper
408 llvm::Type *args[] = { Int8PtrTy, Int8PtrTy, LongTy };
409 llvm::FunctionType *FTy = llvm::FunctionType::get(Int8PtrTy, args, false);
721 llvm::Type *params[] = { Int8PtrTy };
722 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(Int8PtrTy,
2070 llvm::Constant *nullPtr = llvm::Constant::getNullValue(CGM.Int8PtrTy);
2432 llvm::Constant *nullPtr = llvm::Constant::getNullValue(CGM.Int8PtrTy);
5347 Int8PtrTy, local
5355 Int8PtrTy, local
[all...]
H A DItaniumCXXABI.cpp1027 CGF.Builder.CreateBitCast(Ptr.getPointer(), CGF.Int8PtrTy);
1063 llvm::FunctionType::get(CGM.Int8PtrTy, CGM.SizeTy, /*IsVarArgs=*/false);
1072 llvm::Type *Args[3] = { CGM.Int8PtrTy, CGM.Int8PtrTy, CGM.Int8PtrTy };
1104 Dtor = llvm::ConstantExpr::getBitCast(Dtor, CGM.Int8PtrTy);
1107 if (!Dtor) Dtor = llvm::Constant::getNullValue(CGM.Int8PtrTy);
1119 llvm::Type *Int8PtrTy = CGF.Int8PtrTy; local
1123 llvm::Type *Args[4] = { Int8PtrTy, Int8PtrT
[all...]
H A DMicrosoftCXXABI.cpp446 CGM.Int8PtrTy,
463 getImageRelativeType(CGM.Int8PtrTy),
502 getImageRelativeType(CGM.Int8PtrTy),
676 getImageRelativeType(CGM.Int8PtrTy), // TypeDescriptor
681 getImageRelativeType(CGM.Int8PtrTy) // CopyCtor
712 getImageRelativeType(CGM.Int8PtrTy), // CleanupFn
713 getImageRelativeType(CGM.Int8PtrTy), // ForwardCompat
714 getImageRelativeType(CGM.Int8PtrTy) // CatchableTypeArray
724 llvm::Type *Args[] = {CGM.Int8PtrTy, getThrowInfoType()->getPointerTo()};
868 llvm::ConstantPointerNull::get(CGM.Int8PtrTy),
[all...]
H A DCGBlocks.cpp1654 field = CGF.Builder.CreateBitCast(field, CGF.Int8PtrTy->getPointerTo(0));
1843 return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy);
1905 return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy);
2070 types.push_back(Int8PtrTy);
2089 types.push_back(Int8PtrTy);
2093 types.push_back(Int8PtrTy);
2102 types.push_back(Int8PtrTy);
2180 V = Builder.CreateIntToPtr(Builder.getInt32(isa), Int8PtrTy, "isa");
2253 Builder.CreateBitCast(V, Int8PtrTy),
2299 llvm::Type *args[] = { Int8PtrTy, Int32T
[all...]
H A DCGObjC.cpp851 ivarAddr = CGF.Builder.CreateBitCast(ivarAddr, CGF.Int8PtrTy);
1046 ivarAddr = CGF.Builder.CreateBitCast(ivarAddr, CGF.Int8PtrTy);
1054 argAddr = CGF.Builder.CreateBitCast(argAddr, CGF.Int8PtrTy);
1092 ivarAddr = CGF.Builder.CreateBitCast(ivarAddr, CGF.Int8PtrTy);
1100 argAddr = CGF.Builder.CreateBitCast(argAddr, CGF.Int8PtrTy);
1838 llvm::FunctionType::get(CGF.Int8PtrTy, CGF.Int8PtrTy, false);
1844 value = CGF.Builder.CreateBitCast(value, CGF.Int8PtrTy);
1863 llvm::FunctionType::get(CGF.Int8PtrTy, CGF.Int8PtrPtrTy, false);
1875 if (origType != CGF.Int8PtrTy)
[all...]
H A DCGDeclCXX.cpp106 argument = llvm::Constant::getNullValue(CGF.Int8PtrTy);
128 llvm::ConstantExpr::getBitCast(Addr, CGF.Int8PtrTy)};
H A DCodeGenFunction.cpp404 llvm::PointerType *PointerTy = Int8PtrTy;
1464 llvm::Value *DestVal = TmpBuilder.CreatePHI(Int8PtrTy, 0,
1785 Builder.CreateBitCast(CGM.EmitAnnotationString(AnnotationStr), Int8PtrTy),
1786 Builder.CreateBitCast(CGM.EmitAnnotationUnit(Location), Int8PtrTy),
1798 Builder.CreateBitCast(V, CGM.Int8PtrTy, V->getName()),
1808 CGM.Int8PtrTy);
1814 if (VTy != CGM.Int8PtrTy)
1815 V = Builder.Insert(new llvm::BitCastInst(V, CGM.Int8PtrTy));
H A DCGBuiltin.cpp336 llvm::Type *DestType = Int8PtrTy;
443 llvm::Type *Type = Int8PtrTy;
1093 Buf = Builder.CreateBitCast(Buf, Int8PtrTy);
1098 Buf = Builder.CreateBitCast(Buf, Int8PtrTy);
1908 llvm::Type *ArgTypes[] = {Int8PtrTy, Int8PtrTy};
1916 EmitScalarExpr(E->getArg(0)), Int8PtrTy);
1933 EmitScalarExpr(E->getArg(0)), Int8PtrTy);
1936 llvm::Type *ArgTypes[] = {Int8PtrTy, IntTy};
1944 llvm::Type *ArgTypes[] = {Int8PtrTy, Int8PtrT
[all...]
H A DCGDecl.cpp925 Addr = Builder.CreateBitCast(Addr, Int8PtrTy);
933 Addr = Builder.CreateBitCast(Addr, Int8PtrTy);
1057 CreateTempAlloca(Int8PtrTy, getPointerAlign(), "saved_stack");
1228 llvm::Type *BP = Int8PtrTy;
H A DCGObjCRuntime.cpp95 llvm::Value *V = CGF.Builder.CreateBitCast(BaseValue, CGF.Int8PtrTy);
H A DCodeGenModule.cpp117 Int8PtrTy = Int8Ty->getPointerTo(0);
118 Int8PtrPtrTy = Int8PtrTy->getPointerTo(0);
1067 cast<llvm::Constant>(&*List[i]), CGM.Int8PtrTy);
1072 llvm::ArrayType *ATy = llvm::ArrayType::get(CGM.Int8PtrTy, UsedArray.size());
1320 llvm::ConstantExpr::getBitCast(GV, Int8PtrTy),
1321 llvm::ConstantExpr::getBitCast(AnnoGV, Int8PtrTy),
1322 llvm::ConstantExpr::getBitCast(UnitGV, Int8PtrTy),
2935 Fields[2] = llvm::ConstantExpr::getBitCast(Fields[2], Int8PtrTy);
3889 return llvm::Constant::getNullValue(Int8PtrTy);
H A DCGClass.cpp246 ptr = CGF.Builder.CreateBitCast(ptr, CGF.Int8PtrTy);
401 llvm::Value *Value = Builder.CreateBitCast(BaseAddr.getPointer(), Int8PtrTy);
1760 CGF.Builder.CreateBitCast(CGF.LoadCXXThis(), CGF.Int8PtrTy),
2536 GetVTablePtr(Address(Derived, getPointerAlign()), Int8PtrTy, ClassDecl);
2559 llvm::Value *CastedVTable = Builder.CreateBitCast(VTable, Int8PtrTy);
H A DCGExpr.cpp47 llvm::PointerType *destType = Int8PtrTy;
285 CleanupArg = llvm::Constant::getNullValue(CGF.Int8PtrTy);
550 llvm::Type *Tys[2] = { IntPtrTy, Int8PtrTy };
553 llvm::Value *CastAddr = Builder.CreateBitCast(Ptr, Int8PtrTy);
2362 Filename = llvm::Constant::getNullValue(Int8PtrTy);
2502 Args.push_back(Builder.CreateBitCast(InfoPtr, Int8PtrTy));
2503 ArgTypes.push_back(Int8PtrTy);
3857 llvm::Value *CastedCallee = Builder.CreateBitCast(Callee, Int8PtrTy);
H A DCGCall.cpp1008 Address Casted = CGF.Builder.CreateBitCast(Tmp, CGF.Int8PtrTy);
1009 Address SrcCasted = CGF.Builder.CreateBitCast(Src, CGF.Int8PtrTy);
1090 Address Casted = CGF.Builder.CreateBitCast(Tmp, CGF.Int8PtrTy);
1091 Address DstCasted = CGF.Builder.CreateBitCast(Dst, CGF.Int8PtrTy);
1922 Address Dst = Builder.CreateBitCast(AlignedTemp, Int8PtrTy);
1923 Address Src = Builder.CreateBitCast(ParamAddr, Int8PtrTy);
/external/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp192 Type *Int8PtrTy = PointerType::getUnqual(IRB.getInt8Ty()); local
263 IRB.CreatePointerCast(RealEightBitCounterArray, Int8PtrTy));
277 {Int32PtrTy, IntptrTy, Int8PtrTy, Int8PtrTy},
281 ? IRB.CreatePointerCast(RealEightBitCounterArray, Int8PtrTy)
282 : Constant::getNullValue(Int8PtrTy),
283 IRB.CreatePointerCast(ModuleName, Int8PtrTy)});
H A DInstrProfiling.cpp332 auto *Int8PtrTy = Type::getInt8PtrTy(Ctx); local
342 ConstantExpr::getBitCast(Fn, Int8PtrTy) :
343 ConstantPointerNull::get(Int8PtrTy);
481 auto *Int8PtrTy = Type::getInt8PtrTy(M->getContext()); local
482 auto *SetNameTy = FunctionType::get(VoidTy, Int8PtrTy, false);
493 IRB.CreateCall(SetNameF, IRB.CreatePointerCast(ProfileName, Int8PtrTy));
/external/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp579 Type *Int8PtrTy = DestInt8PtrTy; local
584 Int8PtrTy, Int8PtrTy, IntPtr, (void *)nullptr);
593 Value *PatternPtr = ConstantExpr::getBitCast(GV, Int8PtrTy);
/external/llvm/unittests/IR/
H A DConstantsTest.cpp129 Type *Int8PtrTy = Type::getInt8PtrTy(C); local
132 VectorType *Int8PtrVecTy = VectorType::get(Int8PtrTy, 4);
139 Constant::getNullValue(Int8PtrTy), Int64Ty));
144 Constant::getNullValue(Int8PtrTy), Int32PtrTy));
/external/compiler-rt/lib/profile/
H A DInstrProfData.inc84 ConstantPointerNull::get(Int8PtrTy))
/external/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc84 ConstantPointerNull::get(Int8PtrTy))
/external/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp918 Type *Int8PtrTy = Type::getInt8PtrTy(Ty->getContext(), local
920 if (Ty == Int8PtrTy)
925 if (U->getType() != Int8PtrTy) continue;

Completed in 673 milliseconds

12