/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
CFGBuilder.cpp | 52 SwitchInst *SI = cast<SwitchInst>(From->getTerminator()); 63 SwitchInst *SI = cast<SwitchInst>(From->getTerminator()); 174 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("entry")->getTerminator())); 175 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("a")->getTerminator())); 177 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("d")->getTerminator())); 179 auto *DSwitch = cast<SwitchInst>(B.getOrAddBlock("d")->getTerminator()); 202 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("entry")->getTerminator())); 203 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("a")->getTerminator())) [all...] |
/external/llvm/include/llvm/Analysis/ |
CFGPrinter.h | 107 if (const SwitchInst *SI = dyn_cast<SwitchInst>(Node->getTerminator())) { 114 SwitchInst::ConstCaseIt Case = 115 SwitchInst::ConstCaseIt::fromSuccessorIndex(SI, SuccNo);
|
/external/llvm/lib/Transforms/Scalar/ |
LowerExpectIntrinsic.cpp | 56 static bool handleSwitchExpect(SwitchInst &SI) { 70 SwitchInst::CaseIt Case = SI.findCaseValue(ExpectedValue); 149 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(BB.getTerminator())) {
|
LoopUnswitch.cpp | 97 typedef DenseMap<const SwitchInst*, SmallPtrSet<const Value *, 8> > 150 void setUnswitched(const SwitchInst *SI, const Value *V); 153 bool isUnswitched(const SwitchInst *SI, const Value *V); 331 void LUAnalysisCache::setUnswitched(const SwitchInst *SI, const Value *V) { 336 bool LUAnalysisCache::isUnswitched(const SwitchInst *SI, const Value *V) { 369 const SwitchInst *OldInst = I->first; 371 const SwitchInst *NewInst = cast_or_null<SwitchInst>(NewI); 609 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) [all...] |
CorrelatedValuePropagation.cpp | 218 static bool processSwitch(SwitchInst *SI, LazyValueInfo *LVI) { 234 for (SwitchInst::CaseIt CI = SI->case_end(), CE = SI->case_begin(); CI-- != CE; 445 BBChanged |= processSwitch(cast<SwitchInst>(Term), LVI);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
LowerExpectIntrinsic.cpp | 31 bool HandleSwitchExpect(SwitchInst *SI); 46 bool LowerExpectIntrinsic::HandleSwitchExpect(SwitchInst *SI) { 135 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(BB->getTerminator())) {
|
LowerSwitch.cpp | 31 /// LowerSwitch Pass - Replace all SwitchInst instructions with chained branch 61 void processSwitchInst(SwitchInst *SI); 67 unsigned Clusterify(CaseVector& Cases, SwitchInst *SI); 85 "Lower SwitchInst's to branches", false, false) 100 if (SwitchInst *SI = dyn_cast<SwitchInst>(Cur->getTerminator())) { 236 unsigned LowerSwitch::Clusterify(CaseVector& Cases, SwitchInst *SI) { 276 void LowerSwitch::processSwitchInst(SwitchInst *SI) {
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
CFGPrinter.h | 91 if (const SwitchInst *SI = dyn_cast<SwitchInst>(Node->getTerminator())) {
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
CFGPrinter.h | 136 if (const SwitchInst *SI = dyn_cast<SwitchInst>(Node->getTerminator())) { 143 auto Case = *SwitchInst::ConstCaseIt::fromSuccessorIndex(SI, SuccNo);
|
SparsePropagation.h | 343 SwitchInst &SI = cast<SwitchInst>(TI); 369 SwitchInst::CaseHandle Case = *SI.findCaseValue(cast<ConstantInt>(C));
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
BranchProbabilityInfoTest.cpp | 74 auto *Switch = SwitchInst::Create(Undef, ExitBB, NumCases, EntryBB);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
LoopUnswitch.cpp | 102 DenseMap<const SwitchInst *, SmallPtrSet<const Value *, 8>>; 151 void setUnswitched(const SwitchInst *SI, const Value *V); 154 bool isUnswitched(const SwitchInst *SI, const Value *V); 333 void LUAnalysisCache::setUnswitched(const SwitchInst *SI, const Value *V) { 338 bool LUAnalysisCache::isUnswitched(const SwitchInst *SI, const Value *V) { 370 const SwitchInst *OldInst = I->first; 372 const SwitchInst *NewInst = cast_or_null<SwitchInst>(NewI); 725 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) [all...] |
LowerExpectIntrinsic.cpp | 57 static bool handleSwitchExpect(SwitchInst &SI) { 71 SwitchInst::CaseHandle Case = *SI.findCaseValue(ExpectedValue); 315 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(BB.getTerminator())) {
|
/external/bcc/src/cc/frontends/b/ |
codegen_llvm.h | 38 class SwitchInst; 126 llvm::SwitchInst *cur_switch_;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/ |
CoroInternal.h | 84 SwitchInst *ResumeSwitch;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
PredicateInfo.h | 181 SwitchInst *Switch; 183 Value *CaseValue, SwitchInst *SI) 235 void processSwitch(SwitchInst *, BasicBlock *, SmallPtrSetImpl<Value *> &);
|
/external/llvm/lib/Transforms/Utils/ |
LowerSwitch.cpp | 52 /// Replace all SwitchInst instructions with chained branch instructions. 74 void processSwitchInst(SwitchInst *SI, SmallPtrSetImpl<BasicBlock*> &DeleteList); 83 unsigned Clusterify(CaseVector &Cases, SwitchInst *SI); 101 "Lower SwitchInst's to branches", false, false) 122 if (SwitchInst *SI = dyn_cast<SwitchInst>(Cur->getTerminator())) { 355 unsigned LowerSwitch::Clusterify(CaseVector& Cases, SwitchInst *SI) { 359 for (SwitchInst::CaseIt i = SI->case_begin(), e = SI->case_end(); i != e; ++i) 398 void LowerSwitch::processSwitchInst(SwitchInst *SI,
|
SimplifyCFG.cpp | 160 bool SimplifySwitch(SwitchInst *SI, IRBuilder<> &Builder); 628 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { 646 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { 675 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { 677 for (SwitchInst::CaseIt i = SI->case_begin(), e = SI->case_end(); i != e; 792 SwitchInst *SI = cast<SwitchInst>(TI) [all...] |
/external/llvm/tools/llvm-diff/ |
DifferenceEngine.cpp | 306 } else if (isa<SwitchInst>(L)) { 307 SwitchInst *LI = cast<SwitchInst>(L); 308 SwitchInst *RI = cast<SwitchInst>(R); 319 for (SwitchInst::CaseIt I = LI->case_begin(), E = LI->case_end(); 323 for (SwitchInst::CaseIt I = RI->case_begin(), E = RI->case_end();
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
LowerSwitch.cpp | 69 /// Replace all SwitchInst instructions with chained branch instructions. 94 void processSwitchInst(SwitchInst *SI, SmallPtrSetImpl<BasicBlock*> &DeleteList); 103 unsigned Clusterify(CaseVector &Cases, SwitchInst *SI); 125 "Lower SwitchInst's to branches", false, false) 144 if (SwitchInst *SI = dyn_cast<SwitchInst>(Cur->getTerminator())) { 367 unsigned LowerSwitch::Clusterify(CaseVector& Cases, SwitchInst *SI) { 410 void LowerSwitch::processSwitchInst(SwitchInst *SI,
|
SimplifyCFG.cpp | 192 bool SimplifySwitch(SwitchInst *SI, IRBuilder<> &Builder); 669 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { 687 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { 714 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { 772 // Set branch weights on SwitchInst. This sets the metadata if there is at 774 static void setBranchWeights(SwitchInst *SI, ArrayRef<uint32_t> Weights) { [all...] |
/external/clang/lib/CodeGen/ |
CGCleanup.cpp | 325 llvm::SwitchInst *Switch, 362 static llvm::SwitchInst *TransitionToCleanupSwitch(CodeGenFunction &CGF, 373 llvm::SwitchInst *Switch = 374 llvm::SwitchInst::Create(Load, Br->getSuccessor(0), 4, Block); 378 return cast<llvm::SwitchInst>(Term); 410 llvm::SwitchInst *Switch = TransitionToCleanupSwitch(*this, BranchBB); 550 llvm::SwitchInst *Switch = cast<llvm::SwitchInst>(Term); 578 llvm::SwitchInst *si = cast<llvm::SwitchInst>(use.getUser()) [all...] |
/external/llvm/lib/Analysis/ |
SparsePropagation.cpp | 174 SwitchInst &SI = cast<SwitchInst>(TI); 198 SwitchInst::CaseIt Case = SI.findCaseValue(cast<ConstantInt>(C));
|
/external/swiftshader/third_party/LLVM/tools/llvm-diff/ |
DifferenceEngine.cpp | 310 } else if (isa<SwitchInst>(L)) { 311 SwitchInst *LI = cast<SwitchInst>(L); 312 SwitchInst *RI = cast<SwitchInst>(R);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAGBuilder.h | 79 class SwitchInst; 336 unsigned Last, const SwitchInst *SI, 340 void findJumpTables(CaseClusterVector &Clusters, const SwitchInst *SI, 346 const SwitchInst *SI, CaseCluster &BTCluster); 349 void findBitTestClusters(CaseClusterVector &Clusters, const SwitchInst *SI); 376 MachineBasicBlock *peelDominantCaseCluster(const SwitchInst &SI, 592 /// SwitchInst code generation information. 596 /// SwitchInst code generation information. 600 /// SwitchInst code generation information. [all...] |