/external/llvm/lib/VMCore/ |
D | Type.cpp | 221 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 …]
|
D | Constants.cpp | 1531 Constant *NullPtr = Constant::getNullValue(AligningTy->getPointerTo()); in getAlignOf() 1606 Type *ReqTy = Ty->getPointerTo(AS); in getGetElementPtr()
|
D | Verifier.cpp | 427 FunctionType::get(Type::getVoidTy(*Context), false)->getPointerTo(); in visitGlobalVariable()
|
/external/clang/lib/CodeGen/ |
D | CGCXX.cpp | 142 = 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()
|
D | ItaniumCXXABI.cpp | 263 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 …]
|
D | CGCXXABI.cpp | 55 return llvm::Constant::getNullValue(FTy->getPointerTo()); in EmitLoadOfMemberFunctionPointer() 63 llvm::Type *Ty = CGF.ConvertType(MPT->getPointeeType())->getPointerTo(); in EmitMemberDataPointerAddress()
|
D | CGClass.cpp | 102 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()
|
D | CGBlocks.cpp | 942 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()
|
D | CGExprCXX.cpp | 1109 = 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()
|
D | CGException.cpp | 349 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()
|
D | CGRecordLayoutBuilder.cpp | 678 llvm::Type *VTableTy = FunctionType->getPointerTo(); in LayoutNonVirtualBases() 682 AppendField(CharUnits::Zero(), VTableTy->getPointerTo()); in LayoutNonVirtualBases()
|
D | CGObjCMac.cpp | 276 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 …]
|
D | CodeGenTypes.cpp | 516 ResultType = T->getPointerTo(); in ConvertType()
|
D | CGDecl.cpp | 295 LTy->getPointerTo(CGM.getContext().getTargetAddressSpace(D.getType())); in EmitStaticVarDecl() 967 Loc = Builder.CreateBitCast(Loc, constant->getType()->getPointerTo()); in EmitAutoVarInit()
|
D | CodeGenModule.cpp | 106 Int8PtrTy = Int8Ty->getPointerTo(0); in CodeGenModule() 107 Int8PtrPtrTy = Int8PtrTy->getPointerTo(0); in CodeGenModule() 873 return llvm::ConstantExpr::getBitCast(Entry, Ty->getPointerTo()); in GetOrCreateLLVMFunction()
|
D | CGBuiltin.cpp | 100 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()
|
D | CGExpr.cpp | 1088 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()
|
D | CGVTables.cpp | 2562 CGF.Builder.CreateBitCast(V, Int8PtrTy->getPointerTo()); in PerformTypeAdjustment() 2569 OffsetPtr = CGF.Builder.CreateBitCast(OffsetPtr, PtrDiffTy->getPointerTo()); in PerformTypeAdjustment()
|
D | CGCall.cpp | 657 argTypes.push_back(LTy->getPointerTo()); in GetFunctionType()
|
D | CGExprScalar.cpp | 2700 ClassPtrTy = ClassPtrTy->getPointerTo(); in EmitObjCIsaExpr()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | ProfilingUtils.cpp | 138 FunctionType::get(Type::getVoidTy(Mod->getContext()), false)->getPointerTo() in InsertProfilingShutdownCall()
|
D | GCOVProfiling.cpp | 583 Type::getInt64PtrTy(*Ctx)->getPointerTo(), // uint64_t **state_table_row in getIncrementIndirectCounterFunc()
|
/external/llvm/include/llvm/ |
D | Type.h | 345 PointerType *getPointerTo(unsigned AddrSpace = 0);
|
/external/llvm/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 1272 ourUnwindExceptionType->getPointerTo()), in createCatchWrappedInvokeFunction() 1307 ourExceptionType->getPointerTo()); in createCatchWrappedInvokeFunction()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 365 Type* PPInt8Ty = Type::getInt8PtrTy(Fn->getContext())->getPointerTo(); in runFunctionAsMain()
|