Home
last modified time | relevance | path

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

123456

/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/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/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/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/llvm/lib/Target/Hexagon/
DHexagonOptimizeSZextends.cpp132 if (IntrinsicInst *I = dyn_cast<IntrinsicInst>(Intr)) { in runOnFunction()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.h125 Value *getOrCreateResultFromMemIntrinsic(IntrinsicInst *Inst,
128 bool getTgtMemIntrinsic(IntrinsicInst *Inst, MemIntrinsicInfo &Info);
/external/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp232 const IntrinsicInst *I) { in isIntrinsicSourceOfDivergence()
329 if (const IntrinsicInst *Intrinsic = dyn_cast<IntrinsicInst>(V)) { in isSourceOfDivergence()
/external/llvm/lib/Analysis/
DMemoryLocation.cpp101 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(CS.getInstruction())) { in getForArgument()
DMemoryDependenceAnalysis.cpp128 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) { in GetLocation()
470 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) in getSimplePointerDependencyFrom()
481 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) { in getSimplePointerDependencyFrom()
712 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(QueryInst)) in getDependency()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h600 bool getTgtMemIntrinsic(IntrinsicInst *Inst, MemIntrinsicInfo &Info) const;
606 Value *getOrCreateResultFromMemIntrinsic(IntrinsicInst *Inst,
734 virtual bool getTgtMemIntrinsic(IntrinsicInst *Inst,
736 virtual Value *getOrCreateResultFromMemIntrinsic(IntrinsicInst *Inst,
969 bool getTgtMemIntrinsic(IntrinsicInst *Inst, in getTgtMemIntrinsic()
973 Value *getOrCreateResultFromMemIntrinsic(IntrinsicInst *Inst, in getOrCreateResultFromMemIntrinsic()
/external/llvm/include/llvm/CodeGen/
DFastISel.h337 virtual bool fastLowerIntrinsicCall(const IntrinsicInst *II);
514 bool isCommutativeIntrinsic(IntrinsicInst const *II) { in isCommutativeIntrinsic()
536 bool selectIntrinsicCall(const IntrinsicInst *II);
/external/llvm/lib/Transforms/Instrumentation/
DInstrumentation.cpp46 } else if (auto *II = dyn_cast<IntrinsicInst>(I)) { in PrepareToSplitEntryBlock()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp74 IntrinsicInst *II_Start1 = dyn_cast<IntrinsicInst>(Start1); in TEST_F()
75 IntrinsicInst *II_End1 = dyn_cast<IntrinsicInst>(End1); in TEST_F()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DBasicBlock.cpp160 const IntrinsicInst *II = dyn_cast<IntrinsicInst>(i); in getFirstNonPHIOrDbgOrLifetime()
/external/llvm/lib/IR/
DCMakeLists.txt32 IntrinsicInst.cpp
/external/swiftshader/third_party/LLVM/lib/Analysis/
DMemoryDependenceAnalysis.cpp157 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) in GetLocation()
357 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) { in getPointerDependencyFrom()
542 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(QueryInst)) in getDependency()

123456