/external/llvm/utils/TableGen/ |
D | DAGISelMatcherEmitter.cpp | 277 unsigned NumCases; in EmitMatcher() local 280 NumCases = SOM->getNumCases(); in EmitMatcher() 283 NumCases = cast<SwitchTypeMatcher>(N)->getNumCases(); in EmitMatcher() 287 OS << "/*" << NumCases << " cases */"; in EmitMatcher() 292 for (unsigned i = 0, e = NumCases; i != e; ++i) { in EmitMatcher()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 3310 SwitchInst::SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, in SwitchInst() argument 3314 init(Value, Default, 2+NumCases*2); in SwitchInst() 3321 SwitchInst::SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, in SwitchInst() argument 3325 init(Value, Default, 2+NumCases*2); in SwitchInst() 3441 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() argument 3445 init(Address, NumCases); in IndirectBrInst() 3448 IndirectBrInst::IndirectBrInst(Value *Address, unsigned NumCases, in IndirectBrInst() argument 3452 init(Address, NumCases); in IndirectBrInst()
|
D | Core.cpp | 2223 LLVMBasicBlockRef Else, unsigned NumCases) { in LLVMBuildSwitch() argument 2224 return wrap(unwrap(B)->CreateSwitch(unwrap(V), unwrap(Else), NumCases)); in LLVMBuildSwitch()
|
/external/llvm/include/llvm/IR/ |
D | Instructions.h | 2635 SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, 2642 SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, 2767 unsigned NumCases, 2769 return new SwitchInst(Value, Default, NumCases, InsertBefore); 2772 unsigned NumCases, BasicBlock *InsertAtEnd) { 2773 return new SwitchInst(Value, Default, NumCases, InsertAtEnd);
|
D | IRBuilder.h | 621 SwitchInst *CreateSwitch(Value *V, BasicBlock *Dest, unsigned NumCases = 10, 623 return Insert(addBranchWeights(SwitchInst::Create(V, Dest, NumCases),
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 465 unsigned NumCases = SI->getNumCases(); in processCurrentLoop() local 466 if (LoopCond && NumCases) { in processCurrentLoop()
|
/external/clang/lib/CodeGen/ |
D | CGStmt.cpp | 1575 unsigned NumCases = 0; in EmitSwitchStmt() local 1581 NumCases += 1; in EmitSwitchStmt() 1584 SwitchWeights->reserve(NumCases); in EmitSwitchStmt()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 3747 unsigned NumCases = Record[4]; in ParseFunctionBody() local 3749 SwitchInst *SI = SwitchInst::Create(Cond, Default, NumCases); in ParseFunctionBody() 3753 for (unsigned i = 0; i != NumCases; ++i) { in ParseFunctionBody() 3803 unsigned NumCases = (Record.size()-3)/2; in ParseFunctionBody() local 3804 SwitchInst *SI = SwitchInst::Create(Cond, Default, NumCases); in ParseFunctionBody() 3806 for (unsigned i = 0, e = NumCases; i != e; ++i) { in ParseFunctionBody()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 3185 Constant *NumCases = ConstantInt::get(Offset->getType(), ContiguousCases->size()); in TurnSwitchRangeIntoICmp() local 3193 if (NumCases->isNullValue() && !ContiguousCases->empty()) in TurnSwitchRangeIntoICmp() 3196 Cmp = Builder.CreateICmpULT(Sub, NumCases, "switch"); in TurnSwitchRangeIntoICmp()
|
/external/llvm/include/llvm-c/ |
D | Core.h | 2649 LLVMBasicBlockRef Else, unsigned NumCases);
|