/external/llvm/include/llvm/Analysis/ |
CFGPrinter.h | 91 if (const SwitchInst *SI = dyn_cast<SwitchInst>(Node->getTerminator())) { 98 SwitchInst::ConstCaseIt Case = 99 SwitchInst::ConstCaseIt::fromSuccessorIndex(SI, SuccNo);
|
/external/llvm/lib/Transforms/Utils/ |
LowerExpectIntrinsic.cpp | 44 bool HandleSwitchExpect(SwitchInst *SI); 59 bool LowerExpectIntrinsic::HandleSwitchExpect(SwitchInst *SI) { 76 SwitchInst::CaseIt Case = SI->findCaseValue(ExpectedValue); 151 } 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) { 240 for (SwitchInst::CaseIt i = SI->case_begin(), e = SI->case_end(); i != e; ++i) 276 void LowerSwitch::processSwitchInst(SwitchInst *SI) {
|
SimplifyCFG.cpp | 73 bool SimplifySwitch(SwitchInst *SI, IRBuilder<> &Builder); 437 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { 454 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { 481 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { 483 for (SwitchInst::CaseIt i = SI->case_begin(), e = SI->case_end(); i != e; ++i) 599 SwitchInst *SI = cast<SwitchInst>(TI) [all...] |
LowerInvoke.cpp | 98 SwitchInst *CatchSwitch); 204 SwitchInst *CatchSwitch) { 477 SwitchInst *CatchSwitch = 478 SwitchInst::Create(CatchLoad, UnwindBB, Invokes.size(), CatchBB);
|
CloneFunction.cpp | 318 } else if (const SwitchInst *SI = dyn_cast<SwitchInst>(OldTI)) { 326 SwitchInst::ConstCaseIt Case = SI->findCaseValue(Cond);
|
Local.cpp | 105 if (SwitchInst *SI = dyn_cast<SwitchInst>(T)) { 113 for (SwitchInst::CaseIt i = SI->case_begin(), e = SI->case_end(); 171 SwitchInst::CaseIt FirstCase = SI->case_begin(); [all...] |
CodeExtractor.cpp | 467 SwitchInst *TheSwitch = 468 SwitchInst::Create(Constant::getNullValue(Type::getInt16Ty(Context)), 621 TheSwitch->removeCase(SwitchInst::CaseIt(TheSwitch, NumExitBlocks-1));
|
/external/llvm/lib/Transforms/Scalar/ |
CorrelatedValuePropagation.cpp | 41 bool processSwitch(SwitchInst *SI); 186 bool CorrelatedValuePropagation::processSwitch(SwitchInst *SI) { 202 for (SwitchInst::CaseIt CI = SI->case_end(), CE = SI->case_begin(); CI-- != CE; 289 BBChanged |= processSwitch(cast<SwitchInst>(Term));
|
LoopUnswitch.cpp | 72 typedef DenseMap<const SwitchInst*, SmallPtrSet<const Value *, 8> > 112 void setUnswitched(const SwitchInst* SI, const Value* V); 115 bool isUnswitched(const SwitchInst* SI, const Value* V); 286 void LUAnalysisCache::setUnswitched(const SwitchInst* SI, const Value* V) { 291 bool LUAnalysisCache::isUnswitched(const SwitchInst* SI, const Value* V) { 318 const SwitchInst* OldInst = I->first; 320 const SwitchInst* NewInst = cast_or_null<SwitchInst>(NewI); 452 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) [all...] |
SCCP.cpp | 552 if (SwitchInst *SI = dyn_cast<SwitchInst>(&TI)) { 616 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { [all...] |
TailRecursionElimination.cpp | 293 if (SwitchInst *SI = dyn_cast<SwitchInst>(UniquePred->getTerminator()))
|
JumpThreading.cpp | 256 if (isa<SwitchInst>(I)) 670 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(Terminator)) { [all...] |
/external/clang/lib/CodeGen/ |
CGCleanup.cpp | 273 llvm::SwitchInst *Switch, 309 static llvm::SwitchInst *TransitionToCleanupSwitch(CodeGenFunction &CGF, 320 llvm::SwitchInst *Switch = 321 llvm::SwitchInst::Create(Load, Br->getSuccessor(0), 4, Block); 325 return cast<llvm::SwitchInst>(Term); 357 llvm::SwitchInst *Switch = TransitionToCleanupSwitch(*this, BranchBB); 476 llvm::SwitchInst *Switch = cast<llvm::SwitchInst>(Term); 504 llvm::SwitchInst *si = cast<llvm::SwitchInst>(use.getUser()) [all...] |
/external/llvm/tools/llvm-diff/ |
DifferenceEngine.cpp | 310 } else if (isa<SwitchInst>(L)) { 311 SwitchInst *LI = cast<SwitchInst>(L); 312 SwitchInst *RI = cast<SwitchInst>(R); 323 for (SwitchInst::CaseIt I = LI->case_begin(), E = LI->case_end(); 327 for (SwitchInst::CaseIt I = RI->case_begin(), E = RI->case_end();
|
/external/llvm/lib/Analysis/ |
SparsePropagation.cpp | 173 SwitchInst &SI = cast<SwitchInst>(TI); 197 SwitchInst::CaseIt Case = SI.findCaseValue(cast<ConstantInt>(C));
|
LazyValueInfo.cpp | 857 if (SwitchInst *SI = dyn_cast<SwitchInst>(BBFrom->getTerminator())) { 869 for (SwitchInst::CaseIt i = SI->case_begin(), e = SI->case_end(); [all...] |
BranchProbabilityInfo.cpp | 150 if (!isa<BranchInst>(TI) && !isa<SwitchInst>(TI))
|
/external/llvm/include/llvm/ |
Instructions.h | [all...] |
/external/llvm/lib/VMCore/ |
Instructions.cpp | [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAGBuilder.h | 68 class SwitchInst; 200 size_t Clusterify(CaseVector &Cases, const SwitchInst &SI); 300 /// SwitchInst code generation information. 303 /// SwitchInst code generation information. 306 /// SwitchInst code generation information. 430 void visitSwitch(const SwitchInst &I);
|
/external/llvm/include/llvm/Support/ |
InstVisitor.h | 163 RetTy visitSwitchInst(SwitchInst &I) { DELEGATE(TerminatorInst);}
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
Interpreter.h | 143 void visitSwitchInst(SwitchInst &I);
|
/external/llvm/lib/Transforms/InstCombine/ |
InstructionCombining.cpp | [all...] |
/external/llvm/examples/ExceptionDemo/ |
ExceptionDemo.cpp | [all...] |