Home
last modified time | relevance | path

Searched refs:getPointerElementType (Results 1 – 25 of 72) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPURewriteOutArguments.cpp152 Type *DestEltTy = BCI->getType()->getPointerElementType(); in checkArgumentUses()
158 Type *SrcEltTy = Arg.getType()->getPointerElementType(); in checkArgumentUses()
197 DL->getTypeStoreSize(ArgTy->getPointerElementType()) > MaxOutArgSizeBytes) { in isOutArgumentCandidate()
290 Type *ArgTy = OutArg->getType()->getPointerElementType(); in runOnFunction()
400 Type *EltTy = Arg->getType()->getPointerElementType(); in runOnFunction()
DAMDGPUPromoteAlloca.cpp810 Type *EltTy = Src0->getType()->getPointerElementType(); in handleAlloca()
827 Type *EltTy = V->getType()->getPointerElementType(); in handleAlloca()
894 Type *SrcTy = Src->getType()->getPointerElementType(); in handleAlloca()
DAMDGPUAnnotateUniformValues.cpp156 Ptr->getType()->getPointerElementType(), Ptr, in visitLoadInst()
/external/clang/lib/CodeGen/
DCGBuilder.h102 assert(Addr->getType()->getPointerElementType() == Ty);
149 assert(Addr->getType()->getPointerElementType() == getInt1Ty());
155 assert(Addr->getType()->getPointerElementType() == getInt1Ty()); in CreateFlagStore()
260 assert(Ptr->getType()->getPointerElementType() == TypeCache.Int8Ty);
265 assert(Ptr->getType()->getPointerElementType() == TypeCache.Int8Ty);
/external/llvm/lib/Analysis/
DLoads.cpp33 Type *Ty = Base->getType()->getPointerElementType(); in isAligned()
122 Type *Ty = VTy->getPointerElementType(); in isDereferenceableAndAlignedPointer()
191 Align = DL.getABITypeAlignment(V->getType()->getPointerElementType()); in isSafeToLoadUnconditionally()
276 Type *AccessedTy = AccessedPtr->getType()->getPointerElementType(); in isSafeToLoadUnconditionally()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLoads.cpp33 Type *Ty = Base->getType()->getPointerElementType(); in isAligned()
138 Type *Ty = VTy->getPointerElementType(); in isDereferenceableAndAlignedPointer()
207 Align = DL.getABITypeAlignment(V->getType()->getPointerElementType()); in isSafeToLoadUnconditionally()
292 Type *AccessedTy = AccessedPtr->getType()->getPointerElementType(); in isSafeToLoadUnconditionally()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyAddMissingPrototypes.cpp95 cast<FunctionType>(BC->getDestTy()->getPointerElementType()); in runOnModule()
116 cast<FunctionType>(BC->getDestTy()->getPointerElementType()); in runOnModule()
/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()
369 NewOperands[0]->getType()->getPointerElementType()); in cloneConstantExprWithNewAddressSpace()
DNVPTXLowerKernelArgs.cpp182 Ptr, PointerType::get(Ptr->getType()->getPointerElementType(), in markPointerAsGlobal()
DNVPTXFavorNonGenericAddrSpaces.cpp203 PointerType::get(BC->getType()->getPointerElementType(), in hoistAddrSpaceCastFromBitCast()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp422 Operand->getType()->getPointerElementType()->getPointerTo(NewAddrSpace); in operandWithNewAddressSpaceOrCreateUndef()
448 I->getType()->getPointerElementType()->getPointerTo(NewAddrSpace); in cloneInstructionWithNewAddressSpace()
509 CE->getType()->getPointerElementType()->getPointerTo(NewAddrSpace); in cloneConstantExprWithNewAddressSpace()
567 NewOperands[0]->getType()->getPointerElementType()); in cloneConstantExprWithNewAddressSpace()
982 if (ASC->getType()->getPointerElementType() != in rewriteWithNewAddressSpaces()
983 NewV->getType()->getPointerElementType()) { in rewriteWithNewAddressSpaces()
DLoopLoadElimination.cpp98 Type *LoadType = LoadPtrType->getPointerElementType(); in isDependenceDistanceOfOne()
102 LoadType == StorePtr->getType()->getPointerElementType() && in isDependenceDistanceOfOne()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp730 Type *EltTy = Src0->getType()->getPointerElementType(); in handleAlloca()
746 Type *EltTy = V->getType()->getPointerElementType(); in handleAlloca()
833 Type *SrcTy = Src->getType()->getPointerElementType(); in handleAlloca()
DSITypeRewriter.cpp77 Type *ElemTy = PtrTy->getPointerElementType(); in visitLoadInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXLowerArgs.cpp194 Ptr, PointerType::get(Ptr->getType()->getPointerElementType(), in markPointerAsGlobal()
/external/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp70 Type *LoadType = LoadPtrType->getPointerElementType(); in isDependenceDistanceOfOne()
74 LoadType == StorePtr->getType()->getPointerElementType() && in isDependenceDistanceOfOne()
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVType.cpp93 SPIRVType::getPointerElementType()const { in getPointerElementType() function in SPIRV::SPIRVType
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h441 assert(Ptr->getType()->getScalarType()->getPointerElementType() == in getGEPCost()
517 Type *FTy = CS.getCalledValue()->getType()->getPointerElementType(); in getUserCost()
/external/llvm/lib/CodeGen/
DSafeStack.cpp445 DL->getTypeStoreSize(Arg.getType()->getPointerElementType()); in findInsts()
537 Type *Ty = Arg->getType()->getPointerElementType(); in moveStaticAllocasToUnsafeStack()
592 Type *Ty = Arg->getType()->getPointerElementType(); in moveStaticAllocasToUnsafeStack()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp287 PtrValue->getType()->getPointerElementType()->isVectorTy()) in runOnLoop()
302 if (PtrValue->getType()->getPointerElementType()->isIntegerTy(64)) { in runOnLoop()
/external/spirv-llvm/lib/SPIRV/
DOCLUtil.cpp553 SrcTy = SrcTy->getPointerElementType(); in getSrcAndDstElememntTypeName()
555 DstTy = DstTy->getPointerElementType(); in getSrcAndDstElememntTypeName()
DSPIRVToOCL20.cpp220 StructType * imgTy = cast<StructType>(argTy->getPointerElementType()); in visitCallSPRIVImageQuerySize()
466 auto ET = T->getPointerElementType(); in visitCallSPIRVPipeBuiltin()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DSafeStack.cpp415 DL.getTypeStoreSize(Arg.getType()->getPointerElementType()); in findInsts()
507 Type *Ty = Arg->getType()->getPointerElementType(); in moveStaticAllocasToUnsafeStack()
563 Type *Ty = Arg->getType()->getPointerElementType(); in moveStaticAllocasToUnsafeStack()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp313 V->getType()->getPointerElementType(), V, Indices); in replace()
320 auto *NewT = PointerType::get(BC->getType()->getPointerElementType(), in replace()
414 auto *DestTy = PointerType::get(AI.getType()->getPointerElementType(), in visitAllocaInst()
464 NewPtr->getType()->getPointerElementType() == NewTy && in combineLoadToNewType()
1376 IC, *LI, LoadAddr->getType()->getPointerElementType()); in removeBitcastsFromLoadStoreOnMinMax()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DEvaluator.cpp213 I, P->getType()->getPointerElementType(), DL); in ComputeLoadResult()
280 dyn_cast<FunctionType>(CE->getType()->getPointerElementType())) { in castCallResultIfNeeded()

123