Home
last modified time | relevance | path

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

12

/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXLowerArgs.cpp170 Value *ArgInParam = new AddrSpaceCastInst( in handleByValParam()
193 Instruction *PtrInGlobal = new AddrSpaceCastInst( in markPointerAsGlobal()
197 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUAnnotateKernelFeatures.cpp92 static bool castRequiresQueuePtr(const AddrSpaceCastInst *ASC, in castRequiresQueuePtr()
264 if (const AddrSpaceCastInst *ASC = dyn_cast<AddrSpaceCastInst>(&I)) { in addFeatureAttributes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLoads.cpp106 if (const AddrSpaceCastInst *ASC = dyn_cast<AddrSpaceCastInst>(V)) in isDereferenceableAndAlignedPointer()
/external/llvm/lib/Analysis/
DLoads.cpp100 if (const AddrSpaceCastInst *ASC = dyn_cast<AddrSpaceCastInst>(V)) in isDereferenceableAndAlignedPointer()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp385 } else if (auto *ASC = dyn_cast<AddrSpaceCastInst>(&I)) { in collectFlatAddressExpressions()
979 if (AddrSpaceCastInst *ASC = dyn_cast<AddrSpaceCastInst>(CurUser)) { in rewriteWithNewAddressSpaces()
998 U.set(new AddrSpaceCastInst(NewV, V->getType(), "", &*InsertPos)); in rewriteWithNewAddressSpaces()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstVisitor.h200 RetTy visitAddrSpaceCastInst(AddrSpaceCastInst &I) { DELEGATE(CastInst);} in visitAddrSpaceCastInst()
DInstruction.def177 HANDLE_CAST_INST(48, AddrSpaceCast, AddrSpaceCastInst) // addrspace cast
/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
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp2478 case AddrSpaceCast: return new AddrSpaceCastInst (S, Ty, Name, InsertBefore); in Create()
2500 case AddrSpaceCast: return new AddrSpaceCastInst (S, Ty, Name, InsertAtEnd); in Create()
3157 AddrSpaceCastInst::AddrSpaceCastInst( in AddrSpaceCastInst() function in AddrSpaceCastInst
3163 AddrSpaceCastInst::AddrSpaceCastInst( in AddrSpaceCastInst() function in AddrSpaceCastInst
3801 AddrSpaceCastInst *AddrSpaceCastInst::cloneImpl() const { in cloneImpl()
3802 return new AddrSpaceCastInst(getOperand(0), getType()); in cloneImpl()
/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);
/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()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.def173 HANDLE_CAST_INST(48, AddrSpaceCast, AddrSpaceCastInst) // addrspace cast
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1797 return new AddrSpaceCastInst(Builder.Insert(Res), GEPType); in visitGetElementPtrInst()
1828 return new AddrSpaceCastInst(NewGEP, GEPType); in visitGetElementPtrInst()
1939 if (auto *ASC = dyn_cast<AddrSpaceCastInst>(PtrOp)) { in visitGetElementPtrInst()
1997 return new AddrSpaceCastInst(SrcOp, GEPType); in visitGetElementPtrInst()
2016 return new AddrSpaceCastInst(NGEP, GEPType); in visitGetElementPtrInst()
2184 isa<AddrSpaceCastInst>(I)) { in visitAllocSite()
DInstCombineCasts.cpp1752 (!isa<AddrSpaceCastInst>(CI) || in commonPointerCastTransforms()
2250 return new AddrSpaceCastInst(Src, DestTy); in visitBitCast()
2377 Instruction *InstCombiner::visitAddrSpaceCast(AddrSpaceCastInst &CI) { in visitAddrSpaceCast()
2394 return new AddrSpaceCastInst(NewBitCast, CI.getType()); in visitAddrSpaceCast()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h33 class AddrSpaceCastInst; variable

12