Home
last modified time | relevance | path

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

12

/external/pdfium/core/fxcodec/jbig2/
DJBig2_TrdProc.cpp141 MaybeOwned<CJBig2_Image> IBI; in DecodeHuffman() local
143 IBI = SBSYMS[IDI]; in DecodeHuffman()
190 IBI = pGRRD->Decode(pArithDecoder.get(), grContext); in DecodeHuffman()
191 if (!IBI) in DecodeHuffman()
199 if (!IBI) in DecodeHuffman()
202 uint32_t WI = IBI->width(); in DecodeHuffman()
203 uint32_t HI = IBI->height(); in DecodeHuffman()
216 IBI.Get()->ComposeTo(SBREG.get(), compose.x, compose.y, SBCOMBOP); in DecodeHuffman()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp365 auto *IBI = dyn_cast<IndirectBrInst>(BB.getTerminator()); in SplitIndirectBrCriticalEdges() local
366 if (!IBI) in SplitIndirectBrCriticalEdges()
369 for (unsigned Succ = 0, E = IBI->getNumSuccessors(); Succ != E; ++Succ) in SplitIndirectBrCriticalEdges()
370 Targets.insert(IBI->getSuccessor(Succ)); in SplitIndirectBrCriticalEdges()
DSimplifyCFG.cpp202 bool SimplifyIndirectBr(IndirectBrInst *IBI);
689 } else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(TI)) { in EraseTerminatorAndDCECond() local
690 Cond = dyn_cast<Instruction>(IBI->getAddress()); in EraseTerminatorAndDCECond()
3616 static bool SimplifyIndirectBrOnSelect(IndirectBrInst *IBI, SelectInst *SI) { in SimplifyIndirectBrOnSelect() argument
3628 return SimplifyTerminatorOnSelect(IBI, SI->getCondition(), TrueBB, FalseBB, 0, in SimplifyIndirectBrOnSelect()
5743 bool SimplifyCFGOpt::SimplifyIndirectBr(IndirectBrInst *IBI) { in SimplifyIndirectBr() argument
5744 BasicBlock *BB = IBI->getParent(); in SimplifyIndirectBr()
5749 for (unsigned i = 0, e = IBI->getNumDestinations(); i != e; ++i) { in SimplifyIndirectBr()
5750 BasicBlock *Dest = IBI->getDestination(i); in SimplifyIndirectBr()
5753 IBI->removeDestination(i); in SimplifyIndirectBr()
[all …]
DLocal.cpp301 if (auto *IBI = dyn_cast<IndirectBrInst>(T)) { in ConstantFoldTerminator() local
304 dyn_cast<BlockAddress>(IBI->getAddress()->stripPointerCasts())) { in ConstantFoldTerminator()
308 Updates.reserve(IBI->getNumDestinations() - 1); in ConstantFoldTerminator()
313 for (unsigned i = 0, e = IBI->getNumDestinations(); i != e; ++i) { in ConstantFoldTerminator()
314 if (IBI->getDestination(i) == TheOnlyDest) { in ConstantFoldTerminator()
317 BasicBlock *ParentBB = IBI->getParent(); in ConstantFoldTerminator()
318 BasicBlock *DestBB = IBI->getDestination(i); in ConstantFoldTerminator()
324 Value *Address = IBI->getAddress(); in ConstantFoldTerminator()
325 IBI->eraseFromParent(); in ConstantFoldTerminator()
DEvaluator.cpp625 } else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(CurInst)) { in EvaluateBlock() local
626 Value *Val = getVal(IBI->getAddress())->stripPointerCasts(); in EvaluateBlock()
/external/llvm-project/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp379 auto *IBI = dyn_cast<IndirectBrInst>(BB.getTerminator()); in SplitIndirectBrCriticalEdges() local
380 if (!IBI) in SplitIndirectBrCriticalEdges()
383 for (unsigned Succ = 0, E = IBI->getNumSuccessors(); Succ != E; ++Succ) in SplitIndirectBrCriticalEdges()
384 Targets.insert(IBI->getSuccessor(Succ)); in SplitIndirectBrCriticalEdges()
DSimplifyCFG.cpp231 bool simplifyIndirectBr(IndirectBrInst *IBI);
249 bool SimplifyIndirectBrOnSelect(IndirectBrInst *IBI, SelectInst *SI);
732 } else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(TI)) { in EraseTerminatorAndDCECond() local
733 Cond = dyn_cast<Instruction>(IBI->getAddress()); in EraseTerminatorAndDCECond()
3768 bool SimplifyCFGOpt::SimplifyIndirectBrOnSelect(IndirectBrInst *IBI, in SimplifyIndirectBrOnSelect() argument
3781 return SimplifyTerminatorOnSelect(IBI, SI->getCondition(), TrueBB, FalseBB, 0, in SimplifyIndirectBrOnSelect()
5897 bool SimplifyCFGOpt::simplifyIndirectBr(IndirectBrInst *IBI) { in simplifyIndirectBr() argument
5898 BasicBlock *BB = IBI->getParent(); in simplifyIndirectBr()
5903 for (unsigned i = 0, e = IBI->getNumDestinations(); i != e; ++i) { in simplifyIndirectBr()
5904 BasicBlock *Dest = IBI->getDestination(i); in simplifyIndirectBr()
[all …]
DLocal.cpp323 if (auto *IBI = dyn_cast<IndirectBrInst>(T)) { in ConstantFoldTerminator() local
326 dyn_cast<BlockAddress>(IBI->getAddress()->stripPointerCasts())) { in ConstantFoldTerminator()
330 Updates.reserve(IBI->getNumDestinations() - 1); in ConstantFoldTerminator()
335 for (unsigned i = 0, e = IBI->getNumDestinations(); i != e; ++i) { in ConstantFoldTerminator()
336 if (IBI->getDestination(i) == TheOnlyDest) { in ConstantFoldTerminator()
339 BasicBlock *ParentBB = IBI->getParent(); in ConstantFoldTerminator()
340 BasicBlock *DestBB = IBI->getDestination(i); in ConstantFoldTerminator()
346 Value *Address = IBI->getAddress(); in ConstantFoldTerminator()
347 IBI->eraseFromParent(); in ConstantFoldTerminator()
DEvaluator.cpp628 } else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(CurInst)) { in EvaluateBlock() local
629 Value *Val = getVal(IBI->getAddress())->stripPointerCasts(); in EvaluateBlock()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp161 bool SimplifyIndirectBr(IndirectBrInst *IBI);
633 } else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(TI)) { in EraseTerminatorInstAndDCECond() local
634 Cond = dyn_cast<Instruction>(IBI->getAddress()); in EraseTerminatorInstAndDCECond()
3108 static bool SimplifyIndirectBrOnSelect(IndirectBrInst *IBI, SelectInst *SI) { in SimplifyIndirectBrOnSelect() argument
3120 return SimplifyTerminatorOnSelect(IBI, SI->getCondition(), TrueBB, FalseBB, 0, in SimplifyIndirectBrOnSelect()
5087 bool SimplifyCFGOpt::SimplifyIndirectBr(IndirectBrInst *IBI) { in SimplifyIndirectBr() argument
5088 BasicBlock *BB = IBI->getParent(); in SimplifyIndirectBr()
5093 for (unsigned i = 0, e = IBI->getNumDestinations(); i != e; ++i) { in SimplifyIndirectBr()
5094 BasicBlock *Dest = IBI->getDestination(i); in SimplifyIndirectBr()
5097 IBI->removeDestination(i); in SimplifyIndirectBr()
[all …]
DLocal.cpp246 if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(T)) { in ConstantFoldTerminator() local
249 dyn_cast<BlockAddress>(IBI->getAddress()->stripPointerCasts())) { in ConstantFoldTerminator()
254 for (unsigned i = 0, e = IBI->getNumDestinations(); i != e; ++i) { in ConstantFoldTerminator()
255 if (IBI->getDestination(i) == TheOnlyDest) in ConstantFoldTerminator()
258 IBI->getDestination(i)->removePredecessor(IBI->getParent()); in ConstantFoldTerminator()
260 Value *Address = IBI->getAddress(); in ConstantFoldTerminator()
261 IBI->eraseFromParent(); in ConstantFoldTerminator()
DEvaluator.cpp490 } else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(CurInst)) { in EvaluateBlock() local
491 Value *Val = getVal(IBI->getAddress())->stripPointerCasts(); in EvaluateBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp4047 IndirectBrInst::IndirectBrInst(const IndirectBrInst &IBI) in IndirectBrInst() argument
4048 : Instruction(Type::getVoidTy(IBI.getContext()), Instruction::IndirectBr, in IndirectBrInst()
4049 nullptr, IBI.getNumOperands()) { in IndirectBrInst()
4050 allocHungoffUses(IBI.getNumOperands()); in IndirectBrInst()
4052 const Use *InOL = IBI.getOperandList(); in IndirectBrInst()
4053 for (unsigned i = 0, E = IBI.getNumOperands(); i != E; ++i) in IndirectBrInst()
4055 SubclassOptionalData = IBI.SubclassOptionalData; in IndirectBrInst()
DVerifier.cpp4069 else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(&I)) in visitProfMetadata() local
4070 ExpectedNumOperands = IBI->getNumDestinations(); in visitProfMetadata()
/external/llvm/lib/IR/
DInstructions.cpp3834 IndirectBrInst::IndirectBrInst(const IndirectBrInst &IBI) in IndirectBrInst() argument
3835 : TerminatorInst(Type::getVoidTy(IBI.getContext()), Instruction::IndirectBr, in IndirectBrInst()
3836 nullptr, IBI.getNumOperands()) { in IndirectBrInst()
3837 allocHungoffUses(IBI.getNumOperands()); in IndirectBrInst()
3839 const Use *InOL = IBI.getOperandList(); in IndirectBrInst()
3840 for (unsigned i = 0, E = IBI.getNumOperands(); i != E; ++i) in IndirectBrInst()
3842 SubclassOptionalData = IBI.SubclassOptionalData; in IndirectBrInst()
/external/llvm/lib/Analysis/
DInlineCost.cpp199 bool visitIndirectBrInst(IndirectBrInst &IBI);
1016 bool CallAnalyzer::visitIndirectBrInst(IndirectBrInst &IBI) { in visitIndirectBrInst() argument
/external/llvm-project/llvm/lib/IR/
DInstructions.cpp4245 IndirectBrInst::IndirectBrInst(const IndirectBrInst &IBI) in IndirectBrInst() argument
4246 : Instruction(Type::getVoidTy(IBI.getContext()), Instruction::IndirectBr, in IndirectBrInst()
4247 nullptr, IBI.getNumOperands()) { in IndirectBrInst()
4248 allocHungoffUses(IBI.getNumOperands()); in IndirectBrInst()
4250 const Use *InOL = IBI.getOperandList(); in IndirectBrInst()
4251 for (unsigned i = 0, E = IBI.getNumOperands(); i != E; ++i) in IndirectBrInst()
4253 SubclassOptionalData = IBI.SubclassOptionalData; in IndirectBrInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInlineCost.cpp333 bool visitIndirectBrInst(IndirectBrInst &IBI);
1678 bool CallAnalyzer::visitIndirectBrInst(IndirectBrInst &IBI) { in visitIndirectBrInst() argument
/external/llvm-project/llvm/lib/Analysis/
DInlineCost.cpp390 bool visitIndirectBrInst(IndirectBrInst &IBI);
1840 bool CallAnalyzer::visitIndirectBrInst(IndirectBrInst &IBI) { in visitIndirectBrInst() argument
/external/llvm-project/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4557 IndirectBrInst *IBI = IndirectBrInst::Create(Address, NumDests); in parseFunctionBody() local
4558 InstructionList.push_back(IBI); in parseFunctionBody()
4561 IBI->addDestination(DestBB); in parseFunctionBody()
4563 delete IBI; in parseFunctionBody()
4567 I = IBI; in parseFunctionBody()
5484 else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(&I)) in materialize() local
5485 ExpectedNumOperands = IBI->getNumDestinations(); in materialize()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4455 IndirectBrInst *IBI = IndirectBrInst::Create(Address, NumDests); in parseFunctionBody() local
4456 InstructionList.push_back(IBI); in parseFunctionBody()
4459 IBI->addDestination(DestBB); in parseFunctionBody()
4461 delete IBI; in parseFunctionBody()
4465 I = IBI; in parseFunctionBody()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp5070 IndirectBrInst *IBI = IndirectBrInst::Create(Address, NumDests); in parseFunctionBody() local
5071 InstructionList.push_back(IBI); in parseFunctionBody()
5074 IBI->addDestination(DestBB); in parseFunctionBody()
5076 delete IBI; in parseFunctionBody()
5080 I = IBI; in parseFunctionBody()
/external/llvm/lib/AsmParser/
DLLParser.cpp5232 IndirectBrInst *IBI = IndirectBrInst::Create(Address, DestList.size()); in ParseIndirectBr() local
5234 IBI->addDestination(DestList[i]); in ParseIndirectBr()
5235 Inst = IBI; in ParseIndirectBr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.cpp6034 IndirectBrInst *IBI = IndirectBrInst::Create(Address, DestList.size()); in ParseIndirectBr() local
6036 IBI->addDestination(DestList[i]); in ParseIndirectBr()
6037 Inst = IBI; in ParseIndirectBr()
/external/llvm-project/llvm/lib/AsmParser/
DLLParser.cpp6405 IndirectBrInst *IBI = IndirectBrInst::Create(Address, DestList.size()); in parseIndirectBr() local
6407 IBI->addDestination(DestList[i]); in parseIndirectBr()
6408 Inst = IBI; in parseIndirectBr()

12