Home
last modified time | relevance | path

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

1234

/external/llvm/lib/IR/
DType.cpp178 return getHalfTy(C)->getPointerTo(AS); in getHalfPtrTy()
182 return getFloatTy(C)->getPointerTo(AS); in getFloatPtrTy()
186 return getDoubleTy(C)->getPointerTo(AS); in getDoublePtrTy()
190 return getX86_FP80Ty(C)->getPointerTo(AS); in getX86_FP80PtrTy()
194 return getFP128Ty(C)->getPointerTo(AS); in getFP128PtrTy()
198 return getPPC_FP128Ty(C)->getPointerTo(AS); in getPPC_FP128PtrTy()
202 return getX86_MMXTy(C)->getPointerTo(AS); in getX86_MMXPtrTy()
206 return getIntNTy(C, N)->getPointerTo(AS); in getIntNPtrTy()
210 return getInt1Ty(C)->getPointerTo(AS); in getInt1PtrTy()
214 return getInt8Ty(C)->getPointerTo(AS); in getInt8PtrTy()
[all …]
/external/swiftshader/third_party/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 …]
/external/clang/lib/CodeGen/
DCGCXX.cpp147 llvm::PointerType *AliasType = AliasValueType->getPointerTo(); in TryEmitDefinitionAsAlias()
272 Ty = Ty->getPointerTo()->getPointerTo(); in BuildAppleKextVirtualCall()
DCGCUDANV.cpp96 VoidPtrPtrTy = VoidPtrTy->getPointerTo(); in CGNVCUDARuntime()
194 VoidPtrTy, VoidPtrTy, VoidPtrTy, VoidPtrTy, IntTy->getPointerTo()}; in makeRegisterGlobalsFn()
210 llvm::ConstantPointerNull::get(IntTy->getPointerTo())}; in makeRegisterGlobalsFn()
DMicrosoftCXXABI.cpp469 getImageRelativeType(getClassHierarchyDescriptorType()->getPointerTo()), in getBaseClassDescriptorType()
487 getBaseClassDescriptorType()->getPointerTo()->getPointerTo()), in getClassHierarchyDescriptorType()
503 getImageRelativeType(getClassHierarchyDescriptorType()->getPointerTo()), in getCompleteObjectLocatorType()
697 getImageRelativeType(getCatchableTypeType()->getPointerTo()); in getCatchableTypeArrayType()
724 llvm::Type *Args[] = {CGM.Int8PtrTy, getThrowInfoType()->getPointerTo()}; in getThrowFn()
869 llvm::ConstantPointerNull::get(getThrowInfoType()->getPointerTo())}; in emitRethrow()
1165 CGF.Int8Ty->getPointerTo(AS)); in initializeHiddenVirtualInheritanceMembers()
1170 VtorDispPtr, CGF.Int32Ty->getPointerTo(AS), "vtordisp.ptr"); in initializeHiddenVirtualInheritanceMembers()
1409 llvm::Type *charPtrTy = CGF.Int8Ty->getPointerTo(AS), in adjustThisParameterInVirtualFunctionPrologue()
1806 Ty = Ty->getPointerTo()->getPointerTo(); in getVirtualFunctionPointer()
[all …]
DAddress.h94 return getBitCast(ty->getPointerTo(getAddressSpace())); in getElementBitCast()
DCGCXXABI.cpp89 return llvm::Constant::getNullValue(FTy->getPointerTo()); in EmitLoadOfMemberFunctionPointer()
98 ->getPointerTo(Base.getAddressSpace()); in EmitMemberDataPointerAddress()
DItaniumCXXABI.cpp588 VTable = Builder.CreateBitCast(VTable, FTy->getPointerTo()->getPointerTo()); in EmitLoadOfMemberFunctionPointer()
598 Builder.CreateIntToPtr(FnAsInt, FTy->getPointerTo(), "memptr.nonvirtualfn"); in EmitLoadOfMemberFunctionPointer()
602 llvm::PHINode *Callee = Builder.CreatePHI(FTy->getPointerTo(), 2); in EmitLoadOfMemberFunctionPointer()
627 ->getPointerTo(Base.getAddressSpace()); in EmitMemberDataPointerAddress()
1010 CGF.GetVTablePtr(Ptr, CGF.IntPtrTy->getPointerTo(), ClassDecl); in emitVirtualObjectDelete()
1212 CGF.GetVTablePtr(ThisPtr, StdTypeInfoPtrTy->getPointerTo(), ClassDecl); in EmitTypeid()
1278 llvm::Value *VTable = CGF.GetVTablePtr(ThisAddr, PtrDiffLTy->getPointerTo(), in EmitDynamicCastToVoid()
1317 CGM.PtrDiffTy->getPointerTo()); in GetVirtualBaseClassOffset()
1594 Ty = Ty->getPointerTo()->getPointerTo(); in getVirtualFunctionPointer()
1677 OffsetPtr = CGF.Builder.CreateBitCast(OffsetPtr, PtrDiffTy->getPointerTo()); in performTypeAdjustment()
[all …]
DCGOpenMPRuntime.cpp1082 CGM.VoidPtrTy->getPointerTo()->getPointerTo()}; in createRuntimeFunction()
1116 /*isVarArg*/ false)->getPointerTo(); in createRuntimeFunction()
1121 /*isVarArg*/ false)->getPointerTo(); in createRuntimeFunction()
1125 ->getPointerTo(); in createRuntimeFunction()
1278 CGM.VoidPtrTy, CpyFnTy->getPointerTo(), in createRuntimeFunction()
1294 CGM.VoidPtrTy, ReduceFnTy->getPointerTo(), in createRuntimeFunction()
1311 CGM.VoidPtrTy, ReduceFnTy->getPointerTo(), in createRuntimeFunction()
1483 CGM.Int64Ty->getPointerTo(), in createRuntimeFunction()
1484 CGM.Int64Ty->getPointerTo(), in createRuntimeFunction()
1519 CGM.Int64Ty->getPointerTo()}; in createRuntimeFunction()
[all …]
DCGObjCRuntime.cpp364 CGM.getTypes().GetFunctionType(signature)->getPointerTo(); in getMessageSendInfo()
378 CGM.getTypes().GetFunctionType(argsInfo)->getPointerTo(); in getMessageSendInfo()
DCGBlocks.cpp1129 BlockInfo->StructureType->getPointerTo(), in setBlockContextParameter()
1362 llvm::Type *structPtrTy = blockInfo.StructureType->getPointerTo(); in GenerateCopyHelperFunction()
1537 llvm::Type *structPtrTy = blockInfo.StructureType->getPointerTo(); in GenerateDestroyHelperFunction()
1656 field = CGF.Builder.CreateBitCast(field, CGF.Int8PtrTy->getPointerTo(0)); in emitDispose()
1822 llvm::Type *byrefPtrType = byrefInfo.Type->getPointerTo(0); in generateByrefCopyHelper()
1898 auto byrefPtrType = byrefInfo.Type->getPointerTo(0); in generateByrefDisposeHelper()
2353 Int8PtrTy->getPointerTo(), in getNSConcreteGlobalBlock()
2364 Int8PtrTy->getPointerTo(), in getNSConcreteStackBlock()
DCGAtomic.cpp91 CGF.Builder.getIntNTy(AtomicSizeInBits)->getPointerTo(), in AtomicInfo()
647 SizeInBits)->getPointerTo(); in AddDirectArgument()
1009 Builder.CreateBitCast(Dest, ResVal->getType()->getPointerTo())); in EmitAtomicExpr()
1016 Builder.CreateBitCast(Dest, ConvertTypeForMem(RValTy)->getPointerTo()), in EmitAtomicExpr()
1065 Builder.CreateBitCast(Dest, ConvertTypeForMem(RValTy)->getPointerTo()), in EmitAtomicExpr()
1137 Builder.CreateBitCast(Dest, ConvertTypeForMem(RValTy)->getPointerTo()), in EmitAtomicExpr()
1146 return CGF.Builder.CreateBitCast(addr, ty->getPointerTo(addrspace)); in emitCastToAtomicIntPointer()
DCGException.cpp365 llvm::Type *ty = ConvertTypeForMem(e->getType())->getPointerTo(); in EmitAnyExprToExn()
1735 SEHInfo = Builder.CreateBitCast(SEHInfo, Int8PtrTy->getPointerTo()); in EmitSEHExceptionCodeSave()
1748 llvm::Type *RecordTy = CGM.Int32Ty->getPointerTo(); in EmitSEHExceptionCodeSave()
1750 llvm::Value *Ptrs = Builder.CreateBitCast(SEHInfo, PtrsTy->getPointerTo()); in EmitSEHExceptionCodeSave()
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp220 EHLinkRegistrationTy->getPointerTo(0), // EHRegistrationNode *Next in getEHLinkRegistrationType()
408 Builder.CreateBitCast(PersonalityFn, TargetFuncTy->getPointerTo()); in generateLSDAInEAXThunk()
431 Constant::getNullValue(LinkTy->getPointerTo()->getPointerTo(257)); in linkExceptionRegistration()
450 Constant::getNullValue(LinkTy->getPointerTo()->getPointerTo(257)); in unlinkExceptionRegistration()
/external/llvm/lib/Target/NVPTX/
DNVPTXInferAddressSpaces.cpp262 Operand->getType()->getPointerElementType()->getPointerTo(NewAddrSpace)); in operandWithNewAddressSpaceOrCreateUndef()
279 I->getType()->getPointerElementType()->getPointerTo(NewAddrSpace); in cloneInstructionWithNewAddressSpace()
336 CE->getType()->getPointerElementType()->getPointerTo(NewAddrSpace); in cloneConstantExprWithNewAddressSpace()
/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp182 Type *PtrTy = Ty->getPointerTo(); in initializeCallbacks()
576 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic()
597 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic()
614 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic()
628 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic()
DGCOVProfiling.cpp779 Int32Ty->getPointerTo(), // uint32_t *predecessor in getIncrementIndirectCounterFunc()
780 Int64Ty->getPointerTo()->getPointerTo() // uint64_t **counters in getIncrementIndirectCounterFunc()
930 Builder.getInt64Ty()->getPointerTo())); in insertIndirectCounterIncrement()
/external/llvm/lib/CodeGen/
DPreISelIntrinsicLowering.cpp33 Type *Int32PtrTy = Int32Ty->getPointerTo(); in lowerLoadRelative()
/external/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h60 return CurTy.getPointer()->getPointerTo(AddrSpace);
DType.h405 PointerType *getPointerTo(unsigned AddrSpace = 0) const;
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
DProfilingUtils.cpp137 FunctionType::get(Type::getVoidTy(Mod->getContext()), false)->getPointerTo() in InsertProfilingShutdownCall()
/external/llvm/unittests/IR/
DInstructionsTest.cpp497 Value *Callee = Constant::getNullValue(FnTy->getPointerTo()); in TEST()
529 Value *Callee = Constant::getNullValue(FnTy->getPointerTo()); in TEST()
556 Value *Callee = Constant::getNullValue(FnTy->getPointerTo()); in TEST()
/external/swiftshader/third_party/LLVM/include/llvm/
DType.h345 PointerType *getPointerTo(unsigned AddrSpace = 0);
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp448 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); in tryPromoteAllocaToVector()
458 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); in tryPromoteAllocaToVector()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2407 Type *LTy = TargetTy->getPointerTo(); in visitLoadInst()
2435 new LoadInst(UndefValue::get(LI.getType()->getPointerTo())); in visitLoadInst()
2548 Value *NewPtr = getNewAllocaSlicePtr(IRB, V->getType()->getPointerTo()); in visitStoreInst()
2821 OtherPtrTy = OtherPtrTy->getPointerTo(OtherAS); in visitMemTransferInst()
2823 OtherPtrTy = SubIntTy->getPointerTo(OtherAS); in visitMemTransferInst()
2825 OtherPtrTy = NewAllocaTy->getPointerTo(OtherAS); in visitMemTransferInst()
3566 auto *PartPtrTy = PartTy->getPointerTo(LI->getPointerAddressSpace()); in presplitLoadsAndStores()
3618 PLoad->getType()->getPointerTo(SI->getPointerAddressSpace()); in presplitLoadsAndStores()
3692 auto *PartPtrTy = PartTy->getPointerTo(SI->getPointerAddressSpace()); in presplitLoadsAndStores()

1234