Home
last modified time | relevance | path

Searched refs:AddrSpaceCastInst (Results 1 – 21 of 21) sorted by relevance

/external/llvm/lib/Target/NVPTX/
DNVPTXLowerKernelArgs.cpp158 Value *ArgInParam = new AddrSpaceCastInst( in handleByValParam()
181 Instruction *PtrInGlobal = new AddrSpaceCastInst( in markPointerAsGlobal()
185 Value *PtrInGeneric = new AddrSpaceCastInst(PtrInGlobal, Ptr->getType(), in markPointerAsGlobal()
DNVPTXLowerAlloca.cpp75 auto NewASCToLocal = new AddrSpaceCastInst(allocaInst, LocalAddrTy, ""); in runOnBasicBlock()
77 auto NewASCToGeneric = new AddrSpaceCastInst(NewASCToLocal, in runOnBasicBlock()
DNVPTXFavorNonGenericAddrSpaces.cpp171 NewASC = new AddrSpaceCastInst(NewGEP, GEP->getType(), "", GEPI); in hoistAddrSpaceCastFromGEP()
208 NewBC = new AddrSpaceCastInst(NewCast, BC->getType(), "", BCI); in hoistAddrSpaceCastFromBitCast()
DNVPTXInferAddressSpaces.cpp570 U->set(new AddrSpaceCastInst(NewV, V->getType(), "", &*InsertPos)); in rewriteWithNewAddressSpaces()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUAnnotateKernelFeatures.cpp68 static bool castRequiresQueuePtr(const AddrSpaceCastInst *ASC) { in castRequiresQueuePtr()
122 if (const AddrSpaceCastInst *ASC = dyn_cast<AddrSpaceCastInst>(&I)) { in hasAddrSpaceCast()
DAMDGPUPromoteAlloca.cpp743 if (isa<AddrSpaceCastInst>(V)) in handleAlloca()
/external/llvm/lib/Analysis/
DLoads.cpp100 if (const AddrSpaceCastInst *ASC = dyn_cast<AddrSpaceCastInst>(V)) in isDereferenceableAndAlignedPointer()
/external/llvm/include/llvm/IR/
DInstVisitor.h197 RetTy visitAddrSpaceCastInst(AddrSpaceCastInst &I) { DELEGATE(CastInst);} in visitAddrSpaceCastInst()
DInstruction.def173 HANDLE_CAST_INST(48, AddrSpaceCast, AddrSpaceCastInst) // addrspace cast
DInstructions.h4888 class AddrSpaceCastInst : public CastInst {
4893 AddrSpaceCastInst *cloneImpl() const;
4897 AddrSpaceCastInst(
4905 AddrSpaceCastInst(
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1645 return new AddrSpaceCastInst(Builder->Insert(Res), GEP.getType()); in visitGetElementPtrInst()
1677 return new AddrSpaceCastInst(NewGEP, GEP.getType()); in visitGetElementPtrInst()
1787 if (AddrSpaceCastInst *ASC = dyn_cast<AddrSpaceCastInst>(PtrOp)) { in visitGetElementPtrInst()
1827 return new AddrSpaceCastInst(Operand, GEP.getType()); in visitGetElementPtrInst()
1846 return new AddrSpaceCastInst(NGEP, GEP.getType()); in visitGetElementPtrInst()
DInstCombineCasts.cpp1525 (!isa<AddrSpaceCastInst>(CI) || in commonPointerCastTransforms()
1923 Instruction *InstCombiner::visitAddrSpaceCast(AddrSpaceCastInst &CI) { in visitAddrSpaceCast()
1940 return new AddrSpaceCastInst(NewBitCast, CI.getType()); in visitAddrSpaceCast()
DInstCombineInternal.h304 Instruction *visitAddrSpaceCast(AddrSpaceCastInst &CI);
DInstCombineLoadStoreAlloca.cpp75 if (isa<BitCastInst>(I) || isa<AddrSpaceCastInst>(I)) { in isOnlyCopiedFromConstantGlobal()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.def173 HANDLE_CAST_INST(48, AddrSpaceCast, AddrSpaceCastInst) // addrspace cast
/external/llvm/lib/IR/
DInstructions.cpp2663 case AddrSpaceCast: return new AddrSpaceCastInst (S, Ty, Name, InsertBefore); in Create()
2685 case AddrSpaceCast: return new AddrSpaceCastInst (S, Ty, Name, InsertAtEnd); in Create()
3342 AddrSpaceCastInst::AddrSpaceCastInst( in AddrSpaceCastInst() function in AddrSpaceCastInst
3348 AddrSpaceCastInst::AddrSpaceCastInst( in AddrSpaceCastInst() function in AddrSpaceCastInst
4003 AddrSpaceCastInst *AddrSpaceCastInst::cloneImpl() const { in cloneImpl()
4004 return new AddrSpaceCastInst(getOperand(0), getType()); in cloneImpl()
DVerifier.cpp396 void visitAddrSpaceCastInst(AddrSpaceCastInst &I);
2454 void Verifier::visitAddrSpaceCastInst(AddrSpaceCastInst &I) { in visitAddrSpaceCastInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h33 class AddrSpaceCastInst; variable
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp866 if (isa<BitCastInst>(U) || isa<AddrSpaceCastInst>(U)) { in performCallSlotOptzn()
/external/llvm/include/llvm-c/
DCore.h1270 macro(AddrSpaceCastInst) \
/external/spirv-llvm/lib/SPIRV/
DSPIRVWriter.cpp835 if (auto Cast = dyn_cast<AddrSpaceCastInst>(U)) { in transUnaryInst()