Home
last modified time | relevance | path

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

/external/llvm/utils/TableGen/
DDAGISelMatcherEmitter.cpp277 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/
DInstructions.cpp3310 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()
DCore.cpp2223 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/
DInstructions.h2635 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);
DIRBuilder.h621 SwitchInst *CreateSwitch(Value *V, BasicBlock *Dest, unsigned NumCases = 10,
623 return Insert(addBranchWeights(SwitchInst::Create(V, Dest, NumCases),
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp465 unsigned NumCases = SI->getNumCases(); in processCurrentLoop() local
466 if (LoopCond && NumCases) { in processCurrentLoop()
/external/clang/lib/CodeGen/
DCGStmt.cpp1575 unsigned NumCases = 0; in EmitSwitchStmt() local
1581 NumCases += 1; in EmitSwitchStmt()
1584 SwitchWeights->reserve(NumCases); in EmitSwitchStmt()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp3747 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/
DSimplifyCFG.cpp3185 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/
DCore.h2649 LLVMBasicBlockRef Else, unsigned NumCases);