Home
last modified time | relevance | path

Searched refs:NumCases (Results 1 – 9 of 9) sorted by relevance

/external/llvm/utils/TableGen/
DDAGISelMatcherEmitter.cpp271 unsigned NumCases; in EmitMatcher() local
274 NumCases = SOM->getNumCases(); in EmitMatcher()
277 NumCases = cast<SwitchTypeMatcher>(N)->getNumCases(); in EmitMatcher()
281 OS << "/*" << NumCases << " cases */"; in EmitMatcher()
286 for (unsigned i = 0, e = NumCases; i != e; ++i) { in EmitMatcher()
/external/llvm/lib/VMCore/
DInstructions.cpp3134 SwitchInst::SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, in SwitchInst() argument
3138 init(Value, Default, 2+NumCases*2); in SwitchInst()
3145 SwitchInst::SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, in SwitchInst() argument
3149 init(Value, Default, 2+NumCases*2); in SwitchInst()
3265 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() argument
3269 init(Address, NumCases); in IndirectBrInst()
3272 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() argument
3276 init(Address, NumCases); in IndirectBrInst()
DCore.cpp1782 LLVMBasicBlockRef Else, unsigned NumCases) { in LLVMBuildSwitch() argument
1783 return wrap(unwrap(B)->CreateSwitch(unwrap(V), unwrap(Else), NumCases)); in LLVMBuildSwitch()
/external/llvm/include/llvm/
DInstructions.h2458 SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases,
2465 SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases,
2587 unsigned NumCases, Instruction *InsertBefore = 0) {
2588 return new SwitchInst(Value, Default, NumCases, InsertBefore);
2591 unsigned NumCases, BasicBlock *InsertAtEnd) {
2592 return new SwitchInst(Value, Default, NumCases, InsertAtEnd);
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp455 unsigned NumCases = SI->getNumCases(); in processCurrentLoop() local
456 if (LoopCond && NumCases) { in processCurrentLoop()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2281 unsigned NumCases = (Record.size()-3)/2; in ParseFunctionBody() local
2282 SwitchInst *SI = SwitchInst::Create(Cond, Default, NumCases); in ParseFunctionBody()
2284 for (unsigned i = 0, e = NumCases; i != e; ++i) { in ParseFunctionBody()
/external/llvm/include/llvm/Support/
DIRBuilder.h454 SwitchInst *CreateSwitch(Value *V, BasicBlock *Dest, unsigned NumCases = 10) {
455 return Insert(SwitchInst::Create(V, Dest, NumCases));
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2539 Constant *NumCases = ConstantInt::get(Offset->getType(), SI->getNumCases()); in TurnSwitchRangeIntoICmp() local
2544 Value *Cmp = Builder.CreateICmpULT(Sub, NumCases, "switch"); in TurnSwitchRangeIntoICmp()
/external/llvm/include/llvm-c/
DCore.h2290 LLVMBasicBlockRef Else, unsigned NumCases);