/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 | 3134 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()
|
D | Core.cpp | 1782 LLVMBasicBlockRef Else, unsigned NumCases) { in LLVMBuildSwitch() argument 1783 return wrap(unwrap(B)->CreateSwitch(unwrap(V), unwrap(Else), NumCases)); in LLVMBuildSwitch()
|
/external/llvm/include/llvm/ |
D | Instructions.h | 2458 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/ |
D | LoopUnswitch.cpp | 455 unsigned NumCases = SI->getNumCases(); in processCurrentLoop() local 456 if (LoopCond && NumCases) { in processCurrentLoop()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2281 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/ |
D | IRBuilder.h | 454 SwitchInst *CreateSwitch(Value *V, BasicBlock *Dest, unsigned NumCases = 10) { 455 return Insert(SwitchInst::Create(V, Dest, NumCases));
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 2539 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/ |
D | Core.h | 2290 LLVMBasicBlockRef Else, unsigned NumCases);
|