reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/CGStmt.cpp
 1207       SwitchInsn->addCase(Builder.getInt(LHS), CaseDest);
 1228     Builder.CreateSub(SwitchInsn->getCondition(), Builder.getInt(LHS));
 1258   if (!SwitchInsn) {
 1284       SwitchInsn->addCase(CaseVal, Block.getBlock());
 1300   SwitchInsn->addCase(CaseVal, CaseDest);
 1327     SwitchInsn->addCase(CaseVal, CaseDest);
 1339   if (!SwitchInsn) {
 1344   llvm::BasicBlock *DefaultBlock = SwitchInsn->getDefaultDest();
 1587   llvm::SwitchInst *SavedSwitchInsn = SwitchInsn;
 1614       SwitchInsn = nullptr;
 1624       SwitchInsn = SavedSwitchInsn;
 1646   SwitchInsn = Builder.CreateSwitch(CondV, DefaultBlock);
 1684   SwitchInsn->setDefaultDest(CaseRangeBlock);
 1714       SwitchInsn->setMetadata(llvm::LLVMContext::MD_unpredictable,
 1720     assert(SwitchWeights->size() == 1 + SwitchInsn->getNumCases() &&
 1724       SwitchInsn->setMetadata(llvm::LLVMContext::MD_prof,
 1728   SwitchInsn = SavedSwitchInsn;