Home
last modified time | relevance | path

Searched refs:AddrSpaceCastInst (Results 1 – 17 of 17) 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.cpp72 auto NewASCToLocal = new AddrSpaceCastInst(allocaInst, LocalAddrTy, ""); in runOnBasicBlock()
74 auto NewASCToGeneric = new AddrSpaceCastInst(NewASCToLocal, in runOnBasicBlock()
DNVPTXFavorNonGenericAddrSpaces.cpp167 NewASC = new AddrSpaceCastInst(NewGEP, GEP->getType(), "", GEPI); in hoistAddrSpaceCastFromGEP()
205 NewBC = new AddrSpaceCastInst(NewCast, BC->getType(), "", BCI); in hoistAddrSpaceCastFromBitCast()
/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.h4771 class AddrSpaceCastInst : public CastInst {
4776 AddrSpaceCastInst *cloneImpl() const;
4780 AddrSpaceCastInst(
4788 AddrSpaceCastInst(
/external/llvm/lib/IR/
DInstructions.cpp2588 case AddrSpaceCast: return new AddrSpaceCastInst (S, Ty, Name, InsertBefore); in Create()
2610 case AddrSpaceCast: return new AddrSpaceCastInst (S, Ty, Name, InsertAtEnd); in Create()
3267 AddrSpaceCastInst::AddrSpaceCastInst( in AddrSpaceCastInst() function in AddrSpaceCastInst
3273 AddrSpaceCastInst::AddrSpaceCastInst( in AddrSpaceCastInst() function in AddrSpaceCastInst
3899 AddrSpaceCastInst *AddrSpaceCastInst::cloneImpl() const { in cloneImpl()
3900 return new AddrSpaceCastInst(getOperand(0), getType()); in cloneImpl()
DVerifier.cpp368 void visitAddrSpaceCastInst(AddrSpaceCastInst &I);
2253 void Verifier::visitAddrSpaceCastInst(AddrSpaceCastInst &I) { in visitAddrSpaceCastInst()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1650 return new AddrSpaceCastInst(Builder->Insert(Res), GEP.getType()); in visitGetElementPtrInst()
1682 return new AddrSpaceCastInst(NewGEP, GEP.getType()); in visitGetElementPtrInst()
1792 if (AddrSpaceCastInst *ASC = dyn_cast<AddrSpaceCastInst>(PtrOp)) { in visitGetElementPtrInst()
1832 return new AddrSpaceCastInst(Operand, GEP.getType()); in visitGetElementPtrInst()
1851 return new AddrSpaceCastInst(NGEP, GEP.getType()); in visitGetElementPtrInst()
DInstCombineCasts.cpp1522 (!isa<AddrSpaceCastInst>(CI) || in commonPointerCastTransforms()
1913 Instruction *InstCombiner::visitAddrSpaceCast(AddrSpaceCastInst &CI) { in visitAddrSpaceCast()
1930 return new AddrSpaceCastInst(NewBitCast, CI.getType()); in visitAddrSpaceCast()
DInstCombineInternal.h301 Instruction *visitAddrSpaceCast(AddrSpaceCastInst &CI);
DInstCombineLoadStoreAlloca.cpp75 if (isa<BitCastInst>(I) || isa<AddrSpaceCastInst>(I)) { in isOnlyCopiedFromConstantGlobal()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp367 if (isa<AddrSpaceCastInst>(V)) in visitAlloca()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h33 class AddrSpaceCastInst; variable
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp675 if (isa<BitCastInst>(U) || isa<AddrSpaceCastInst>(U)) { in performCallSlotOptzn()
/external/llvm/include/llvm-c/
DCore.h1132 macro(AddrSpaceCastInst) \
/external/llvm/lib/Analysis/
DValueTracking.cpp3278 if (const AddrSpaceCastInst *ASC = dyn_cast<AddrSpaceCastInst>(V)) in isDereferenceableAndAlignedPointer()