/external/llvm/lib/IR/ |
D | Type.cpp | 178 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/ |
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 …]
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | ir_emitter_nested.cc | 56 llvm_ir::ShapeToIrType(param_shape, module_)->getPointerTo()); in EmitBasePointersForNestedComputation() 66 llvm_ir::ShapeToIrType(root_shape, module_)->getPointerTo()); in EmitBasePointersForNestedComputation()
|
D | ir_emission_utils.cc | 227 {builder->getInt8Ty()->getPointerTo(), in EmitPrintf() 228 arguments_type->getPointerTo()}, in EmitPrintf()
|
D | hlo_to_ir_bindings.cc | 144 llvm::Type* dest_type = pointee_type->getPointerTo(); in GetTypedIrValue() 152 ir_builder_->CreateBitCast(ir_value, pointee_type->getPointerTo()); in GetTypedIrValue()
|
/external/clang/lib/CodeGen/ |
D | CGCXX.cpp | 147 llvm::PointerType *AliasType = AliasValueType->getPointerTo(); in TryEmitDefinitionAsAlias() 272 Ty = Ty->getPointerTo()->getPointerTo(); in BuildAppleKextVirtualCall()
|
D | CGCUDANV.cpp | 96 VoidPtrPtrTy = VoidPtrTy->getPointerTo(); in CGNVCUDARuntime() 194 VoidPtrTy, VoidPtrTy, VoidPtrTy, VoidPtrTy, IntTy->getPointerTo()}; in makeRegisterGlobalsFn() 210 llvm::ConstantPointerNull::get(IntTy->getPointerTo())}; in makeRegisterGlobalsFn()
|
D | MicrosoftCXXABI.cpp | 469 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 …]
|
D | Address.h | 94 return getBitCast(ty->getPointerTo(getAddressSpace())); in getElementBitCast()
|
D | ItaniumCXXABI.cpp | 588 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 …]
|
D | CGCXXABI.cpp | 89 return llvm::Constant::getNullValue(FTy->getPointerTo()); in EmitLoadOfMemberFunctionPointer() 98 ->getPointerTo(Base.getAddressSpace()); in EmitMemberDataPointerAddress()
|
D | CGOpenMPRuntime.cpp | 1082 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 …]
|
D | CGObjCRuntime.cpp | 364 CGM.getTypes().GetFunctionType(signature)->getPointerTo(); in getMessageSendInfo() 378 CGM.getTypes().GetFunctionType(argsInfo)->getPointerTo(); in getMessageSendInfo()
|
D | CGBlocks.cpp | 1129 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()
|
D | CGAtomic.cpp | 91 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/ |
D | X86WinEHState.cpp | 220 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/ |
D | NVPTXInferAddressSpaces.cpp | 262 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/ |
D | ThreadSanitizer.cpp | 182 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()
|
D | GCOVProfiling.cpp | 779 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/ |
D | PreISelIntrinsicLowering.cpp | 33 Type *Int32PtrTy = Int32Ty->getPointerTo(); in lowerLoadRelative()
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | tuple_ops.cc | 105 ir_builder->CreateBitCast(src_buffer, element_type->getPointerTo()); in EmitGetTupleElement()
|
D | ir_array.cc | 251 ->getPointerTo()), in EmitArrayElementAddress() 303 ir_builder->CreatePointerCast(base_ptr_, new_ir_type->getPointerTo()), in CastToShape()
|
/external/llvm/include/llvm/IR/ |
D | GetElementPtrTypeIterator.h | 60 return CurTy.getPointer()->getPointerTo(AddrSpace);
|
/external/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 497 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/ |
D | ProfilingUtils.cpp | 137 FunctionType::get(Type::getVoidTy(Mod->getContext()), false)->getPointerTo() in InsertProfilingShutdownCall()
|