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

References

lib/IR/Core.cpp
 3100   return wrap(unwrap(B)->CreateSwitch(unwrap(V), unwrap(Else), NumCases));
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
 1032       SwitchInst *SI = IRB.CreateSwitch(Label, Tail, SetjmpRetPHIs.size());
lib/Transforms/Coroutines/CoroSplit.cpp
  287       Builder.CreateSwitch(Index, UnreachBB, Shape.CoroSuspends.size());
lib/Transforms/IPO/CrossDSOCFI.cpp
  141   SwitchInst *SI = IRB.CreateSwitch(&CallSiteTypeId, TrapBB, TypeIds.size());
lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
  356   SwitchInst *SI = IRB.CreateSwitch(SizeVar, DefaultBB, SizeIds.size());
lib/Transforms/Scalar/LoopSimplifyCFG.cpp
  360         Builder.CreateSwitch(Builder.getInt32(0), NewPreheader);
lib/Transforms/Utils/SimplifyCFG.cpp
 1177           Builder.CreateSwitch(CV, PredDefault, PredCases.size());
 3784   SwitchInst *New = Builder.CreateSwitch(CompVal, DefaultBB, Values.size());
tools/clang/lib/CodeGen/CGAtomic.cpp
  457   llvm::SwitchInst *SI = CGF.Builder.CreateSwitch(FailureOrderVal, MonotonicBB);
  527       llvm::SwitchInst *SI = CGF.Builder.CreateSwitch(IsWeak, WeakBB);
  702   llvm::SwitchInst *SI = Builder.CreateSwitch(SC, BB[FallBack]);
 1278   llvm::SwitchInst *SI = Builder.CreateSwitch(Order, MonotonicBB);
tools/clang/lib/CodeGen/CGBuiltin.cpp
 2952     llvm::SwitchInst *SI = Builder.CreateSwitch(Order, BBs[0]);
 3017     llvm::SwitchInst *SI = Builder.CreateSwitch(Order, BBs[0]);
 3076     llvm::SwitchInst *SI = Builder.CreateSwitch(Order, ContBB);
tools/clang/lib/CodeGen/CGCoroutine.cpp
  218   auto *Switch = Builder.CreateSwitch(SuspendResult, Coro.SuspendBB, 2);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
  152         UntiedSwitch = CGF.Builder.CreateSwitch(Res, DoneBB);
 5803       CGF.Builder.CreateSwitch(Res, DefaultBB, /*NumCases=*/2);
tools/clang/lib/CodeGen/CGStmt.cpp
 1646   SwitchInsn = Builder.CreateSwitch(CondV, DefaultBlock);
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
 2654           CGF.Builder.CreateSwitch(CGF.EmitLoadOfScalar(IV, S.getBeginLoc()),
unittests/IR/CFGBuilder.cpp
   47     IRB.CreateSwitch(ConstantInt::get(IntTy, 0), To);