Searched refs:IBI (Results 1 – 8 of 8) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 192 if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(T)) { in ConstantFoldTerminator() local 195 dyn_cast<BlockAddress>(IBI->getAddress()->stripPointerCasts())) { in ConstantFoldTerminator() 200 for (unsigned i = 0, e = IBI->getNumDestinations(); i != e; ++i) { in ConstantFoldTerminator() 201 if (IBI->getDestination(i) == TheOnlyDest) in ConstantFoldTerminator() 204 IBI->getDestination(i)->removePredecessor(IBI->getParent()); in ConstantFoldTerminator() 206 Value *Address = IBI->getAddress(); in ConstantFoldTerminator() 207 IBI->eraseFromParent(); in ConstantFoldTerminator()
|
D | SimplifyCFG.cpp | 91 bool SimplifyIndirectBr(IndirectBrInst *IBI); 500 } else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(TI)) { in EraseTerminatorInstAndDCECond() local 501 Cond = dyn_cast<Instruction>(IBI->getAddress()); in EraseTerminatorInstAndDCECond() 2340 static bool SimplifyIndirectBrOnSelect(IndirectBrInst *IBI, SelectInst *SI) { in SimplifyIndirectBrOnSelect() argument 2352 return SimplifyTerminatorOnSelect(IBI, SI->getCondition(), TrueBB, FalseBB); in SimplifyIndirectBrOnSelect() 3305 bool SimplifyCFGOpt::SimplifyIndirectBr(IndirectBrInst *IBI) { in SimplifyIndirectBr() argument 3306 BasicBlock *BB = IBI->getParent(); in SimplifyIndirectBr() 3311 for (unsigned i = 0, e = IBI->getNumDestinations(); i != e; ++i) { in SimplifyIndirectBr() 3312 BasicBlock *Dest = IBI->getDestination(i); in SimplifyIndirectBr() 3315 IBI->removeDestination(i); in SimplifyIndirectBr() [all …]
|
/external/llvm/lib/VMCore/ |
D | Instructions.cpp | 3309 IndirectBrInst::IndirectBrInst(const IndirectBrInst &IBI) in IndirectBrInst() argument 3310 : TerminatorInst(Type::getVoidTy(IBI.getContext()), Instruction::IndirectBr, in IndirectBrInst() 3311 allocHungoffUses(IBI.getNumOperands()), in IndirectBrInst() 3312 IBI.getNumOperands()) { in IndirectBrInst() 3313 Use *OL = OperandList, *InOL = IBI.OperandList; in IndirectBrInst() 3314 for (unsigned i = 0, E = IBI.getNumOperands(); i != E; ++i) in IndirectBrInst() 3316 SubclassOptionalData = IBI.SubclassOptionalData; in IndirectBrInst()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2346 IndirectBrInst *IBI = IndirectBrInst::Create(Address, NumDests); in ParseFunctionBody() local 2347 InstructionList.push_back(IBI); in ParseFunctionBody() 2350 IBI->addDestination(DestBB); in ParseFunctionBody() 2352 delete IBI; in ParseFunctionBody() 2356 I = IBI; in ParseFunctionBody()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 1141 const IndirectBrInst *IBI = cast<IndirectBrInst>(I); in printInstruction() local 1143 << opNames[0] << ", " << IBI->getNumDestinations() << ");"; in printInstruction() 1145 for (unsigned i = 1; i != IBI->getNumOperands(); ++i) { in printInstruction()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 3198 IndirectBrInst *IBI = IndirectBrInst::Create(Address, DestList.size()); in ParseIndirectBr() local 3200 IBI->addDestination(DestList[i]); in ParseIndirectBr() 3201 Inst = IBI; in ParseIndirectBr()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 2773 } else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(CurInst)) { in EvaluateBlock() local 2774 Value *Val = getVal(IBI->getAddress())->stripPointerCasts(); in EvaluateBlock()
|
/external/llvm/include/llvm/ |
D | Instructions.h | 2866 IndirectBrInst(const IndirectBrInst &IBI);
|