/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | TypeMetadataUtils.cpp | 113 if (auto EVI = dyn_cast<ExtractValueInst>(CIU)) { 114 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 0) { 115 LoadedPtrs.push_back(EVI); 118 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 1) { 119 Preds.push_back(EVI);
|
H A D | LazyValueInfo.cpp | 444 ExtractValueInst *EVI, BasicBlock *BB); 658 if (auto *EVI = dyn_cast<ExtractValueInst>(BBI)) 659 return solveBlockValueExtractValue(Res, EVI, BB); 1168 ValueLatticeElement &BBLV, ExtractValueInst *EVI, BasicBlock *BB) { 1169 if (auto *WO = dyn_cast<WithOverflowInst>(EVI->getAggregateOperand())) 1170 if (EVI->getNumIndices() == 1 && *EVI->idx_begin() == 0) 1176 EVI->getAggregateOperand(), EVI->getIndices(), 1177 EVI [all...] |
H A D | ValueTracking.cpp | 1670 const ExtractValueInst *EVI = cast<ExtractValueInst>(I); local 1671 if (EVI->getNumIndices() != 1) break; 1672 if (EVI->getIndices()[0] == 0) { 4344 if (const auto *EVI = dyn_cast<ExtractValueInst>(U)) { 4345 assert(EVI->getNumIndices() == 1 && "Obvious from CI's type"); 4347 if (EVI->getIndices()[0] == 0) 4348 Results.push_back(EVI); 4350 assert(EVI->getIndices()[0] == 1 && "Obvious from CI's type"); 4352 for (const auto *U : EVI->users())
|
H A D | ConstantFolding.cpp | 1182 if (auto *EVI = dyn_cast<ExtractValueInst>(I)) { 1184 cast<Constant>(EVI->getAggregateOperand()), 1185 EVI->getIndices());
|
H A D | InstructionSimplify.cpp | 5453 auto *EVI = cast<ExtractValueInst>(I); local 5454 Result = SimplifyExtractValueInst(EVI->getAggregateOperand(), 5455 EVI->getIndices(), Q);
|
H A D | ScalarEvolution.cpp | 4553 auto *EVI = cast<ExtractValueInst>(Op); 4554 if (EVI->getNumIndices() != 1 || EVI->getIndices()[0] != 0) 4557 auto *WO = dyn_cast<WithOverflowInst>(EVI->getAggregateOperand());
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | SjLjEHPrepare.cpp | 141 auto *EVI = dyn_cast<ExtractValueInst>(Val); local 142 if (!EVI) 144 if (EVI->getNumIndices() != 1) 146 if (*EVI->idx_begin() == 0) 147 EVI->replaceAllUsesWith(ExnVal); 148 else if (*EVI->idx_begin() == 1) 149 EVI->replaceAllUsesWith(SelVal); 150 if (EVI->use_empty()) 151 EVI->eraseFromParent();
|
H A D | Analysis.cpp | 334 } else if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(V)) { 338 ArrayRef<unsigned> ExtractLoc = EVI->getIndices();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXImageOptimizer.cpp | 171 if (ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(V)) { 172 return cleanupValue(EVI->getAggregateOperand());
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyIndVar.cpp | 461 if (auto *EVI = dyn_cast<ExtractValueInst>(U)) { 462 if (EVI->getIndices()[0] == 1) 463 EVI->replaceAllUsesWith(ConstantInt::getFalse(WO->getContext())); 465 assert(EVI->getIndices()[0] == 0 && "Only two possibilities!"); 466 EVI->replaceAllUsesWith(NewResult); 468 ToDelete.push_back(EVI); 472 for (auto *EVI : ToDelete) 473 EVI->eraseFromParent();
|
H A D | Evaluator.cpp | 422 } else if (auto *EVI = dyn_cast<ExtractValueInst>(CurInst)) { 424 getVal(EVI->getAggregateOperand()), EVI->getIndices());
|
H A D | FunctionComparator.cpp | 598 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(L)) { 599 ArrayRef<unsigned> LIndices = EVI->getIndices();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SCCP.cpp | 622 void visitExtractValueInst(ExtractValueInst &EVI); 888 void SCCPSolver::visitExtractValueInst(ExtractValueInst &EVI) { argument 891 if (EVI.getType()->isStructTy()) 892 return (void)markOverdefined(&EVI); 895 if (EVI.getNumIndices() != 1) 896 return (void)markOverdefined(&EVI); 898 Value *AggVal = EVI.getAggregateOperand(); 900 unsigned i = *EVI.idx_begin(); 902 mergeInValue(getValueState(&EVI), &EVI, EltVa local [all...] |
H A D | EarlyCSE.cpp | 271 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(Inst)) 272 return hash_combine(EVI->getOpcode(), EVI->getOperand(0), 273 hash_combine_range(EVI->idx_begin(), EVI->idx_end()));
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroSplit.cpp | 439 auto EVI = dyn_cast<ExtractValueInst>((UI++)->getUser()); local 440 if (!EVI || EVI->getNumIndices() != 1) 443 EVI->replaceAllUsesWith(Args[EVI->getIndices().front()]); 444 EVI->eraseFromParent();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FastISel.cpp | 1769 const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(U); local 1770 if (!EVI) 1775 EVT RealVT = TLI.getValueType(DL, EVI->getType(), /*AllowUnknown=*/true); 1782 const Value *Op0 = EVI->getOperand(0); 1796 unsigned VTIndex = ComputeLinearIndex(AggTy, EVI->getIndices()); 1804 updateValueMap(EVI, ResultReg);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Instruction.cpp | 418 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(I1)) 419 return EVI->getIndices() == cast<ExtractValueInst>(I2)->getIndices();
|
H A D | Verifier.cpp | 486 void visitExtractValueInst(ExtractValueInst &EVI); 3592 void Verifier::visitExtractValueInst(ExtractValueInst &EVI) { argument 3593 Assert(ExtractValueInst::getIndexedType(EVI.getAggregateOperand()->getType(), 3594 EVI.getIndices()) == EVI.getType(), 3595 "Invalid ExtractValueInst operands!", &EVI); local 3597 visitInstruction(EVI);
|
H A D | Instructions.cpp | 2142 ExtractValueInst::ExtractValueInst(const ExtractValueInst &EVI) argument 2143 : UnaryInstruction(EVI.getType(), ExtractValue, EVI.getOperand(0)), 2144 Indices(EVI.Indices) { 2145 SubclassOptionalData = EVI.SubclassOptionalData;
|
H A D | AsmWriter.cpp | 3775 } else if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(&I)) { 3778 for (const unsigned *i = EVI->idx_begin(), *e = EVI->idx_end(); i != e; ++i)
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | IRTranslator.cpp | 956 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(&U)) { 957 for (auto Idx : EVI->indices())
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 2657 const ExtractValueInst *EVI = cast<ExtractValueInst>(&I); local 2658 Vals.append(EVI->idx_begin(), EVI->idx_end());
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 5655 if (auto *EVI = dyn_cast<ExtractValueInst>(Op0)) 5656 if (auto *ACXI = dyn_cast<AtomicCmpXchgInst>(EVI->getAggregateOperand())) 5657 if (EVI->getIndices()[0] == 0 && ACXI->getCompareOperand() == Op1 &&
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86FastISel.cpp | 283 const auto *EVI = cast<ExtractValueInst>(Itr); local 284 if (EVI->getAggregateOperand() != II)
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64FastISel.cpp | 3468 const auto *EVI = cast<ExtractValueInst>(Itr); local 3469 if (EVI->getAggregateOperand() != II)
|