Home
last modified time | relevance | path

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

1234567891011

/external/swiftshader/third_party/llvm-7.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 {
102 static bool classof(const IntrinsicInst *I) { in classof()
113 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
125 static bool classof(const IntrinsicInst *I) { in classof()
129 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
141 static bool classof(const IntrinsicInst *I) { in classof()
[all …]
DStatepoint.h330 class GCProjectionInst : public IntrinsicInst {
332 static bool classof(const IntrinsicInst *I) { in classof()
338 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
376 static bool classof(const IntrinsicInst *I) { in classof()
381 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
411 static bool classof(const IntrinsicInst *I) { in classof()
416 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
DInstVisitor.h217 RetTy visitDbgInfoIntrinsic(DbgInfoIntrinsic &I) { DELEGATE(IntrinsicInst); } in visitDbgInfoIntrinsic()
222 RetTy visitMemIntrinsic(MemIntrinsic &I) { DELEGATE(IntrinsicInst); } in visitMemIntrinsic()
223 RetTy visitVAStartInst(VAStartInst &I) { DELEGATE(IntrinsicInst); } in visitVAStartInst()
224 RetTy visitVAEndInst(VAEndInst &I) { DELEGATE(IntrinsicInst); } in visitVAEndInst()
225 RetTy visitVACopyInst(VACopyInst &I) { DELEGATE(IntrinsicInst); } in visitVACopyInst()
226 RetTy visitIntrinsicInst(IntrinsicInst &I) { DELEGATE(CallInst); } in visitIntrinsicInst()
273 default: DELEGATE(IntrinsicInst); in delegateCallInst()
/external/swiftshader/third_party/llvm-7.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 CoroIdInst : public IntrinsicInst {
93 IntrinsicInst *getCoroBegin() { in getCoroBegin()
95 if (auto *II = dyn_cast<IntrinsicInst>(U)) in getCoroBegin()
178 static bool classof(const IntrinsicInst *I) { in classof()
[all …]
DCoroEarly.cpp34 void lowerCoroDone(IntrinsicInst *II);
35 void lowerCoroNoop(IntrinsicInst *II);
91 void Lowerer::lowerCoroDone(IntrinsicInst *II) { in lowerCoroDone()
108 void Lowerer::lowerCoroNoop(IntrinsicInst *II) { in lowerCoroNoop()
179 lowerCoroNoop(cast<IntrinsicInst>(&I)); in lowerEarlyIntrinsics()
203 lowerCoroDone(cast<IntrinsicInst>(&I)); in lowerEarlyIntrinsics()
/external/swiftshader/third_party/LLVM/include/llvm/
DIntrinsicInst.h36 class IntrinsicInst : public CallInst {
37 IntrinsicInst(); // DO NOT IMPLEMENT
38 IntrinsicInst(const IntrinsicInst&); // DO NOT IMPLEMENT
39 void operator=(const IntrinsicInst&); // DO NOT IMPLEMENT
48 static inline bool classof(const IntrinsicInst *) { return true; } in classof() argument
61 class DbgInfoIntrinsic : public IntrinsicInst {
66 static inline bool classof(const IntrinsicInst *I) { in classof()
75 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
90 static inline bool classof(const IntrinsicInst *I) { in classof()
94 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
[all …]
/external/llvm/include/llvm/IR/
DIntrinsicInst.h37 class IntrinsicInst : public CallInst {
38 IntrinsicInst() = delete;
39 IntrinsicInst(const IntrinsicInst&) = delete;
40 void operator=(const IntrinsicInst&) = delete;
59 class DbgInfoIntrinsic : public IntrinsicInst {
67 static inline bool classof(const IntrinsicInst *I) { in classof()
76 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
99 static inline bool classof(const IntrinsicInst *I) { in classof()
103 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
132 static inline bool classof(const IntrinsicInst *I) { in classof()
[all …]
DStatepoint.h309 class GCProjectionInst : public IntrinsicInst {
311 static inline bool classof(const IntrinsicInst *I) { in classof()
316 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
354 static inline bool classof(const IntrinsicInst *I) { in classof()
358 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
388 static inline bool classof(const IntrinsicInst *I) { in classof()
392 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
DInstVisitor.h213 RetTy visitDbgInfoIntrinsic(DbgInfoIntrinsic &I) { DELEGATE(IntrinsicInst); } in visitDbgInfoIntrinsic()
218 RetTy visitMemIntrinsic(MemIntrinsic &I) { DELEGATE(IntrinsicInst); } in visitMemIntrinsic()
219 RetTy visitVAStartInst(VAStartInst &I) { DELEGATE(IntrinsicInst); } in visitVAStartInst()
220 RetTy visitVAEndInst(VAEndInst &I) { DELEGATE(IntrinsicInst); } in visitVAEndInst()
221 RetTy visitVACopyInst(VACopyInst &I) { DELEGATE(IntrinsicInst); } in visitVACopyInst()
222 RetTy visitIntrinsicInst(IntrinsicInst &I) { DELEGATE(CallInst); } in visitIntrinsicInst()
269 default: DELEGATE(IntrinsicInst); in delegateCallInst()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DDwarfEHPrepare.cpp77 bool CleanupSelectors(SmallPtrSet<IntrinsicInst*, 32> &Sels);
79 bool HasCatchAllInSelector(IntrinsicInst *);
82 void FindAllCleanupSelectors(SmallPtrSet<IntrinsicInst*, 32> &Sels,
83 SmallPtrSet<IntrinsicInst*, 32> &CatchAllSels);
99 SmallPtrSet<IntrinsicInst*, 8> &SelCalls,
134 bool DwarfEHPrepare::HasCatchAllInSelector(IntrinsicInst *II) { in HasCatchAllInSelector()
144 FindAllCleanupSelectors(SmallPtrSet<IntrinsicInst*, 32> &Sels, in FindAllCleanupSelectors() argument
145 SmallPtrSet<IntrinsicInst*, 32> &CatchAllSels) { in FindAllCleanupSelectors()
149 IntrinsicInst *II = cast<IntrinsicInst>(*I); in FindAllCleanupSelectors()
175 bool DwarfEHPrepare::CleanupSelectors(SmallPtrSet<IntrinsicInst*, 32> &Sels) { in CleanupSelectors() argument
[all …]
/external/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()
73 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) { in isSourceOfDivergence()
/external/llvm/lib/Transforms/Scalar/
DGuardWidening.cpp68 SmallVector<IntrinsicInst *, 16> EliminatedGuards;
72 DenseSet<IntrinsicInst *> WidenedGuards;
79 IntrinsicInst *Guard, const df_iterator<DomTreeNode *> &DFSI,
80 const DenseMap<BasicBlock *, SmallVector<IntrinsicInst *, 8>> &
106 WideningScore computeWideningScore(IntrinsicInst *DominatedGuard,
108 IntrinsicInst *DominatingGuard,
199 void widenGuard(IntrinsicInst *ToWiden, Value *NewCondition) { in widenGuard()
244 DenseMap<BasicBlock *, SmallVector<IntrinsicInst *, 8>> GuardsInBlock; in run()
254 CurrentList.push_back(cast<IntrinsicInst>(&I)); in run()
268 IntrinsicInst *GuardInst, const df_iterator<DomTreeNode *> &DFSI, in eliminateGuardViaWidening()
[all …]
DDeadStoreElimination.cpp118 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) { in hasMemoryWrite()
159 IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst); in getLocForWrite()
197 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) { in isRemovable()
230 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) { in isShortenableAtTheEnd()
251 IntrinsicInst *II = dyn_cast<IntrinsicInst>(I); in isShortenableAtTheBeginning()
262 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) { in getStoredPointerOperand()
/external/swiftshader/third_party/llvm-7.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()
96 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) { in isSourceOfDivergence()
/external/swiftshader/third_party/LLVM/unittests/Support/
DIRBuilderTest.cpp64 IntrinsicInst *II_Start1 = dyn_cast<IntrinsicInst>(Start1); in TEST_F()
65 IntrinsicInst *II_End1 = dyn_cast<IntrinsicInst>(End1); in TEST_F()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCalls.cpp186 IntrinsicInst *II = dyn_cast<IntrinsicInst>(&CI); in visitCallInst()
322 if (IntrinsicInst *Operand = dyn_cast<IntrinsicInst>(II->getArgOperand(0))) in visitCallInst()
328 if (IntrinsicInst *Operand = dyn_cast<IntrinsicInst>(TI->getOperand(0))) in visitCallInst()
699 if (IntrinsicInst *SS = dyn_cast<IntrinsicInst>(II->getArgOperand(0))) { in visitCallInst()
718 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(BCI)) { in visitCallInst()
821 static IntrinsicInst *FindInitTrampolineFromAlloca(Value *TrampMem) { in FindInitTrampolineFromAlloca()
831 IntrinsicInst *InitTrampoline = 0; in FindInitTrampolineFromAlloca()
834 IntrinsicInst *II = dyn_cast<IntrinsicInst>(*I); in FindInitTrampolineFromAlloca()
861 static IntrinsicInst *FindInitTrampolineFromBB(IntrinsicInst *AdjustTramp, in FindInitTrampolineFromBB()
868 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) in FindInitTrampolineFromBB()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.h34 class IntrinsicInst; variable
142 Value *getOrCreateResultFromMemIntrinsic(IntrinsicInst *Inst,
145 bool getTgtMemIntrinsic(IntrinsicInst *Inst, MemIntrinsicInfo &Info);
163 bool shouldExpandReduction(const IntrinsicInst *II) const { in shouldExpandReduction()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp218 static Value *simplifyX86immShift(const IntrinsicInst &II, in simplifyX86immShift()
331 static Value *simplifyX86varShift(const IntrinsicInst &II, in simplifyX86varShift()
439 static Value *simplifyX86movmsk(const IntrinsicInst &II, in simplifyX86movmsk()
478 static Value *simplifyX86insertps(const IntrinsicInst &II, in simplifyX86insertps()
537 static Value *simplifyX86extrq(IntrinsicInst &II, Value *Op0, in simplifyX86extrq()
630 static Value *simplifyX86insertq(IntrinsicInst &II, Value *Op0, Value *Op1, in simplifyX86insertq()
726 static Value *simplifyX86pshufb(const IntrinsicInst &II, in simplifyX86pshufb()
773 static Value *simplifyX86vpermilvar(const IntrinsicInst &II, in simplifyX86vpermilvar()
825 static Value *simplifyX86vpermv(const IntrinsicInst &II, in simplifyX86vpermv()
863 static Value *simplifyX86vperm2(const IntrinsicInst &II, in simplifyX86vperm2()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DDeadStoreElimination.cpp146 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) { in hasMemoryWrite()
180 IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst); in getLocForWrite()
222 IntrinsicInst *II = cast<IntrinsicInst>(I); in isRemovable()
248 IntrinsicInst *II = cast<IntrinsicInst>(I); in getStoredPointerOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp246 static Value *simplifyX86immShift(const IntrinsicInst &II, in simplifyX86immShift()
380 static Value *simplifyX86varShift(const IntrinsicInst &II, in simplifyX86varShift()
504 static Value *simplifyX86pack(IntrinsicInst &II, bool IsSigned) { in simplifyX86pack()
580 static Value *simplifyX86round(IntrinsicInst &II, in simplifyX86round()
678 static Value *simplifyX86movmsk(const IntrinsicInst &II) { in simplifyX86movmsk()
716 static Value *simplifyX86insertps(const IntrinsicInst &II, in simplifyX86insertps()
775 static Value *simplifyX86extrq(IntrinsicInst &II, Value *Op0, in simplifyX86extrq()
869 static Value *simplifyX86insertq(IntrinsicInst &II, Value *Op0, Value *Op1, in simplifyX86insertq()
964 static Value *simplifyX86pshufb(const IntrinsicInst &II, in simplifyX86pshufb()
1011 static Value *simplifyX86vpermilvar(const IntrinsicInst &II, in simplifyX86vpermilvar()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp138 } else if (IntrinsicInst *IMemI = dyn_cast<IntrinsicInst>(MemI)) { in GetPointerOperand()
197 } else if (IntrinsicInst *IMemI = dyn_cast<IntrinsicInst>(J)) { in runOnLoop()
275 if (auto *II = dyn_cast<IntrinsicInst>(Buckets[i].Elements[j].Instr)) in runOnLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DPredicateInfo.h134 IntrinsicInst *AssumeInst;
135 PredicateAssume(Value *Op, IntrinsicInst *AssumeInst, Value *Condition) in PredicateAssume()
233 void processAssume(IntrinsicInst *, BasicBlock *, SmallPtrSetImpl<Value *> &);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DAddDiscriminators.cpp114 return !isa<IntrinsicInst>(I) || isa<MemIntrinsic>(I); in shouldHaveDiscriminator()
232 if (!Current || isa<IntrinsicInst>(&I)) in addDiscriminators()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp160 } else if (IntrinsicInst *IMemI = dyn_cast<IntrinsicInst>(MemI)) { in GetPointerOperand()
274 } else if (IntrinsicInst *IMemI = dyn_cast<IntrinsicInst>(J)) { in runOnLoop()
365 if (auto *II = dyn_cast<IntrinsicInst>(Buckets[i].Elements[j].Instr)) in runOnLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonOptimizeSZextends.cpp127 if (IntrinsicInst *I = dyn_cast<IntrinsicInst>(Intr)) { in runOnFunction()

1234567891011