/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 105 DenseMap<const SwitchInst *, SmallPtrSet<const Value *, 8>>; 154 void setUnswitched(const SwitchInst *SI, const Value *V); 157 bool isUnswitched(const SwitchInst *SI, const Value *V); 341 void LUAnalysisCache::setUnswitched(const SwitchInst *SI, const Value *V) { in setUnswitched() 346 bool LUAnalysisCache::isUnswitched(const SwitchInst *SI, const Value *V) { in isUnswitched() 378 const SwitchInst *OldInst = I->first; in cloneData() 380 const SwitchInst *NewInst = cast_or_null<SwitchInst>(NewI); in cloneData() 750 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { in processCurrentLoop() 1105 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(CurrentTerm)) { in TryTrivialLoopUnswitch() 1164 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(CurrentTerm)) { in TryTrivialLoopUnswitch() [all …]
|
D | LowerExpectIntrinsic.cpp | 58 static bool handleSwitchExpect(SwitchInst &SI) { in handleSwitchExpect() 72 SwitchInst::CaseHandle Case = *SI.findCaseValue(ExpectedValue); in handleSwitchExpect() 330 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(BB.getTerminator())) { in lowerExpectIntrinsic()
|
D | LoopSimplifyCFG.cpp | 71 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { in getOnlyLiveSuccessor() 361 SwitchInst *DummySwitch = in handleDeadExits()
|
D | SimpleLoopUnswitch.cpp | 589 static bool unswitchTrivialSwitch(Loop &L, SwitchInst &SI, DominatorTree &DT, in unswitchTrivialSwitch() 671 [&SI](const SwitchInst::CaseHandle &Case) { in unswitchTrivialSwitch() 693 auto *NewSI = SwitchInst::Create(LoopCond, NewPH, ExitCases.size(), OldPH); in unswitchTrivialSwitch() 901 if (auto *SI = dyn_cast<SwitchInst>(CurrentTerm)) { in unswitchAllTrivialConditions() 1925 SwitchInst *SI = BI ? nullptr : cast<SwitchInst>(&TI); in unswitchNontrivialInvariants() 2130 SwitchInst *NewSI = cast<SwitchInst>(NewTI); in unswitchNontrivialInvariants() 2572 if (auto *SI = dyn_cast<SwitchInst>(BB->getTerminator())) { in unswitchBestCondition()
|
D | JumpThreading.cpp | 491 if (isa<SwitchInst>(StopAt)) in getJumpThreadDuplicationCost() 1026 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(Terminator)) { in ProcessBlock() 1152 if (SwitchInst *SI = dyn_cast<SwitchInst>(BB->getTerminator())) in ProcessBlock() 1598 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(BB->getTerminator())) { in ProcessThreadableEdges() 2464 bool JumpThreadingPass::TryToUnfoldSelect(SwitchInst *SI, BasicBlock *BB) { in TryToUnfoldSelect()
|
D | TailRecursionElimination.cpp | 386 if (SwitchInst *SI = dyn_cast<SwitchInst>(UniquePred->getTerminator())) in isDynamicConstant()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | CFGPrinter.h | 135 if (const SwitchInst *SI = dyn_cast<SwitchInst>(Node->getTerminator())) { 142 auto Case = *SwitchInst::ConstCaseIt::fromSuccessorIndex(SI, SuccNo);
|
D | SparsePropagation.h | 338 SwitchInst &SI = cast<SwitchInst>(TI); in getFeasibleSuccessors() 364 SwitchInst::CaseHandle Case = *SI.findCaseValue(cast<ConstantInt>(C)); in getFeasibleSuccessors()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | SwitchLoweringUtils.h | 267 void findJumpTables(CaseClusterVector &Clusters, const SwitchInst *SI, 272 unsigned Last, const SwitchInst *SI, 276 void findBitTestClusters(CaseClusterVector &Clusters, const SwitchInst *SI); 281 const SwitchInst *SI, CaseCluster &BTCluster);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | PredicateInfo.h | 180 SwitchInst *Switch; 182 Value *CaseValue, SwitchInst *SI) in PredicateSwitch() 234 void processSwitch(SwitchInst *, BasicBlock *, SmallVectorImpl<Value *> &);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LowerSwitch.cpp | 102 void processSwitchInst(SwitchInst *SI, 114 unsigned Clusterify(CaseVector &Cases, SwitchInst *SI); 170 if (SwitchInst *SI = dyn_cast<SwitchInst>(Cur->getTerminator())) { in runOnFunction() 400 unsigned LowerSwitch::Clusterify(CaseVector& Cases, SwitchInst *SI) { in Clusterify() 441 void LowerSwitch::processSwitchInst(SwitchInst *SI, in processSwitchInst()
|
D | SimplifyCFG.cpp | 201 bool SimplifySwitch(SwitchInst *SI, IRBuilder<> &Builder); 684 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { in EraseTerminatorAndDCECond() 702 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { in isValueEqualityComparison() 729 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { in GetValueEqualityComparisonCases() 789 static void setBranchWeights(SwitchInst *SI, ArrayRef<uint32_t> Weights) { in setBranchWeights() 870 SwitchInstProfUpdateWrapper SI = *cast<SwitchInst>(TI); in SimplifyEqualityComparisonWithOnlyPredecessor() 879 for (SwitchInst::CaseIt i = SI->case_end(), e = SI->case_begin(); i != e;) { in SimplifyEqualityComparisonWithOnlyPredecessor() 1177 SwitchInst *NewSI = in FoldValueComparisonIntoPredecessors() 1759 else if ((isa<BranchInst>(T) || isa<SwitchInst>(T)) && !Cond) in SinkCommonCodeFromPredecessors() 3580 static bool SimplifySwitchOnSelect(SwitchInst *SI, SelectInst *Select) { in SimplifySwitchOnSelect() [all …]
|
D | CloneFunction.cpp | 403 } else if (const SwitchInst *SI = dyn_cast<SwitchInst>(OldTI)) { in CloneBlock() 411 SwitchInst::ConstCaseHandle Case = *SI->findCaseValue(Cond); in CloneBlock()
|
D | Evaluator.cpp | 620 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(CurInst)) { in EvaluateBlock()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Instructions.h | 3125 class SwitchInst : public Instruction { 3132 SwitchInst(const SwitchInst &SI); 3138 SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, 3145 SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, 3160 SwitchInst *cloneImpl() const; 3176 friend class SwitchInst::CaseIteratorImpl< 3223 CaseHandleImpl<const SwitchInst, const ConstantInt, const BasicBlock>; 3226 : public CaseHandleImpl<SwitchInst, ConstantInt, BasicBlock> { 3227 friend class SwitchInst::CaseIteratorImpl<CaseHandle>; 3230 CaseHandle(SwitchInst *SI, ptrdiff_t Index) : CaseHandleImpl(SI, Index) {} [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | SwitchLoweringUtils.cpp | 44 const SwitchInst *SI, in findJumpTables() 189 const SwitchInst *SI, in buildJumpTable() 263 const SwitchInst *SI) { in findBitTestClusters() 363 const SwitchInst *SI, in buildBitTests()
|
D | IndirectBrExpandPass.cpp | 212 auto *SI = SwitchInst::Create(SwitchValue, BBs[0], BBs.size(), SwitchBB); in runOnFunction()
|
D | TypePromotion.cpp | 266 if (auto *Switch = dyn_cast<SwitchInst>(V)) in isSink() 591 if (auto *Switch = dyn_cast<SwitchInst>(I)) { in TruncateSinks() 686 } else if (auto *Switch = dyn_cast<SwitchInst>(I)) in Mutate()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Instructions.cpp | 3788 void SwitchInst::init(Value *Value, BasicBlock *Default, unsigned NumReserved) { in init() 3802 SwitchInst::SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, in SwitchInst() function in SwitchInst 3813 SwitchInst::SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, in SwitchInst() function in SwitchInst 3820 SwitchInst::SwitchInst(const SwitchInst &SI) in SwitchInst() function in SwitchInst 3835 void SwitchInst::addCase(ConstantInt *OnVal, BasicBlock *Dest) { in addCase() 3850 SwitchInst::CaseIt SwitchInst::removeCase(CaseIt I) { in removeCase() 3875 void SwitchInst::growOperands() { in growOperands() 3884 SwitchInstProfUpdateWrapper::getProfBranchWeightsMD(const SwitchInst &SI) { in getProfBranchWeightsMD() 3929 SwitchInst::CaseIt 3930 SwitchInstProfUpdateWrapper::removeCase(SwitchInst::CaseIt I) { in removeCase() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.h | 82 class SwitchInst; variable 182 peelDominantCaseCluster(const SwitchInst &SI, 653 void visitSwitch(const SwitchInst &I);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/ |
D | JumpThreading.h | 155 bool TryToUnfoldSelect(SwitchInst *SI, BasicBlock *BB);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | CrossDSOCFI.cpp | 142 SwitchInst *SI = IRB.CreateSwitch(&CallSiteTypeId, TrapBB, TypeIds.size()); in buildCFICheck()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/ |
D | CoroInternal.h | 114 SwitchInst *ResumeSwitch;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/ |
D | LanaiAsmPrinter.cpp | 223 if (isa<SwitchInst>(B->getTerminator())) in isBlockOnlyReachableByFallthrough()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.h | 124 void visitSwitchInst(SwitchInst &I);
|