/external/clang/lib/CodeGen/ |
D | CGVTables.cpp | 86 llvm::Type *Int8PtrTy = CGF.Int8PtrTy; in PerformTypeAdjustment() local 87 llvm::Value *V = CGF.Builder.CreateBitCast(Ptr, Int8PtrTy); in PerformTypeAdjustment() 100 CGF.Builder.CreateBitCast(V, Int8PtrTy->getPointerTo()); in PerformTypeAdjustment() 517 llvm::Type *Int8PtrTy = CGM.Int8PtrTy; in CreateVTableInitializer() local 538 Init = llvm::ConstantExpr::getIntToPtr(Init, Int8PtrTy); in CreateVTableInitializer() 543 Init = llvm::ConstantExpr::getIntToPtr(Init, Int8PtrTy); in CreateVTableInitializer() 548 Init = llvm::ConstantExpr::getIntToPtr(Init, Int8PtrTy); in CreateVTableInitializer() 551 Init = llvm::ConstantExpr::getBitCast(RTTI, Int8PtrTy); in CreateVTableInitializer() 581 CGM.Int8PtrTy); in CreateVTableInitializer() 600 Init = llvm::ConstantExpr::getBitCast(Init, Int8PtrTy); in CreateVTableInitializer() [all …]
|
D | CGException.cpp | 29 llvm::FunctionType::get(CGF.Int8PtrTy, CGF.SizeTy, /*IsVarArgs=*/false); in getAllocateExceptionFn() 38 llvm::FunctionType::get(CGF.VoidTy, CGF.Int8PtrTy, /*IsVarArgs=*/false); in getFreeExceptionFn() 47 llvm::Type *Args[3] = { CGF.Int8PtrTy, CGF.Int8PtrTy, CGF.Int8PtrTy }; in getThrowFn() 67 llvm::FunctionType::get(CGF.Int8PtrTy, CGF.Int8PtrTy, /*IsVarArgs=*/false); in getGetExceptionPtrFn() 76 llvm::FunctionType::get(CGF.Int8PtrTy, CGF.Int8PtrTy, /*IsVarArgs=*/false); in getBeginCatchFn() 94 llvm::FunctionType::get(CGF.VoidTy, CGF.Int8PtrTy, /*IsVarArgs=*/false); in getUnexpectedFn() 101 llvm::FunctionType::get(VoidTy, Int8PtrTy, /*IsVarArgs=*/false); in getUnwindResumeFn() 110 llvm::FunctionType::get(VoidTy, Int8PtrTy, /*IsVarArgs=*/false); in getUnwindResumeOrRethrowFn() 139 llvm::FunctionType::get(CGF.VoidTy, CGF.Int8PtrTy, /*IsVarArgs=*/false); in getCatchallRethrowFn() 253 return llvm::ConstantExpr::getBitCast(Fn, CGM.Int8PtrTy); in getOpaquePersonalityFn() [all …]
|
D | CGVTT.cpp | 46 llvm::Type *Int8PtrTy = CGM.Int8PtrTy, *Int64Ty = CGM.Int64Ty; in EmitVTTDefinition() local 48 llvm::ArrayType::get(Int8PtrTy, Builder.getVTTComponents().size()); in EmitVTTDefinition() 83 Init = llvm::ConstantExpr::getBitCast(Init, Int8PtrTy); in EmitVTTDefinition() 114 llvm::ArrayType::get(CGM.Int8PtrTy, Builder.getVTTComponents().size()); in GetAddrOfVTT()
|
D | CGObjCMac.cpp | 142 llvm::Type *params[] = { Int8PtrTy, SuperPtrTy, SelectorPtrTy }; in getMessageSendSuperStretFn() 153 llvm::Type *params[] = { Int8PtrTy, SuperPtrTy, SelectorPtrTy }; in getMessageSendSuperStretFn2() 174 llvm::Type *Int8PtrTy, *Int8PtrPtrTy; member in __anonbfb9a2bf0111::ObjCCommonTypesHelper 404 llvm::Type *args[] = { Int8PtrTy, Int8PtrTy, LongTy }; in GcMemmoveCollectableFn() 405 llvm::FunctionType *FTy = llvm::FunctionType::get(Int8PtrTy, args, false); in GcMemmoveCollectableFn() 719 llvm::Type *params[] = { Int8PtrTy }; in getObjCBeginCatchFn() 720 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(Int8PtrTy, in getObjCBeginCatchFn() 1790 llvm::Constant *nullPtr = llvm::Constant::getNullValue(CGM.Int8PtrTy); in BuildGCBlockLayout() 2209 llvm::ArrayType *AT = llvm::ArrayType::get(ObjCTypes.Int8PtrTy, in EmitProtocolMethodTypes() 2511 Values[10] = llvm::Constant::getNullValue(ObjCTypes.Int8PtrTy); in EmitMetaClass() [all …]
|
D | CGRTTI.cpp | 148 GV = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8PtrTy, in GetAddrOfExternalRTTIDescriptor() 153 return llvm::ConstantExpr::getBitCast(GV, CGM.Int8PtrTy); in GetAddrOfExternalRTTIDescriptor() 482 CGM.getModule().getOrInsertGlobal(VTableName, CGM.Int8PtrTy); in BuildVTablePointer() 490 VTable = llvm::ConstantExpr::getBitCast(VTable, CGM.Int8PtrTy); in BuildVTablePointer() 564 return llvm::ConstantExpr::getBitCast(OldGV, CGM.Int8PtrTy); in BuildTypeInfo() 585 Fields.push_back(llvm::ConstantExpr::getBitCast(TypeName, CGM.Int8PtrTy)); in BuildTypeInfo() 707 return llvm::ConstantExpr::getBitCast(GV, CGM.Int8PtrTy); in BuildTypeInfo() 981 return llvm::Constant::getNullValue(Int8PtrTy); in GetAddrOfRTTIDescriptor()
|
D | CGBlocks.cpp | 1444 field = CGF.Builder.CreateBitCast(field, CGF.Int8PtrTy->getPointerTo(0)); in emitDispose() 1637 return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy); in generateByrefCopyHelper() 1698 return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy); in generateByrefDisposeHelper() 1851 types.push_back(Int8PtrTy); in BuildByRefType() 1866 types.push_back(Int8PtrTy); in BuildByRefType() 1869 types.push_back(Int8PtrTy); in BuildByRefType() 1882 CGM.getTargetData().getTypeAllocSize(Int8PtrTy); in BuildByRefType() 1938 V = Builder.CreateIntToPtr(Builder.getInt32(isa), Int8PtrTy, "isa"); in emitByrefStructureInit() 1969 V = Builder.CreateBitCast(V, Int8PtrTy); in BuildBlockRelease() 2013 llvm::Type *args[] = { Int8PtrTy, Int32Ty }; in getBlockObjectDispose() [all …]
|
D | CodeGenFunction.cpp | 231 llvm::PointerType *PointerTy = Int8PtrTy; in EmitFunctionInstrumentation() 906 llvm::Value *DestVal = TmpBuilder.CreatePHI(Int8PtrTy, 0, in GetIndirectGotoBlock() 1196 Builder.CreateBitCast(CGM.EmitAnnotationString(AnnotationStr), Int8PtrTy), in EmitAnnotationCall() 1197 Builder.CreateBitCast(CGM.EmitAnnotationUnit(Location), Int8PtrTy), in EmitAnnotationCall() 1211 Builder.CreateBitCast(V, CGM.Int8PtrTy, V->getName()), in EmitVarAnnotations() 1220 CGM.Int8PtrTy); in EmitFieldAnnotations() 1228 if (VTy != CGM.Int8PtrTy) in EmitFieldAnnotations() 1229 V = Builder.Insert(new llvm::BitCastInst(V, CGM.Int8PtrTy)); in EmitFieldAnnotations()
|
D | CGObjC.cpp | 768 ivarAddr = CGF.Builder.CreateBitCast(ivarAddr, CGF.Int8PtrTy); in emitCPPObjectAtomicGetterCall() 945 ivarAddr = CGF.Builder.CreateBitCast(ivarAddr, CGF.Int8PtrTy); in emitStructSetterCall() 953 argAddr = CGF.Builder.CreateBitCast(argAddr, CGF.Int8PtrTy); in emitStructSetterCall() 991 ivarAddr = CGF.Builder.CreateBitCast(ivarAddr, CGF.Int8PtrTy); in emitCPPObjectAtomicSetterCall() 999 argAddr = CGF.Builder.CreateBitCast(argAddr, CGF.Int8PtrTy); in emitCPPObjectAtomicSetterCall() 1729 std::vector<llvm::Type*> args(1, CGF.Int8PtrTy); in emitARCValueOperation() 1731 llvm::FunctionType::get(CGF.Int8PtrTy, args, false); in emitARCValueOperation() 1737 value = CGF.Builder.CreateBitCast(value, CGF.Int8PtrTy); in emitARCValueOperation() 1756 llvm::FunctionType::get(CGF.Int8PtrTy, args, false); in emitARCLoadOperation() 1789 llvm::Type *argTypes[] = { CGF.Int8PtrPtrTy, CGF.Int8PtrTy }; in emitARCStoreOperation() [all …]
|
D | CGDeclCXX.cpp | 98 argument = llvm::Constant::getNullValue(CGF.Int8PtrTy); in EmitDeclDestroy() 120 llvm::ConstantExpr::getBitCast(Addr, CGF.Int8PtrTy)}; in EmitDeclInvariant()
|
D | ItaniumCXXABI.cpp | 1052 Builder.CreateLoad(Builder.CreateBitCast(guard, CGM.Int8PtrTy)); in EmitGuardedInit() 1116 llvm::FunctionType::get(CGF.VoidTy, CGF.Int8PtrTy, false)->getPointerTo(); in emitGlobalDtorWithCXAAtExit() 1119 llvm::Type *paramTys[] = { dtorTy, CGF.Int8PtrTy, CGF.Int8PtrTy }; in emitGlobalDtorWithCXAAtExit() 1135 llvm::ConstantExpr::getBitCast(addr, CGF.Int8PtrTy), in emitGlobalDtorWithCXAAtExit()
|
D | CGExprCXX.cpp | 1673 llvm::Type *Int8PtrTy = CGF.Int8PtrTy; in getDynamicCastFn() local 1677 llvm::Type *Args[4] = { Int8PtrTy, Int8PtrTy, Int8PtrTy, PtrDiffTy }; in getDynamicCastFn() 1680 llvm::FunctionType::get(Int8PtrTy, Args, false); in getDynamicCastFn()
|
D | CodeGenModule.cpp | 95 Int8PtrTy = Int8Ty->getPointerTo(0); in CodeGenModule() 96 Int8PtrPtrTy = Int8PtrTy->getPointerTo(0); in CodeGenModule() 688 Int8PtrTy); in EmitLLVMUsed() 693 llvm::ArrayType *ATy = llvm::ArrayType::get(Int8PtrTy, UsedArray.size()); in EmitLLVMUsed() 799 llvm::ConstantExpr::getBitCast(GV, Int8PtrTy), in EmitAnnotateAttr() 800 llvm::ConstantExpr::getBitCast(AnnoGV, Int8PtrTy), in EmitAnnotateAttr() 801 llvm::ConstantExpr::getBitCast(UnitGV, Int8PtrTy), in EmitAnnotateAttr() 2105 Fields[2] = llvm::ConstantExpr::getBitCast(Fields[2], Int8PtrTy); in GetAddrOfConstantCFString()
|
D | CGObjCRuntime.cpp | 88 llvm::Type *I8Ptr = CGF.Int8PtrTy; in EmitValueForIvarAtOffset()
|
D | CGClass.cpp | 99 V = Builder.CreateBitCast(V, Int8PtrTy); in GetAddressOfDirectBaseInCompleteClass() 127 ptr = CGF.Builder.CreateBitCast(ptr, CGF.Int8PtrTy); in ApplyNonVirtualAndVirtualOffset() 259 Value = Builder.CreateBitCast(Value, Int8PtrTy); in GetAddressOfDerivedClass() 1460 llvm::Value *VTablePtr = GetVTablePtr(This, Int8PtrTy); in GetVirtualBaseClassOffset()
|
D | CGBuiltin.cpp | 197 llvm::Type *DestType = Int8PtrTy; in EmitBuiltinExpr() 210 llvm::Type *Type = Int8PtrTy; in EmitBuiltinExpr() 796 Buf = Builder.CreateBitCast(Buf, Int8PtrTy); in EmitBuiltinExpr() 801 Buf = Builder.CreateBitCast(Buf, Int8PtrTy); in EmitBuiltinExpr() 2430 llvm::Type *PtrTy = Int8PtrTy; in EmitX86BuiltinExpr() 2438 llvm::Type *PtrTy = Int8PtrTy; in EmitX86BuiltinExpr() 2644 Ops[1] = Builder.CreateBitCast(Ops[1], Int8PtrTy); in EmitPPCBuiltinExpr() 2684 Ops[2] = Builder.CreateBitCast(Ops[2], Int8PtrTy); in EmitPPCBuiltinExpr()
|
D | CGDecl.cpp | 882 llvm::Value *Stack = CreateTempAlloca(Int8PtrTy, "saved_stack"); in EmitAutoVarAlloca() 1056 llvm::Type *BP = Int8PtrTy; in EmitAutoVarInit()
|
D | CodeGenModule.h | 124 llvm::PointerType *Int8PtrTy; member
|
D | CGExprAgg.cpp | 1237 Loc = CGF.Builder.CreateBitCast(Loc, CGF.Int8PtrTy); in CheckAggExprForMemSetUse()
|
D | CGStmt.cpp | 362 Int8PtrTy, "addr"); in EmitIndirectGotoStmt()
|
D | CGExprConstant.cpp | 1087 llvm::Constant *Casted = llvm::ConstantExpr::getBitCast(C, Int8PtrTy); in EmitConstantValue()
|
D | TargetInfo.cpp | 3036 llvm::Type *BP = CGF.Int8PtrTy; in EmitVAArg() 3580 llvm::Type *BP = CGF.Int8PtrTy; in EmitVAArg()
|
D | CGExpr.cpp | 41 llvm::PointerType *destType = Int8PtrTy; in EmitCastToVoidPtr() 583 Address = Builder.CreateBitCast(Address, Int8PtrTy); in EmitTypeCheck()
|
/external/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 424 Type *Int8PtrTy = Type::getInt8PtrTy(AI->getType()->getContext()); in hasLifetimeMarkers() local 425 if (AI->getType() == Int8PtrTy) in hasLifetimeMarkers() 431 if (I->getType() != Int8PtrTy) continue; in hasLifetimeMarkers()
|