Home
last modified time | relevance | path

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

123456

/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DType.cpp185 return getHalfTy(C)->getPointerTo(AS); in getHalfPtrTy()
189 return getFloatTy(C)->getPointerTo(AS); in getFloatPtrTy()
193 return getDoubleTy(C)->getPointerTo(AS); in getDoublePtrTy()
197 return getX86_FP80Ty(C)->getPointerTo(AS); in getX86_FP80PtrTy()
201 return getFP128Ty(C)->getPointerTo(AS); in getFP128PtrTy()
205 return getPPC_FP128Ty(C)->getPointerTo(AS); in getPPC_FP128PtrTy()
209 return getX86_MMXTy(C)->getPointerTo(AS); in getX86_MMXPtrTy()
213 return getIntNTy(C, N)->getPointerTo(AS); in getIntNPtrTy()
217 return getInt1Ty(C)->getPointerTo(AS); in getInt1PtrTy()
221 return getInt8Ty(C)->getPointerTo(AS); in getInt8PtrTy()
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroEarly.cpp42 ->getPointerTo()) {} in Lowerer()
96 PointerType *FramePtrTy = FrameTy->getPointerTo(); in lowerCoroDone()
115 auto *FramePtrTy = FrameTy->getPointerTo(); in lowerCoroNoop()
118 auto *FnPtrTy = FnTy->getPointerTo(); in lowerCoroNoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DExpandMemCmp.cpp205 Source1 = Builder.CreateBitCast(Source1, LoadSizeType->getPointerTo()); in emitLoadCompareByteBlock()
207 Source2 = Builder.CreateBitCast(Source2, LoadSizeType->getPointerTo()); in emitLoadCompareByteBlock()
278 Source1 = Builder.CreateBitCast(Source1, LoadSizeType->getPointerTo()); in getCompareLoadPairs()
280 Source2 = Builder.CreateBitCast(Source2, LoadSizeType->getPointerTo()); in getCompareLoadPairs()
397 Source1 = Builder.CreateBitCast(Source1, LoadSizeType->getPointerTo()); in emitLoadCompareBlock()
399 Source2 = Builder.CreateBitCast(Source2, LoadSizeType->getPointerTo()); in emitLoadCompareBlock()
528 Source1 = Builder.CreateBitCast(Source1, LoadSizeType->getPointerTo()); in getMemCmpOneBlock()
530 Source2 = Builder.CreateBitCast(Source2, LoadSizeType->getPointerTo()); in getMemCmpOneBlock()
DPreISelIntrinsicLowering.cpp33 Type *Int32PtrTy = Int32Ty->getPointerTo(); in lowerLoadRelative()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelArguments.cpp146 Builder.getInt32Ty()->getPointerTo(AS), in runOnFunction()
153 ArgPtr = Builder.CreateBitCast(ArgPtr, ArgTy->getPointerTo(AS), in runOnFunction()
160 ArgPtr = Builder.CreateBitCast(ArgPtr, V4Ty->getPointerTo(AS)); in runOnFunction()
DAMDGPULibFunc.cpp904 T = StructType::create(C,"ocl_image")->getPointerTo(); break; in getIntrinsicParamType()
906 T = StructType::create(C,"ocl_sampler")->getPointerTo(); break; in getIntrinsicParamType()
908 T = StructType::create(C,"ocl_event")->getPointerTo(); break; in getIntrinsicParamType()
916 T = useAddrSpace ? T->getPointerTo((P.PtrKind & AMDGPULibFunc::ADDR_SPACE) in getIntrinsicParamType()
918 : T->getPointerTo(); in getIntrinsicParamType()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_nested.cc57 llvm_ir::ShapeToIrType(param_shape, module_)->getPointerTo()); in EmitBasePointersForNestedComputation()
67 llvm_ir::ShapeToIrType(root_shape, module_)->getPointerTo()); in EmitBasePointersForNestedComputation()
Dir_emission_utils.cc202 {builder->getInt8Ty()->getPointerTo(), in EmitPrintf()
203 arguments_type->getPointerTo()}, in EmitPrintf()
Dhlo_to_ir_bindings.cc158 llvm::Type* dest_type = pointee_type->getPointerTo(); in GetTypedIrValue()
165 typed_ir_value = b_->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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86WinEHState.cpp226 EHLinkRegistrationTy->getPointerTo(0), // EHRegistrationNode *Next in getEHLinkRegistrationType()
416 Builder.CreateBitCast(PersonalityFn, TargetFuncTy->getPointerTo()); in generateLSDAInEAXThunk()
439 Constant::getNullValue(LinkTy->getPointerTo()->getPointerTo(257)); in linkExceptionRegistration()
458 Constant::getNullValue(LinkTy->getPointerTo()->getPointerTo(257)); in unlinkExceptionRegistration()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp195 Type *PtrTy = Ty->getPointerTo(); in initializeCallbacks()
607 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic()
622 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic()
639 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic()
653 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic()
DGCOVProfiling.cpp839 Int32Ty->getPointerTo(), // uint32_t *predecessor in getIncrementIndirectCounterFunc()
840 Int64Ty->getPointerTo()->getPointerTo() // uint64_t **counters in getIncrementIndirectCounterFunc()
937 {Builder.getInt32Ty(), Builder.getInt64Ty()->getPointerTo()}); in insertCounterWriteout()
940 EmitFunctionCallArgsTy->getPointerTo(), in insertCounterWriteout()
941 EmitArcsCallArgsTy->getPointerTo()}); in insertCounterWriteout()
1161 Builder.getInt64Ty()->getPointerTo())); in insertIndirectCounterIncrement()
/external/llvm/lib/CodeGen/
DPreISelIntrinsicLowering.cpp33 Type *Int32PtrTy = Int32Ty->getPointerTo(); in lowerLoadRelative()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_function.cc32 llvm::Type* i8_ptr_ptr_type = i8_ptr_type->getPointerTo(); in GetComputeFunctionParams()
202 llvm::Constant::getNullValue(b->getInt8PtrTy()->getPointerTo()); in GetArrayFunctionCallArguments()

123456