Home
last modified time | relevance | path

Searched refs:IntrinsicInst (Results 1 – 25 of 139) sorted by relevance

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIntrinsicInst.h44 class IntrinsicInst : public CallInst {
46 IntrinsicInst() = delete;
47 IntrinsicInst(const IntrinsicInst &) = delete;
48 IntrinsicInst &operator=(const IntrinsicInst &) = delete;
67 class DbgInfoIntrinsic : public IntrinsicInst {
71 static bool classof(const IntrinsicInst *I) { in classof()
82 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
123 static bool classof(const IntrinsicInst *I) { in classof()
133 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
145 static bool classof(const IntrinsicInst *I) { in classof()
[all …]
DStatepoint.h316 class GCProjectionInst : public IntrinsicInst {
318 static bool classof(const IntrinsicInst *I) { in classof()
324 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
362 static bool classof(const IntrinsicInst *I) { in classof()
367 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
395 static bool classof(const IntrinsicInst *I) { in classof()
400 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
DInstVisitor.h210 RetTy visitDbgInfoIntrinsic(DbgInfoIntrinsic &I){ DELEGATE(IntrinsicInst); } in visitDbgInfoIntrinsic()
215 RetTy visitMemIntrinsic(MemIntrinsic &I) { DELEGATE(IntrinsicInst); } in visitMemIntrinsic()
216 RetTy visitVAStartInst(VAStartInst &I) { DELEGATE(IntrinsicInst); } in visitVAStartInst()
217 RetTy visitVAEndInst(VAEndInst &I) { DELEGATE(IntrinsicInst); } in visitVAEndInst()
218 RetTy visitVACopyInst(VACopyInst &I) { DELEGATE(IntrinsicInst); } in visitVACopyInst()
219 RetTy visitIntrinsicInst(IntrinsicInst &I) { DELEGATE(CallInst); } in visitIntrinsicInst()
306 default: DELEGATE(IntrinsicInst); in delegateCallInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroInstr.h35 class LLVM_LIBRARY_VISIBILITY CoroSubFnInst : public IntrinsicInst {
61 static bool classof(const IntrinsicInst *I) { in classof()
65 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
70 class LLVM_LIBRARY_VISIBILITY CoroAllocInst : public IntrinsicInst {
73 static bool classof(const IntrinsicInst *I) { in classof()
77 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
82 class LLVM_LIBRARY_VISIBILITY AnyCoroIdInst : public IntrinsicInst {
91 IntrinsicInst *getCoroBegin() { in getCoroBegin()
93 if (auto *II = dyn_cast<IntrinsicInst>(U)) in getCoroBegin()
100 static bool classof(const IntrinsicInst *I) { in classof()
[all …]
DCoroEarly.cpp33 void lowerCoroDone(IntrinsicInst *II);
34 void lowerCoroNoop(IntrinsicInst *II);
90 void Lowerer::lowerCoroDone(IntrinsicInst *II) { in lowerCoroDone()
108 void Lowerer::lowerCoroNoop(IntrinsicInst *II) { in lowerCoroNoop()
179 lowerCoroNoop(cast<IntrinsicInst>(&I)); in lowerEarlyIntrinsics()
207 lowerCoroDone(cast<IntrinsicInst>(&I)); in lowerEarlyIntrinsics()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DMVEGatherScatterLowering.cpp84 bool lowerGather(IntrinsicInst *I);
86 Value *tryCreateMaskedGatherOffset(IntrinsicInst *I, Value *Ptr,
89 Value *tryCreateMaskedGatherBase(IntrinsicInst *I, Value *Ptr,
175 bool MVEGatherScatterLowering::lowerGather(IntrinsicInst *I) { in lowerGather()
216 IntrinsicInst *I, Value *Ptr, IRBuilder<> Builder) { in tryCreateMaskedGatherBase()
236 IntrinsicInst *I, Value *Ptr, IRBuilder<> Builder) { in tryCreateMaskedGatherOffset()
285 SmallVector<IntrinsicInst *, 4> Gathers; in runOnFunction()
288 IntrinsicInst *II = dyn_cast<IntrinsicInst>(&I); in runOnFunction()
297 for (IntrinsicInst *I : Gathers) in runOnFunction()
DMVETailPredication.cpp57 SmallVector<IntrinsicInst*, 4> MaskedInsts;
105 auto *Call = dyn_cast<IntrinsicInst>(&I); in IsDecrement()
114 auto *Call = dyn_cast<IntrinsicInst>(I); in IsMasked()
146 auto FindLoopIterations = [](BasicBlock *BB) -> IntrinsicInst* { in runOnLoop()
148 auto *Call = dyn_cast<IntrinsicInst>(&I); in runOnLoop()
155 return cast<IntrinsicInst>(&I); in runOnLoop()
161 IntrinsicInst *Setup = FindLoopIterations(Preheader); in runOnLoop()
173 IntrinsicInst *Decrement = nullptr; in runOnLoop()
177 Decrement = cast<IntrinsicInst>(&I); in runOnLoop()
293 static VectorType* getVectorType(IntrinsicInst *I) { in getVectorType()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXTargetTransformInfo.cpp24 static bool readsThreadIndex(const IntrinsicInst *II) { in readsThreadIndex()
34 static bool readsLaneId(const IntrinsicInst *II) { in readsLaneId()
39 static bool isNVVMAtomic(const IntrinsicInst *II) { in isNVVMAtomic()
95 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) { in isSourceOfDivergence()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerConstantIntrinsics.cpp43 static Value *lowerIsConstantIntrinsic(IntrinsicInst *II) { in lowerIsConstantIntrinsic()
94 IntrinsicInst *II = dyn_cast<IntrinsicInst>(&I); in lowerConstantIntrinsics()
113 IntrinsicInst *II = dyn_cast<IntrinsicInst>(&*VH); in lowerConstantIntrinsics()
DDeadStoreElimination.cpp165 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) { in hasAnalyzableMemoryWrite()
213 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) { in getLocForWrite()
252 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) { in isRemovable()
288 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) { in isShortenableAtTheEnd()
DInferAddressSpaces.cpp188 bool rewriteIntrinsicOperands(IntrinsicInst *II,
191 IntrinsicInst *II,
263 bool InferAddressSpaces::rewriteIntrinsicOperands(IntrinsicInst *II, in rewriteIntrinsicOperands()
284 IntrinsicInst *II, std::vector<std::pair<Value *, bool>> &PostorderStack, in collectRewritableIntrinsicOperands()
375 } else if (auto *II = dyn_cast<IntrinsicInst>(&I)) in collectFlatAddressExpressions()
947 if (auto *II = dyn_cast<IntrinsicInst>(CurUser)) { in rewriteWithNewAddressSpaces()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.h33 class IntrinsicInst; variable
147 Value *getOrCreateResultFromMemIntrinsic(IntrinsicInst *Inst,
150 bool getTgtMemIntrinsic(IntrinsicInst *Inst, MemIntrinsicInfo &Info);
185 bool shouldExpandReduction(const IntrinsicInst *II) const { in shouldExpandReduction()
DAArch64StackTagging.cpp272 SmallVector<IntrinsicInst *, 2> LifetimeStart;
273 SmallVector<IntrinsicInst *, 2> LifetimeEnd;
497 static bool postDominates(const PostDominatorTree *PDT, const IntrinsicInst *A, in postDominates()
498 const IntrinsicInst *B) { in postDominates()
545 auto *II = dyn_cast<IntrinsicInst>(I); in runOnFunction()
634 IntrinsicInst *Start = Info.LifetimeStart[0]; in runOnFunction()
635 IntrinsicInst *End = Info.LifetimeEnd[0]; in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp292 static Value *simplifyX86immShift(const IntrinsicInst &II, in simplifyX86immShift()
426 static Value *simplifyX86varShift(const IntrinsicInst &II, in simplifyX86varShift()
550 static Value *simplifyX86pack(IntrinsicInst &II, in simplifyX86pack()
616 static Value *simplifyX86movmsk(const IntrinsicInst &II, in simplifyX86movmsk()
646 static Value *simplifyX86addcarry(const IntrinsicInst &II, in simplifyX86addcarry()
673 static Value *simplifyX86insertps(const IntrinsicInst &II, in simplifyX86insertps()
732 static Value *simplifyX86extrq(IntrinsicInst &II, Value *Op0, in simplifyX86extrq()
826 static Value *simplifyX86insertq(IntrinsicInst &II, Value *Op0, Value *Op1, in simplifyX86insertq()
921 static Value *simplifyX86pshufb(const IntrinsicInst &II, in simplifyX86pshufb()
968 static Value *simplifyX86vpermilvar(const IntrinsicInst &II, in simplifyX86vpermilvar()
[all …]
DInstCombineInternal.h512 IntrinsicInst &Tramp);
514 Value *simplifyMaskedLoad(IntrinsicInst &II);
515 Instruction *simplifyMaskedStore(IntrinsicInst &II);
516 Instruction *simplifyMaskedGather(IntrinsicInst &II);
517 Instruction *simplifyMaskedScatter(IntrinsicInst &II);
638 Instruction *foldIntrinsicWithOverflowCommon(IntrinsicInst *II);
687 Instruction *CreateOverflowTuple(IntrinsicInst *II, Value *Result, in CreateOverflowTuple()
862 Value *simplifyAMDGCNMemoryIntrinsicDemanded(IntrinsicInst *II,
970 Instruction *foldICmpIntrinsicWithConstant(ICmpInst &ICI, IntrinsicInst *II,
972 Instruction *foldICmpEqIntrinsicWithConstant(ICmpInst &ICI, IntrinsicInst *II,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DPredicateInfo.h133 IntrinsicInst *AssumeInst;
134 PredicateAssume(Value *Op, IntrinsicInst *AssumeInst, Value *Condition) in PredicateAssume()
232 void processAssume(IntrinsicInst *, BasicBlock *, SmallVectorImpl<Value *> &);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp310 bool GCNTTIImpl::getTgtMemIntrinsic(IntrinsicInst *Inst, in getTgtMemIntrinsic()
627 if (const IntrinsicInst *Intrinsic = dyn_cast<IntrinsicInst>(V)) in isSourceOfDivergence()
638 if (const IntrinsicInst *Intrinsic = dyn_cast<IntrinsicInst>(V)) { in isAlwaysUniform()
670 IntrinsicInst *II, Value *OldV, Value *NewV) const { in rewriteIntrinsicWithAddressSpace()
781 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(U)) { in getUserCost()
DAMDGPUUnifyDivergentExitNodes.cpp125 if (IntrinsicInst *Intrin = llvm::dyn_cast<IntrinsicInst>(&I)) { in removeDoneExport()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DAddDiscriminators.cpp114 return !isa<IntrinsicInst>(I) || isa<MemIntrinsic>(I); in shouldHaveDiscriminator()
239 if (!isa<InvokeInst>(I) && (!isa<CallInst>(I) || isa<IntrinsicInst>(I))) in addDiscriminators()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonOptimizeSZextends.cpp127 if (IntrinsicInst *I = dyn_cast<IntrinsicInst>(Intr)) { in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfo.h47 class IntrinsicInst; variable
387 bool rewriteIntrinsicWithAddressSpace(IntrinsicInst *II,
1042 bool getTgtMemIntrinsic(IntrinsicInst *Inst, MemIntrinsicInfo &Info) const;
1052 Value *getOrCreateResultFromMemIntrinsic(IntrinsicInst *Inst,
1146 bool shouldExpandReduction(const IntrinsicInst *II) const;
1207 IntrinsicInst *II, Value *OldV, Value *NewV) const = 0;
1361 virtual bool getTgtMemIntrinsic(IntrinsicInst *Inst,
1364 virtual Value *getOrCreateResultFromMemIntrinsic(IntrinsicInst *Inst,
1396 virtual bool shouldExpandReduction(const IntrinsicInst *II) const = 0;
1473 IntrinsicInst *II, Value *OldV, Value *NewV) const override { in rewriteIntrinsicWithAddressSpace()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCLoopInstrFormPrep.cpp279 } else if (IntrinsicInst *IMemI = dyn_cast<IntrinsicInst>(MemI)) { in GetPointerOperand()
347 } else if (IntrinsicInst *IMemI = dyn_cast<IntrinsicInst>(&J)) { in collectCandidates()
458 if (auto *II = dyn_cast<IntrinsicInst>(BucketChain.Elements[j].Instr)) in prepareBaseForUpdateFormChain()
849 if (isa<IntrinsicInst>(I)) in runOnLoop()
863 return !isa<IntrinsicInst>(I) && ST && ST->hasP9Vector() && in runOnLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DJumpThreading.h40 class IntrinsicInst; variable
159 bool ThreadGuard(BasicBlock *BB, IntrinsicInst *Guard, BranchInst *BI);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DExpandReductions.cpp81 SmallVector<IntrinsicInst *, 4> Worklist; in expandReductions()
83 if (auto *II = dyn_cast<IntrinsicInst>(&I)) { in expandReductions()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemoryLocation.cpp136 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(Call)) { in getForArgument()

123456