Searched refs:NumCases (Results 1 – 8 of 8) sorted by relevance
/external/llvm/utils/TableGen/ |
D | DAGISelMatcherEmitter.cpp | 271 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/ |
D | Instructions.cpp | 2834 SwitchInst::SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, in SwitchInst() argument 2838 init(Value, Default, 2+NumCases*2); in SwitchInst() 2845 SwitchInst::SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, in SwitchInst() argument 2849 init(Value, Default, 2+NumCases*2); in SwitchInst() 2964 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() argument 2968 init(Address, NumCases); in IndirectBrInst() 2971 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() argument 2975 init(Address, NumCases); in IndirectBrInst()
|
D | Core.cpp | 1667 LLVMBasicBlockRef Else, unsigned NumCases) { in LLVMBuildSwitch() argument 1668 return wrap(unwrap(B)->CreateSwitch(unwrap(V), unwrap(Else), NumCases)); in LLVMBuildSwitch()
|
/external/llvm/include/llvm/ |
D | Instructions.h | 1999 SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, 2006 SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, 2012 unsigned NumCases, Instruction *InsertBefore = 0) { 2013 return new SwitchInst(Value, Default, NumCases, InsertBefore); 2016 unsigned NumCases, BasicBlock *InsertAtEnd) { 2017 return new SwitchInst(Value, Default, NumCases, InsertAtEnd);
|
/external/llvm/include/llvm/Support/ |
D | IRBuilder.h | 439 SwitchInst *CreateSwitch(Value *V, BasicBlock *Dest, unsigned NumCases = 10) { 440 return Insert(SwitchInst::Create(V, Dest, NumCases));
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2389 unsigned NumCases = (Record.size()-3)/2; in ParseFunctionBody() local 2390 SwitchInst *SI = SwitchInst::Create(Cond, Default, NumCases); in ParseFunctionBody() 2392 for (unsigned i = 0, e = NumCases; i != e; ++i) { in ParseFunctionBody()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 2402 Constant *NumCases = ConstantInt::get(Offset->getType(), SI->getNumCases()-1); in TurnSwitchRangeIntoICmp() local 2407 Value *Cmp = Builder.CreateICmpULT(Sub, NumCases, "switch"); in TurnSwitchRangeIntoICmp()
|
/external/llvm/include/llvm-c/ |
D | Core.h | 814 LLVMBasicBlockRef Else, unsigned NumCases);
|