|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/Instructions.h 3433 void addCase(ConstantInt *OnVal, BasicBlock *Dest);
References
lib/AsmParser/LLParser.cpp 5990 SI->addCase(Table[i].first, Table[i].second);
lib/Bitcode/Reader/BitcodeReader.cpp 4413 SI->addCase(*cvi, DestBB);
4439 SI->addCase(CaseVal, DestBB);
lib/CodeGen/IndirectBrExpandPass.cpp 215 SI->addCase(ConstantInt::get(CommonITy, i + 1), BBs[i]);
lib/IR/Core.cpp 3195 unwrap<SwitchInst>(Switch)->addCase(unwrap<ConstantInt>(OnVal), unwrap(Dest));
lib/IR/Instructions.cpp 3955 SI.addCase(OnVal, Dest);
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp 1038 SI->addCase(IRB.getInt32(I + 1), SetjmpRetPHIs[I]->getParent());
lib/Transforms/Coroutines/CoroSplit.cpp 344 Switch->addCase(IndexVal, ResumeBB);
lib/Transforms/IPO/CrossDSOCFI.cpp 154 SI->addCase(CaseTypeId, TestBB);
lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp 385 SI->addCase(CaseSizeId, CaseBB);
lib/Transforms/Scalar/LoopSimplifyCFG.cpp 375 DummySwitch->addCase(Builder.getInt32(DummyIdx++), BB);
lib/Transforms/Utils/CodeExtractor.cpp 1221 TheSwitch->addCase(ConstantInt::get(Type::getInt16Ty(Context),
lib/Transforms/Utils/SimplifyCFG.cpp 1180 NewSI->addCase(V.Value, V.Dest);
3788 New->addCase(Values[i], EdgeBB);
tools/clang/lib/CodeGen/CGAtomic.cpp 474 SI->addCase(CGF.Builder.getInt32((int)llvm::AtomicOrderingCABI::consume),
476 SI->addCase(CGF.Builder.getInt32((int)llvm::AtomicOrderingCABI::acquire),
484 SI->addCase(CGF.Builder.getInt32((int)llvm::AtomicOrderingCABI::seq_cst),
528 SI->addCase(CGF.Builder.getInt1(false), StrongBB);
706 SI->addCase(Builder.getInt32(S), B);
1290 SI->addCase(Builder.getInt32((int)llvm::AtomicOrderingCABI::consume),
1292 SI->addCase(Builder.getInt32((int)llvm::AtomicOrderingCABI::acquire),
1300 SI->addCase(Builder.getInt32((int)llvm::AtomicOrderingCABI::release),
1308 SI->addCase(Builder.getInt32((int)llvm::AtomicOrderingCABI::acq_rel),
1315 SI->addCase(Builder.getInt32((int)llvm::AtomicOrderingCABI::seq_cst),
tools/clang/lib/CodeGen/CGBuiltin.cpp 2966 SI->addCase(Builder.getInt32(0), BBs[0]);
2967 SI->addCase(Builder.getInt32(1), BBs[1]);
2968 SI->addCase(Builder.getInt32(2), BBs[1]);
2969 SI->addCase(Builder.getInt32(3), BBs[2]);
2970 SI->addCase(Builder.getInt32(4), BBs[3]);
2971 SI->addCase(Builder.getInt32(5), BBs[4]);
3026 SI->addCase(Builder.getInt32(0), BBs[0]);
3027 SI->addCase(Builder.getInt32(3), BBs[1]);
3028 SI->addCase(Builder.getInt32(5), BBs[2]);
3081 SI->addCase(Builder.getInt32(1), AcquireBB);
3082 SI->addCase(Builder.getInt32(2), AcquireBB);
3087 SI->addCase(Builder.getInt32(3), ReleaseBB);
3092 SI->addCase(Builder.getInt32(4), AcqRelBB);
3097 SI->addCase(Builder.getInt32(5), SeqCstBB);
tools/clang/lib/CodeGen/CGCleanup.cpp 349 Switch->addCase(CGF.Builder.getInt32(Fixup.DestinationIndex),
409 Switch->addCase(Builder.getInt32(Fixup.DestinationIndex), Block);
875 Switch->addCase(Builder.getInt32(0), FallthroughDest);
879 Switch->addCase(Scope.getBranchAfterIndex(I),
tools/clang/lib/CodeGen/CGCoroutine.cpp 219 Switch->addCase(Builder.getInt8(0), ReadyBlock);
220 Switch->addCase(Builder.getInt8(1), CleanupBlock);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 156 UntiedSwitch->addCase(CGF.Builder.getInt32(0),
173 UntiedSwitch->addCase(CGF.Builder.getInt32(UntiedSwitch->getNumCases()),
5812 SwInst->addCase(CGF.Builder.getInt32(1), Case1BB);
5852 SwInst->addCase(CGF.Builder.getInt32(2), Case2BB);
tools/clang/lib/CodeGen/CGStmt.cpp 1207 SwitchInsn->addCase(Builder.getInt(LHS), CaseDest);
1284 SwitchInsn->addCase(CaseVal, Block.getBlock());
1300 SwitchInsn->addCase(CaseVal, CaseDest);
1327 SwitchInsn->addCase(CaseVal, CaseDest);
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 2661 SwitchStmt->addCase(CGF.Builder.getInt32(CaseNumber), CaseBB);
2669 SwitchStmt->addCase(CGF.Builder.getInt32(0), CaseBB);
unittests/Analysis/BranchProbabilityInfoTest.cpp 75 Switch->addCase(ConstantInt::get(I32, I), PreExitBB);
unittests/IR/CFGBuilder.cpp 55 SI->addCase(IntVal, To);
unittests/IR/InstructionsTest.cpp 709 SI->addCase(ConstantInt::get(Int32Ty, 1), BB1.get());
710 SI->addCase(ConstantInt::get(Int32Ty, 2), BB2.get());
711 SI->addCase(ConstantInt::get(Int32Ty, 3), BB3.get());
772 SI->addCase(ConstantInt::get(Int32Ty, 1), BB1.get());
773 SI->addCase(ConstantInt::get(Int32Ty, 2), BB2.get());