Home
last modified time | relevance | path

Searched refs:getPointerTo (Results 1 – 25 of 90) 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/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_nested.cc56 llvm_ir::ShapeToIrType(param_shape, module_)->getPointerTo()); in EmitBasePointersForNestedComputation()
66 llvm_ir::ShapeToIrType(root_shape, module_)->getPointerTo()); in EmitBasePointersForNestedComputation()
Dir_emission_utils.cc227 {builder->getInt8Ty()->getPointerTo(), in EmitPrintf()
228 arguments_type->getPointerTo()}, in EmitPrintf()
Dhlo_to_ir_bindings.cc144 llvm::Type* dest_type = pointee_type->getPointerTo(); in GetTypedIrValue()
152 ir_builder_->CreateBitCast(ir_value, pointee_type->getPointerTo()); in GetTypedIrValue()
/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()
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 …]
DCGCXXABI.cpp89 return llvm::Constant::getNullValue(FTy->getPointerTo()); in EmitLoadOfMemberFunctionPointer()
98 ->getPointerTo(Base.getAddressSpace()); in EmitMemberDataPointerAddress()
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()
/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/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dtuple_ops.cc105 ir_builder->CreateBitCast(src_buffer, element_type->getPointerTo()); in EmitGetTupleElement()
Dir_array.cc251 ->getPointerTo()), in EmitArrayElementAddress()
303 ir_builder->CreatePointerCast(base_ptr_, new_ir_type->getPointerTo()), in CastToShape()
/external/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h60 return CurTy.getPointer()->getPointerTo(AddrSpace);
/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/lib/Transforms/Instrumentation/
DProfilingUtils.cpp137 FunctionType::get(Type::getVoidTy(Mod->getContext()), false)->getPointerTo() in InsertProfilingShutdownCall()

1234