Home
last modified time | relevance | path

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

12

/external/clang/lib/CodeGen/
DCGVTT.cpp47 llvm::Type *Int8PtrTy = CGM.Int8PtrTy, *Int64Ty = CGM.Int64Ty; in EmitVTTDefinition() local
49 llvm::ArrayType::get(Int8PtrTy, Builder.getVTTComponents().size()); in EmitVTTDefinition()
85 Init = llvm::ConstantExpr::getBitCast(Init, Int8PtrTy); in EmitVTTDefinition()
119 llvm::ArrayType::get(CGM.Int8PtrTy, Builder.getVTTComponents().size()); in GetAddrOfVTT()
DCGVTables.cpp532 llvm::Type *Int8PtrTy = CGM.Int8PtrTy; in CreateVTableInitializer() local
550 Init = llvm::ConstantExpr::getIntToPtr(Init, Int8PtrTy); in CreateVTableInitializer()
555 Init = llvm::ConstantExpr::getIntToPtr(Init, Int8PtrTy); in CreateVTableInitializer()
560 Init = llvm::ConstantExpr::getIntToPtr(Init, Int8PtrTy); in CreateVTableInitializer()
563 Init = llvm::ConstantExpr::getBitCast(RTTI, Int8PtrTy); in CreateVTableInitializer()
597 Init = llvm::ConstantExpr::getNullValue(Int8PtrTy); in CreateVTableInitializer()
611 CGM.Int8PtrTy); in CreateVTableInitializer()
622 CGM.Int8PtrTy); in CreateVTableInitializer()
641 Init = llvm::ConstantExpr::getBitCast(Init, Int8PtrTy); in CreateVTableInitializer()
647 Init = llvm::ConstantExpr::getNullValue(Int8PtrTy); in CreateVTableInitializer()
[all …]
DCGException.cpp36 llvm::FunctionType::get(CGM.VoidTy, CGM.Int8PtrTy, /*IsVarArgs=*/false); in getFreeExceptionFn()
45 llvm::FunctionType::get(CGM.VoidTy, CGM.Int8PtrTy, /*IsVarArgs=*/false); in getUnexpectedFn()
79 llvm::FunctionType::get(CGM.VoidTy, CGM.Int8PtrTy, /*IsVarArgs=*/false); in getCatchallRethrowFn()
233 return llvm::ConstantExpr::getBitCast(Fn, CGM.Int8PtrTy); in getOpaquePersonalityFn()
338 return llvm::ConstantPointerNull::get(CGF.Int8PtrTy); in getCatchAllValue()
385 ExceptionSlot = CreateTempAlloca(Int8PtrTy, "exn.slot"); in getExceptionSlot()
756 llvm::StructType::get(Int8PtrTy, Int32Ty, nullptr), 0); in EmitLandingPad()
845 filterTypes[0]->getType() : Int8PtrTy, in EmitLandingPad()
951 typeValue = CGF.Builder.CreateBitCast(typeValue, CGF.Int8PtrTy); in emitCatchDispatchBlock()
1209 SavedExnVar = CGF.CreateTempAlloca(CGF.Int8PtrTy, "finally.exn"); in enter()
[all …]
DCGObjCMac.cpp144 llvm::Type *params[] = { Int8PtrTy, SuperPtrTy, SelectorPtrTy }; in getMessageSendSuperStretFn()
155 llvm::Type *params[] = { Int8PtrTy, SuperPtrTy, SelectorPtrTy }; in getMessageSendSuperStretFn2()
176 llvm::Type *Int8PtrTy, *Int8PtrPtrTy; member in __anon90ffc6c50111::ObjCCommonTypesHelper
408 llvm::Type *args[] = { Int8PtrTy, Int8PtrTy, LongTy }; in GcMemmoveCollectableFn()
409 llvm::FunctionType *FTy = llvm::FunctionType::get(Int8PtrTy, args, false); in GcMemmoveCollectableFn()
721 llvm::Type *params[] = { Int8PtrTy }; in getObjCBeginCatchFn()
722 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(Int8PtrTy, in getObjCBeginCatchFn()
2070 llvm::Constant *nullPtr = llvm::Constant::getNullValue(CGM.Int8PtrTy); in BuildGCBlockLayout()
2432 llvm::Constant *nullPtr = llvm::Constant::getNullValue(CGM.Int8PtrTy); in getBitmapBlockLayout()
2644 Result = llvm::ConstantExpr::getIntToPtr(Result, CGM.Int8PtrTy); in BuildByrefLayout()
[all …]
DItaniumCXXABI.cpp1027 CGF.Builder.CreateBitCast(Ptr.getPointer(), CGF.Int8PtrTy); in emitVirtualObjectDelete()
1063 llvm::FunctionType::get(CGM.Int8PtrTy, CGM.SizeTy, /*IsVarArgs=*/false); in getAllocateExceptionFn()
1072 llvm::Type *Args[3] = { CGM.Int8PtrTy, CGM.Int8PtrTy, CGM.Int8PtrTy }; in getThrowFn()
1104 Dtor = llvm::ConstantExpr::getBitCast(Dtor, CGM.Int8PtrTy); in emitThrow()
1107 if (!Dtor) Dtor = llvm::Constant::getNullValue(CGM.Int8PtrTy); in emitThrow()
1119 llvm::Type *Int8PtrTy = CGF.Int8PtrTy; in getItaniumDynamicCastFn() local
1123 llvm::Type *Args[4] = { Int8PtrTy, Int8PtrTy, Int8PtrTy, PtrDiffTy }; in getItaniumDynamicCastFn()
1125 llvm::FunctionType *FTy = llvm::FunctionType::get(Int8PtrTy, Args, false); in getItaniumDynamicCastFn()
1315 llvm::Value *VTablePtr = CGF.GetVTablePtr(This, CGM.Int8PtrTy, ClassDecl); in GetVirtualBaseClassOffset()
1580 CGM.Int8PtrTy, VTContext.getVTableLayout(RD).getNumVTableComponents()); in getAddrOfVTable()
[all …]
DMicrosoftCXXABI.cpp446 CGM.Int8PtrTy, in getTypeDescriptorType()
463 getImageRelativeType(CGM.Int8PtrTy), in getBaseClassDescriptorType()
502 getImageRelativeType(CGM.Int8PtrTy), in getCompleteObjectLocatorType()
676 getImageRelativeType(CGM.Int8PtrTy), // TypeDescriptor in getCatchableTypeType()
681 getImageRelativeType(CGM.Int8PtrTy) // CopyCtor in getCatchableTypeType()
712 getImageRelativeType(CGM.Int8PtrTy), // CleanupFn in getThrowInfoType()
713 getImageRelativeType(CGM.Int8PtrTy), // ForwardCompat in getThrowInfoType()
714 getImageRelativeType(CGM.Int8PtrTy) // CatchableTypeArray in getThrowInfoType()
724 llvm::Type *Args[] = {CGM.Int8PtrTy, getThrowInfoType()->getPointerTo()}; in getThrowFn()
868 llvm::ConstantPointerNull::get(CGM.Int8PtrTy), in emitRethrow()
[all …]
DCGObjC.cpp851 ivarAddr = CGF.Builder.CreateBitCast(ivarAddr, CGF.Int8PtrTy); in emitCPPObjectAtomicGetterCall()
1046 ivarAddr = CGF.Builder.CreateBitCast(ivarAddr, CGF.Int8PtrTy); in emitStructSetterCall()
1054 argAddr = CGF.Builder.CreateBitCast(argAddr, CGF.Int8PtrTy); in emitStructSetterCall()
1092 ivarAddr = CGF.Builder.CreateBitCast(ivarAddr, CGF.Int8PtrTy); in emitCPPObjectAtomicSetterCall()
1100 argAddr = CGF.Builder.CreateBitCast(argAddr, CGF.Int8PtrTy); in emitCPPObjectAtomicSetterCall()
1838 llvm::FunctionType::get(CGF.Int8PtrTy, CGF.Int8PtrTy, false); in emitARCValueOperation()
1844 value = CGF.Builder.CreateBitCast(value, CGF.Int8PtrTy); in emitARCValueOperation()
1863 llvm::FunctionType::get(CGF.Int8PtrTy, CGF.Int8PtrPtrTy, false); in emitARCLoadOperation()
1875 if (origType != CGF.Int8PtrTy) in emitARCLoadOperation()
1892 llvm::Type *argTypes[] = { CGF.Int8PtrPtrTy, CGF.Int8PtrTy }; in emitARCStoreOperation()
[all …]
DCGBlocks.cpp1654 field = CGF.Builder.CreateBitCast(field, CGF.Int8PtrTy->getPointerTo(0)); in emitDispose()
1843 return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy); in generateByrefCopyHelper()
1905 return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy); in generateByrefDisposeHelper()
2070 types.push_back(Int8PtrTy); in getBlockByrefInfo()
2089 types.push_back(Int8PtrTy); in getBlockByrefInfo()
2093 types.push_back(Int8PtrTy); in getBlockByrefInfo()
2102 types.push_back(Int8PtrTy); in getBlockByrefInfo()
2180 V = Builder.CreateIntToPtr(Builder.getInt32(isa), Int8PtrTy, "isa"); in emitByrefStructureInit()
2253 Builder.CreateBitCast(V, Int8PtrTy), in BuildBlockRelease()
2299 llvm::Type *args[] = { Int8PtrTy, Int32Ty }; in getBlockObjectDispose()
[all …]
DCodeGenTypeCache.h54 llvm::PointerType *Int8PtrTy; member
DCodeGenFunction.cpp404 llvm::PointerType *PointerTy = Int8PtrTy; in EmitFunctionInstrumentation()
1464 llvm::Value *DestVal = TmpBuilder.CreatePHI(Int8PtrTy, 0, in GetIndirectGotoBlock()
1785 Builder.CreateBitCast(CGM.EmitAnnotationString(AnnotationStr), Int8PtrTy), in EmitAnnotationCall()
1786 Builder.CreateBitCast(CGM.EmitAnnotationUnit(Location), Int8PtrTy), in EmitAnnotationCall()
1798 Builder.CreateBitCast(V, CGM.Int8PtrTy, V->getName()), in EmitVarAnnotations()
1808 CGM.Int8PtrTy); in EmitFieldAnnotations()
1814 if (VTy != CGM.Int8PtrTy) in EmitFieldAnnotations()
1815 V = Builder.Insert(new llvm::BitCastInst(V, CGM.Int8PtrTy)); in EmitFieldAnnotations()
DCGBuiltin.cpp336 llvm::Type *DestType = Int8PtrTy; in EmitVAStartEnd()
443 llvm::Type *Type = Int8PtrTy; in EmitBuiltinExpr()
1093 Buf = Builder.CreateBitCast(Buf, Int8PtrTy); in EmitBuiltinExpr()
1098 Buf = Builder.CreateBitCast(Buf, Int8PtrTy); in EmitBuiltinExpr()
1908 llvm::Type *ArgTypes[] = {Int8PtrTy, Int8PtrTy}; in EmitBuiltinExpr()
1916 EmitScalarExpr(E->getArg(0)), Int8PtrTy); in EmitBuiltinExpr()
1933 EmitScalarExpr(E->getArg(0)), Int8PtrTy); in EmitBuiltinExpr()
1936 llvm::Type *ArgTypes[] = {Int8PtrTy, IntTy}; in EmitBuiltinExpr()
1944 llvm::Type *ArgTypes[] = {Int8PtrTy, Int8PtrTy}; in EmitBuiltinExpr()
1963 return RValue::get(llvm::ConstantExpr::getBitCast(GV, CGM.Int8PtrTy)); in EmitBuiltinExpr()
[all …]
DCGDeclCXX.cpp106 argument = llvm::Constant::getNullValue(CGF.Int8PtrTy); in EmitDeclDestroy()
128 llvm::ConstantExpr::getBitCast(Addr, CGF.Int8PtrTy)}; in EmitDeclInvariant()
DCGDecl.cpp925 Addr = Builder.CreateBitCast(Addr, Int8PtrTy); in EmitLifetimeStart()
933 Addr = Builder.CreateBitCast(Addr, Int8PtrTy); in EmitLifetimeEnd()
1057 CreateTempAlloca(Int8PtrTy, getPointerAlign(), "saved_stack"); in EmitAutoVarAlloca()
1228 llvm::Type *BP = Int8PtrTy; in EmitAutoVarInit()
DCodeGenModule.cpp117 Int8PtrTy = Int8Ty->getPointerTo(0); in CodeGenModule()
118 Int8PtrPtrTy = Int8PtrTy->getPointerTo(0); in CodeGenModule()
1067 cast<llvm::Constant>(&*List[i]), CGM.Int8PtrTy); in emitUsed()
1072 llvm::ArrayType *ATy = llvm::ArrayType::get(CGM.Int8PtrTy, UsedArray.size()); in emitUsed()
1320 llvm::ConstantExpr::getBitCast(GV, Int8PtrTy), in EmitAnnotateAttr()
1321 llvm::ConstantExpr::getBitCast(AnnoGV, Int8PtrTy), in EmitAnnotateAttr()
1322 llvm::ConstantExpr::getBitCast(UnitGV, Int8PtrTy), in EmitAnnotateAttr()
2935 Fields[2] = llvm::ConstantExpr::getBitCast(Fields[2], Int8PtrTy); in GetAddrOfConstantCFString()
3889 return llvm::Constant::getNullValue(Int8PtrTy); in GetAddrOfRTTIDescriptor()
DCGObjCRuntime.cpp95 llvm::Value *V = CGF.Builder.CreateBitCast(BaseValue, CGF.Int8PtrTy); in EmitValueForIvarAtOffset()
DCGClass.cpp246 ptr = CGF.Builder.CreateBitCast(ptr, CGF.Int8PtrTy); in ApplyNonVirtualAndVirtualOffset()
401 llvm::Value *Value = Builder.CreateBitCast(BaseAddr.getPointer(), Int8PtrTy); in GetAddressOfDerivedClass()
1760 CGF.Builder.CreateBitCast(CGF.LoadCXXThis(), CGF.Int8PtrTy), in PoisonMembers()
2536 GetVTablePtr(Address(Derived, getPointerAlign()), Int8PtrTy, ClassDecl); in EmitVTablePtrCheckForCast()
2559 llvm::Value *CastedVTable = Builder.CreateBitCast(VTable, Int8PtrTy); in EmitVTablePtrCheck()
DCGExpr.cpp47 llvm::PointerType *destType = Int8PtrTy; in EmitCastToVoidPtr()
285 CleanupArg = llvm::Constant::getNullValue(CGF.Int8PtrTy); in pushTemporaryCleanup()
550 llvm::Type *Tys[2] = { IntPtrTy, Int8PtrTy }; in EmitTypeCheck()
553 llvm::Value *CastAddr = Builder.CreateBitCast(Ptr, Int8PtrTy); in EmitTypeCheck()
2362 Filename = llvm::Constant::getNullValue(Int8PtrTy); in EmitCheckSourceLocation()
2502 Args.push_back(Builder.CreateBitCast(InfoPtr, Int8PtrTy)); in EmitCheck()
2503 ArgTypes.push_back(Int8PtrTy); in EmitCheck()
3857 llvm::Value *CastedCallee = Builder.CreateBitCast(Callee, Int8PtrTy); in EmitCall()
DCGCall.cpp1008 Address Casted = CGF.Builder.CreateBitCast(Tmp, CGF.Int8PtrTy); in CreateCoercedLoad()
1009 Address SrcCasted = CGF.Builder.CreateBitCast(Src, CGF.Int8PtrTy); in CreateCoercedLoad()
1090 Address Casted = CGF.Builder.CreateBitCast(Tmp, CGF.Int8PtrTy); in CreateCoercedStore()
1091 Address DstCasted = CGF.Builder.CreateBitCast(Dst, CGF.Int8PtrTy); in CreateCoercedStore()
1922 Address Dst = Builder.CreateBitCast(AlignedTemp, Int8PtrTy); in EmitFunctionProlog()
1923 Address Src = Builder.CreateBitCast(ParamAddr, Int8PtrTy); in EmitFunctionProlog()
DCGOpenMPRuntime.cpp308 CGM.Int8PtrTy /* psource */, nullptr); in CGOpenMPRuntime()
385 llvm::ConstantExpr::getBitCast(DefaultOpenMPPSource, CGM.Int8PtrTy); in getOrCreateDefaultLocation()
1066 CGM.Int8PtrTy), in getAddrOfThreadPrivate()
/external/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp192 Type *Int8PtrTy = PointerType::getUnqual(IRB.getInt8Ty()); in runOnModule() local
263 IRB.CreatePointerCast(RealEightBitCounterArray, Int8PtrTy)); in runOnModule()
277 {Int32PtrTy, IntptrTy, Int8PtrTy, Int8PtrTy}, in runOnModule()
281 ? IRB.CreatePointerCast(RealEightBitCounterArray, Int8PtrTy) in runOnModule()
282 : Constant::getNullValue(Int8PtrTy), in runOnModule()
283 IRB.CreatePointerCast(ModuleName, Int8PtrTy)}); in runOnModule()
DInstrProfiling.cpp332 auto *Int8PtrTy = Type::getInt8PtrTy(Ctx); in getOrCreateRegionCounters() local
342 ConstantExpr::getBitCast(Fn, Int8PtrTy) : in getOrCreateRegionCounters()
343 ConstantPointerNull::get(Int8PtrTy); in getOrCreateRegionCounters()
481 auto *Int8PtrTy = Type::getInt8PtrTy(M->getContext()); in emitInitialization() local
482 auto *SetNameTy = FunctionType::get(VoidTy, Int8PtrTy, false); in emitInitialization()
493 IRB.CreateCall(SetNameF, IRB.CreatePointerCast(ProfileName, Int8PtrTy)); in emitInitialization()
/external/llvm/unittests/IR/
DConstantsTest.cpp129 Type *Int8PtrTy = Type::getInt8PtrTy(C); in TEST() local
132 VectorType *Int8PtrVecTy = VectorType::get(Int8PtrTy, 4); in TEST()
139 Constant::getNullValue(Int8PtrTy), Int64Ty)); in TEST()
144 Constant::getNullValue(Int8PtrTy), Int32PtrTy)); in TEST()
/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp579 Type *Int8PtrTy = DestInt8PtrTy; in processLoopStridedStore() local
584 Int8PtrTy, Int8PtrTy, IntPtr, (void *)nullptr); in processLoopStridedStore()
593 Value *PatternPtr = ConstantExpr::getBitCast(GV, Int8PtrTy); in processLoopStridedStore()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp918 Type *Int8PtrTy = Type::getInt8PtrTy(Ty->getContext(), in hasLifetimeMarkers() local
920 if (Ty == Int8PtrTy) in hasLifetimeMarkers()
925 if (U->getType() != Int8PtrTy) continue; in hasLifetimeMarkers()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2863 PointerType *Int8PtrTy = Type::getInt8PtrTy(V.getContext(), 0); in setUsedInitializer() local
2868 = ConstantExpr::getPointerBitCastOrAddrSpaceCast(GV, Int8PtrTy); in setUsedInitializer()
2873 ArrayType *ATy = ArrayType::get(Int8PtrTy, UsedArray.size()); in setUsedInitializer()

12