Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DLocal.cpp238 if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(T)) { in ConstantFoldTerminator() local
241 dyn_cast<BlockAddress>(IBI->getAddress()->stripPointerCasts())) { in ConstantFoldTerminator()
246 for (unsigned i = 0, e = IBI->getNumDestinations(); i != e; ++i) { in ConstantFoldTerminator()
247 if (IBI->getDestination(i) == TheOnlyDest) in ConstantFoldTerminator()
250 IBI->getDestination(i)->removePredecessor(IBI->getParent()); in ConstantFoldTerminator()
252 Value *Address = IBI->getAddress(); in ConstantFoldTerminator()
253 IBI->eraseFromParent(); in ConstantFoldTerminator()
DSimplifyCFG.cpp129 bool SimplifyIndirectBr(IndirectBrInst *IBI);
514 } else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(TI)) { in EraseTerminatorInstAndDCECond() local
515 Cond = dyn_cast<Instruction>(IBI->getAddress()); in EraseTerminatorInstAndDCECond()
2667 static bool SimplifyIndirectBrOnSelect(IndirectBrInst *IBI, SelectInst *SI) { in SimplifyIndirectBrOnSelect() argument
2679 return SimplifyTerminatorOnSelect(IBI, SI->getCondition(), TrueBB, FalseBB, in SimplifyIndirectBrOnSelect()
4315 bool SimplifyCFGOpt::SimplifyIndirectBr(IndirectBrInst *IBI) { in SimplifyIndirectBr() argument
4316 BasicBlock *BB = IBI->getParent(); in SimplifyIndirectBr()
4321 for (unsigned i = 0, e = IBI->getNumDestinations(); i != e; ++i) { in SimplifyIndirectBr()
4322 BasicBlock *Dest = IBI->getDestination(i); in SimplifyIndirectBr()
4325 IBI->removeDestination(i); in SimplifyIndirectBr()
[all …]
/external/pdfium/core/src/fxcodec/jbig2/
DJBig2_GeneralDecoder.cpp1881 CJBig2_Image *IBI; in decode_Huffman() local
1975 IBI = SBSYMS[IDI]; in decode_Huffman()
2010 IBI = pGRRD->decode(pArithDecoder, grContext); in decode_Huffman()
2011 if(IBI == NULL) { in decode_Huffman()
2020 delete IBI; in decode_Huffman()
2028 if (!IBI) { in decode_Huffman()
2031 WI = IBI->m_nWidth; in decode_Huffman()
2032 HI = IBI->m_nHeight; in decode_Huffman()
2044 SBREG->composeFrom(SI, TI, IBI, SBCOMBOP); in decode_Huffman()
2047 SBREG->composeFrom(SI - WI + 1, TI, IBI, SBCOMBOP); in decode_Huffman()
[all …]
/external/llvm/lib/IR/
DInstructions.cpp3455 IndirectBrInst::IndirectBrInst(const IndirectBrInst &IBI) in IndirectBrInst() argument
3456 : TerminatorInst(Type::getVoidTy(IBI.getContext()), Instruction::IndirectBr, in IndirectBrInst()
3457 allocHungoffUses(IBI.getNumOperands()), in IndirectBrInst()
3458 IBI.getNumOperands()) { in IndirectBrInst()
3459 Use *OL = OperandList, *InOL = IBI.OperandList; in IndirectBrInst()
3460 for (unsigned i = 0, E = IBI.getNumOperands(); i != E; ++i) in IndirectBrInst()
3462 SubclassOptionalData = IBI.SubclassOptionalData; in IndirectBrInst()
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp141 bool visitIndirectBrInst(IndirectBrInst &IBI);
848 bool CallAnalyzer::visitIndirectBrInst(IndirectBrInst &IBI) { in visitIndirectBrInst() argument
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp1172 const IndirectBrInst *IBI = cast<IndirectBrInst>(I); in printInstruction() local
1174 << opNames[0] << ", " << IBI->getNumDestinations() << ");"; in printInstruction()
1176 for (unsigned i = 1; i != IBI->getNumOperands(); ++i) { in printInstruction()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp3827 IndirectBrInst *IBI = IndirectBrInst::Create(Address, NumDests); in ParseFunctionBody() local
3828 InstructionList.push_back(IBI); in ParseFunctionBody()
3831 IBI->addDestination(DestBB); in ParseFunctionBody()
3833 delete IBI; in ParseFunctionBody()
3837 I = IBI; in ParseFunctionBody()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2579 } else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(CurInst)) { in EvaluateBlock() local
2580 Value *Val = getVal(IBI->getAddress())->stripPointerCasts(); in EvaluateBlock()
/external/llvm/lib/AsmParser/
DLLParser.cpp4706 IndirectBrInst *IBI = IndirectBrInst::Create(Address, DestList.size()); in ParseIndirectBr() local
4708 IBI->addDestination(DestList[i]); in ParseIndirectBr()
4709 Inst = IBI; in ParseIndirectBr()
/external/llvm/include/llvm/IR/
DInstructions.h2933 IndirectBrInst(const IndirectBrInst &IBI);