Home
last modified time | relevance | path

Searched refs:getPointerTo (Results 1 – 25 of 27) sorted by relevance

12

/external/llvm/lib/VMCore/
DType.cpp221 return getFloatTy(C)->getPointerTo(AS); in getFloatPtrTy()
225 return getDoubleTy(C)->getPointerTo(AS); in getDoublePtrTy()
229 return getX86_FP80Ty(C)->getPointerTo(AS); in getX86_FP80PtrTy()
233 return getFP128Ty(C)->getPointerTo(AS); in getFP128PtrTy()
237 return getPPC_FP128Ty(C)->getPointerTo(AS); in getPPC_FP128PtrTy()
241 return getX86_MMXTy(C)->getPointerTo(AS); in getX86_MMXPtrTy()
245 return getIntNTy(C, N)->getPointerTo(AS); in getIntNPtrTy()
249 return getInt1Ty(C)->getPointerTo(AS); in getInt1PtrTy()
253 return getInt8Ty(C)->getPointerTo(AS); in getInt8PtrTy()
257 return getInt16Ty(C)->getPointerTo(AS); in getInt16PtrTy()
[all …]
DConstants.cpp1531 Constant *NullPtr = Constant::getNullValue(AligningTy->getPointerTo()); in getAlignOf()
1606 Type *ReqTy = Ty->getPointerTo(AS); in getGetElementPtr()
DVerifier.cpp427 FunctionType::get(Type::getVoidTy(*Context), false)->getPointerTo(); in visitGlobalVariable()
/external/clang/lib/CodeGen/
DCGCXX.cpp142 = getTypes().GetFunctionType(AliasDecl)->getPointerTo(); in TryEmitDefinitionAsAlias()
300 Ty = Ty->getPointerTo()->getPointerTo(); in BuildVirtualCall()
338 Ty = Ty->getPointerTo()->getPointerTo(); in BuildAppleKextVirtualCall()
373 Ty = Ty->getPointerTo()->getPointerTo(); in BuildAppleKextVirtualDestructorCall()
DItaniumCXXABI.cpp263 llvm::Value *VTable = Builder.CreateBitCast(This, VTableTy->getPointerTo()); in EmitLoadOfMemberFunctionPointer()
272 VTable = Builder.CreateBitCast(VTable, FTy->getPointerTo()->getPointerTo()); in EmitLoadOfMemberFunctionPointer()
280 Builder.CreateIntToPtr(FnAsInt, FTy->getPointerTo(), "memptr.nonvirtualfn"); in EmitLoadOfMemberFunctionPointer()
284 llvm::PHINode *Callee = Builder.CreatePHI(FTy->getPointerTo(), 2); in EmitLoadOfMemberFunctionPointer()
303 Base = Builder.CreateBitCast(Base, Builder.getInt8Ty()->getPointerTo(AS)); in EmitMemberDataPointerAddress()
311 = CGF.ConvertTypeForMem(MPT->getPointeeType())->getPointerTo(AS); in EmitMemberDataPointerAddress()
892 CGF.ConvertType(SizeTy)->getPointerTo(AS)); in InitializeArrayCookie()
910 llvm::Type *CharPtrTy = CGF.Builder.getInt8Ty()->getPointerTo(AS); in ReadArrayCookie()
940 CGF.Builder.CreateBitCast(NumElementsPtr, SizeLTy->getPointerTo(AS)); in ReadArrayCookie()
978 CookiePtr = CGF.Builder.CreateBitCast(CookiePtr, SizeTy->getPointerTo(AS)); in InitializeArrayCookie()
[all …]
DCGCXXABI.cpp55 return llvm::Constant::getNullValue(FTy->getPointerTo()); in EmitLoadOfMemberFunctionPointer()
63 llvm::Type *Ty = CGF.ConvertType(MPT->getPointeeType())->getPointerTo(); in EmitMemberDataPointerAddress()
DCGClass.cpp102 V = Builder.CreateBitCast(V, ConvertType(Base)->getPointerTo()); in GetAddressOfDirectBaseInCompleteClass()
159 ConvertType((PathEnd[-1])->getType())->getPointerTo(); in GetAddressOfBaseClass()
228 llvm::Type *DerivedPtrTy = ConvertType(DerivedTy)->getPointerTo(); in GetAddressOfDerivedClass()
1406 PtrDiffTy->getPointerTo()); in GetVirtualBaseClassOffset()
1469 VTableAddressPoint->getType()->getPointerTo(); in InitializeVTablePointer()
1553 llvm::Value *VTablePtrSrc = Builder.CreateBitCast(This, Ty->getPointerTo()); in GetVTablePtr()
DCGBlocks.cpp942 blockInfo.StructureType->getPointerTo(), in GenerateBlockFunction()
1091 llvm::Type *structPtrTy = blockInfo.StructureType->getPointerTo(); in GenerateCopyHelperFunction()
1204 llvm::Type *structPtrTy = blockInfo.StructureType->getPointerTo(); in GenerateDestroyHelperFunction()
1310 field = CGF.Builder.CreateBitCast(field, CGF.Int8PtrTy->getPointerTo(0)); in emitDispose()
1441 llvm::Type *byrefPtrType = byrefType.getPointerTo(0); in generateByrefCopyHelper()
1511 V = CGF.Builder.CreateBitCast(V, byrefType.getPointerTo(0)); in generateByrefDisposeHelper()
DCGExprCXX.cpp1109 = ConvertTypeForMem(allocType)->getPointerTo(AS); in EmitCXXNewExpr()
1482 StdTypeInfoPtrTy->getPointerTo()); in EmitTypeidFromVTable()
1491 ConvertType(E->getType())->getPointerTo(); in EmitCXXTypeidExpr()
1568 llvm::Value *VTable = CGF.GetVTablePtr(Value, PtrDiffLTy->getPointerTo()); in EmitDynamicCastCall()
DCGException.cpp349 llvm::Type *ty = CGF.ConvertTypeForMem(e->getType())->getPointerTo(); in EmitAnyExprToExn()
1040 llvm::Type *PtrTy = LLVMCatchTy->getPointerTo(0); // addrspace 0 ok in InitCatchParam()
1058 llvm::Type *PtrTy = LLVMCatchTy->getPointerTo(0); // addrspace 0 ok in InitCatchParam()
DCGRecordLayoutBuilder.cpp678 llvm::Type *VTableTy = FunctionType->getPointerTo(); in LayoutNonVirtualBases()
682 AppendField(CharUnits::Zero(), VTableTy->getPointerTo()); in LayoutNonVirtualBases()
DCGObjCMac.cpp276 llvm::Type *args[] = { ObjectPtrTy->getPointerTo() }; in getGcReadWeakFn()
285 llvm::Type *args[] = { ObjectPtrTy, ObjectPtrTy->getPointerTo() }; in getGcAssignWeakFn()
294 llvm::Type *args[] = { ObjectPtrTy, ObjectPtrTy->getPointerTo() }; in getGcAssignGlobalFn()
303 llvm::Type *args[] = { ObjectPtrTy, ObjectPtrTy->getPointerTo() }; in getGcAssignThreadLocalFn()
312 llvm::Type *args[] = { ObjectPtrTy, ObjectPtrTy->getPointerTo(), in getGcAssignIvarFn()
330 llvm::Type *args[] = { ObjectPtrTy, ObjectPtrTy->getPointerTo() }; in getGcAssignStrongCastFn()
458 llvm::Type *params[] = { ExceptionDataTy->getPointerTo() }; in getExceptionTryEnterFn()
466 llvm::Type *params[] = { ExceptionDataTy->getPointerTo() }; in getExceptionTryExitFn()
474 llvm::Type *params[] = { ExceptionDataTy->getPointerTo() }; in getExceptionExtractFn()
492 llvm::Type *params[] = { CGM.Int32Ty->getPointerTo() }; in getSetJmpFn()
[all …]
DCodeGenTypes.cpp516 ResultType = T->getPointerTo(); in ConvertType()
DCGDecl.cpp295 LTy->getPointerTo(CGM.getContext().getTargetAddressSpace(D.getType())); in EmitStaticVarDecl()
967 Loc = Builder.CreateBitCast(Loc, constant->getType()->getPointerTo()); in EmitAutoVarInit()
DCodeGenModule.cpp106 Int8PtrTy = Int8Ty->getPointerTo(0); in CodeGenModule()
107 Int8PtrPtrTy = Int8PtrTy->getPointerTo(0); in CodeGenModule()
873 return llvm::ConstantExpr::getBitCast(Entry, Ty->getPointerTo()); in GetOrCreateLLVMFunction()
DCGBuiltin.cpp100 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in EmitBinaryAtomic()
135 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in EmitBinaryAtomicPost()
869 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in EmitBuiltinExpr()
899 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in EmitBuiltinExpr()
DCGExpr.cpp1088 llvm::Type *PTy = AccessLTy->getPointerTo(addressSpace); in EmitStoreThroughBitfieldLValue()
1295 return CGF.Builder.CreateBitCast(V, IRType->getPointerTo(AS), Name); in EmitBitCastOfLValueToProperType()
1909 V = Builder.CreateBitCast(V, llvmType->getPointerTo(AS)); in EmitLValueForFieldInitialization()
DCGVTables.cpp2562 CGF.Builder.CreateBitCast(V, Int8PtrTy->getPointerTo()); in PerformTypeAdjustment()
2569 OffsetPtr = CGF.Builder.CreateBitCast(OffsetPtr, PtrDiffTy->getPointerTo()); in PerformTypeAdjustment()
DCGCall.cpp657 argTypes.push_back(LTy->getPointerTo()); in GetFunctionType()
DCGExprScalar.cpp2700 ClassPtrTy = ClassPtrTy->getPointerTo(); in EmitObjCIsaExpr()
/external/llvm/lib/Transforms/Instrumentation/
DProfilingUtils.cpp138 FunctionType::get(Type::getVoidTy(Mod->getContext()), false)->getPointerTo() in InsertProfilingShutdownCall()
DGCOVProfiling.cpp583 Type::getInt64PtrTy(*Ctx)->getPointerTo(), // uint64_t **state_table_row in getIncrementIndirectCounterFunc()
/external/llvm/include/llvm/
DType.h345 PointerType *getPointerTo(unsigned AddrSpace = 0);
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp1272 ourUnwindExceptionType->getPointerTo()), in createCatchWrappedInvokeFunction()
1307 ourExceptionType->getPointerTo()); in createCatchWrappedInvokeFunction()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp365 Type* PPInt8Ty = Type::getInt8PtrTy(Fn->getContext())->getPointerTo(); in runFunctionAsMain()

12