/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | IntrinsicInst.h | 44 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 …]
|
D | Statepoint.h | 316 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/ |
D | CoroInstr.h | 35 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 …]
|
D | CoroEarly.cpp | 33 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()
|
/external/llvm-project/llvm/lib/Transforms/Coroutines/ |
D | CoroInstr.h | 35 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 …]
|
D | CoroEarly.cpp | 29 void lowerCoroDone(IntrinsicInst *II); 30 void lowerCoroNoop(IntrinsicInst *II); 85 void Lowerer::lowerCoroDone(IntrinsicInst *II) { in lowerCoroDone() 103 void Lowerer::lowerCoroNoop(IntrinsicInst *II) { in lowerCoroNoop() 174 lowerCoroNoop(cast<IntrinsicInst>(&I)); in lowerEarlyIntrinsics() 203 lowerCoroDone(cast<IntrinsicInst>(&I)); in lowerEarlyIntrinsics()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | IntrinsicInst.h | 44 class IntrinsicInst : public CallInst { 46 IntrinsicInst() = delete; 47 IntrinsicInst(const IntrinsicInst &) = delete; 48 IntrinsicInst &operator=(const IntrinsicInst &) = delete; 110 class DbgInfoIntrinsic : public IntrinsicInst { 114 static bool classof(const IntrinsicInst *I) { in classof() 118 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 159 static bool classof(const IntrinsicInst *I) { in classof() 170 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 182 static bool classof(const IntrinsicInst *I) { in classof() [all …]
|
D | Statepoint.h | 218 class GCProjectionInst : public IntrinsicInst { 220 static bool classof(const IntrinsicInst *I) { in classof() 226 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 261 static bool classof(const IntrinsicInst *I) { in classof() 266 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 298 static bool classof(const IntrinsicInst *I) { in classof() 303 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
|
/external/llvm/include/llvm/IR/ |
D | IntrinsicInst.h | 37 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 …]
|
D | Statepoint.h | 309 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()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | SVEIntrinsicOpts.cpp | 57 static IntrinsicInst *isReinterpretToSVBool(Value *V); 63 static bool optimizeConvertFromSVBool(IntrinsicInst *I); 64 static bool optimizePTest(IntrinsicInst *I); 66 static bool processPhiNode(IntrinsicInst *I); 87 IntrinsicInst *SVEIntrinsicOpts::isReinterpretToSVBool(Value *V) { in isReinterpretToSVBool() 88 IntrinsicInst *I = dyn_cast<IntrinsicInst>(V); in isReinterpretToSVBool() 100 bool SVEIntrinsicOpts::processPhiNode(IntrinsicInst *X) { in processPhiNode() 143 bool SVEIntrinsicOpts::optimizePTest(IntrinsicInst *I) { in optimizePTest() 144 IntrinsicInst *Op1 = dyn_cast<IntrinsicInst>(I->getArgOperand(0)); in optimizePTest() 145 IntrinsicInst *Op2 = dyn_cast<IntrinsicInst>(I->getArgOperand(1)); in optimizePTest() [all …]
|
/external/llvm-project/llvm/lib/Analysis/ |
D | AssumeBundleQueries.cpp | 45 assert(isa<IntrinsicInst>(AssumeCI) && in hasAttributeInAssume() 47 IntrinsicInst &Assume = cast<IntrinsicInst>(AssumeCI); in hasAttributeInAssume() 76 IntrinsicInst &Assume = cast<IntrinsicInst>(AssumeCI); in fillMapFromAssume() 127 IntrinsicInst &Assume = cast<IntrinsicInst>(AssumeCI); in getKnowledgeFromOperandInAssume() 135 IntrinsicInst &Assume = cast<IntrinsicInst>(CI); in isAssumeWithEmptyBundle() 145 auto *Intr = dyn_cast<IntrinsicInst>(U->getUser()); in getBundleFromUse() 178 IntrinsicInst *II = cast_or_null<IntrinsicInst>(Elem.Assume); in getKnowledgeForValue()
|
/external/llvm-project/llvm/unittests/Analysis/ |
D | AssumeBundleQueriesTest.cpp | 44 bool hasMatchesExactlyAttributes(IntrinsicInst *Assume, Value *WasOn, in hasMatchesExactlyAttributes() 60 bool hasTheRightValue(IntrinsicInst *Assume, Value *WasOn, in hasTheRightValue() 87 IntrinsicInst *Assume = buildAssumeFromInst(I); in TEST() 107 IntrinsicInst *Assume = buildAssumeFromInst(I); in TEST() 127 IntrinsicInst *Assume = buildAssumeFromInst(I); in TEST() 135 IntrinsicInst *Assume = cast<IntrinsicInst>(I); in TEST() 145 IntrinsicInst *Assume = buildAssumeFromInst(I); in TEST() 181 IntrinsicInst *Assume = buildAssumeFromInst(I); in TEST() 204 IntrinsicInst *Assume = buildAssumeFromInst(I); in TEST() 236 static bool MapHasRightValue(RetainedKnowledgeMap &Map, IntrinsicInst *II, in MapHasRightValue() [all …]
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | MVETailPredication.cpp | 83 SmallVector<IntrinsicInst*, 4> MaskedInsts; 114 bool IsSafeActiveMask(IntrinsicInst *ActiveLaneMask, Value *TripCount); 117 void InsertVCTPIntrinsic(IntrinsicInst *ActiveLaneMask, Value *TripCount); 151 auto FindLoopIterations = [](BasicBlock *BB) -> IntrinsicInst* { in runOnLoop() 153 auto *Call = dyn_cast<IntrinsicInst>(&I); in runOnLoop() 160 return cast<IntrinsicInst>(&I); in runOnLoop() 166 IntrinsicInst *Setup = FindLoopIterations(Preheader); in runOnLoop() 201 bool MVETailPredication::IsSafeActiveMask(IntrinsicInst *ActiveLaneMask, in IsSafeActiveMask() 346 void MVETailPredication::InsertVCTPIntrinsic(IntrinsicInst *ActiveLaneMask, in InsertVCTPIntrinsic() 392 SmallVector<IntrinsicInst *, 4> ActiveLaneMasks; in TryConvertActiveLaneMask() [all …]
|
D | MVEGatherScatterLowering.cpp | 99 Value *lowerGather(IntrinsicInst *I); 101 Value *tryCreateMaskedGatherOffset(IntrinsicInst *I, Value *Ptr, 104 Value *tryCreateMaskedGatherBase(IntrinsicInst *I, Value *Ptr, 107 Value *tryCreateMaskedGatherBaseWB(IntrinsicInst *I, Value *Ptr, 111 Value *lowerScatter(IntrinsicInst *I); 113 Value *tryCreateMaskedScatterOffset(IntrinsicInst *I, Value *Offsets, 116 Value *tryCreateMaskedScatterBase(IntrinsicInst *I, Value *Ptr, 120 Value *tryCreateMaskedScatterBaseWB(IntrinsicInst *I, Value *Ptr, 126 Value *tryCreateIncrementingGatScat(IntrinsicInst *I, Value *BasePtr, 132 Value *tryCreateIncrementingWBGatScat(IntrinsicInst *I, Value *BasePtr, [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | MVEGatherScatterLowering.cpp | 84 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()
|
D | MVETailPredication.cpp | 57 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 …]
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | AssumeBundleBuilder.cpp | 131 IntrinsicInst *Intr = cast<IntrinsicInst>(Assume); in tryToPreserveWithoutAddingAssume() 219 IntrinsicInst *build() { in build() 243 return cast<IntrinsicInst>(CallInst::Create( in build() 281 IntrinsicInst *llvm::buildAssumeFromInst(Instruction *I) { in buildAssumeFromInst() 295 if (IntrinsicInst *Intr = Builder.build()) { in salvageKnowledge() 309 SmallDenseSet<IntrinsicInst *> CleanupToDo; 311 SmallDenseMap<BasicBlock *, SmallVector<IntrinsicInst *, 4>, 8> BBToAssume; 324 IntrinsicInst *Assume = cast<IntrinsicInst>(V); in buildMapping() 335 [](const IntrinsicInst *LHS, const IntrinsicInst *RHS) { in buildMapping() 344 for (IntrinsicInst *Assume : CleanupToDo) { in RunCleanup() [all …]
|
/external/llvm-project/llvm/unittests/IR/ |
D | IRBuilderTest.cpp | 56 IntrinsicInst *II; in TEST_F() 64 II = cast<IntrinsicInst>(Call); in TEST_F() 68 II = cast<IntrinsicInst>(Call); in TEST_F() 72 II = cast<IntrinsicInst>(Call); in TEST_F() 76 II = cast<IntrinsicInst>(Call); in TEST_F() 80 II = cast<IntrinsicInst>(Call); in TEST_F() 84 II = cast<IntrinsicInst>(Call); in TEST_F() 90 II = cast<IntrinsicInst>(Call); in TEST_F() 96 II = cast<IntrinsicInst>(Call); in TEST_F() 102 II = cast<IntrinsicInst>(Call); in TEST_F() [all …]
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXTargetTransformInfo.cpp | 24 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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXTargetTransformInfo.cpp | 24 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LowerConstantIntrinsics.cpp | 43 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()
|
/external/llvm/lib/Transforms/Scalar/ |
D | GuardWidening.cpp | 68 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 …]
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LowerConstantIntrinsics.cpp | 45 static Value *lowerIsConstantIntrinsic(IntrinsicInst *II) { in lowerIsConstantIntrinsic() 96 IntrinsicInst *II = dyn_cast<IntrinsicInst>(&I); in lowerConstantIntrinsics() 115 IntrinsicInst *II = dyn_cast<IntrinsicInst>(&*VH); in lowerConstantIntrinsics()
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | StackLifetime.h | 98 SmallVector<const IntrinsicInst *, 64> Instructions; 141 filter_iterator<ArrayRef<const IntrinsicInst *>::const_iterator, 142 std::function<bool(const IntrinsicInst *)>>> 144 std::function<bool(const IntrinsicInst *)> NotNull( in getMarkers() 145 [](const IntrinsicInst *I) -> bool { return I; }); in getMarkers()
|