Home
last modified time | relevance | path

Searched refs:ExtractValueInst (Results 1 – 25 of 69) sorted by relevance

123

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DAnalysis.cpp345 } else if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(V)) { in getNoopInput()
450 ExtractValueInst::getIndexedType(SubTypes.back(), Path.back()); in advanceToNextLeafType()
458 DeeperType = ExtractValueInst::getIndexedType(DeeperType, 0); in advanceToNextLeafType()
479 while (Type *FirstInner = ExtractValueInst::getIndexedType(Next, 0)) { in firstRealType()
492 while (ExtractValueInst::getIndexedType(SubTypes.back(), Path.back()) in firstRealType()
510 } while (ExtractValueInst::getIndexedType(SubTypes.back(), Path.back()) in nextRealType()
706 ExtractValueInst::getIndexedType(RetSubTypes.back(), RetPath.back()); in returnTypeIsEligibleForTailCall()
H A DDwarfEHPrepare.cpp113 ExnObj = ExtractValueInst::Create(RI->getOperand(0), 0, "exn.obj", RI); in GetExceptionObject()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h37 class ExtractValueInst; variable
233 SizeOffsetType visitExtractValueInst(ExtractValueInst &I);
307 SizeOffsetEvalType visitExtractValueInst(ExtractValueInst &I);
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXImageOptimizer.cpp169 if (ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(V)) { in cleanupValue()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIAnnotateControlFlow.cpp210 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); in openIf()
211 push(Term->getSuccessor(1), ExtractValueInst::Create(Ret, 1, "", Term)); in openIf()
221 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); in insertElse()
222 push(Term->getSuccessor(1), ExtractValueInst::Create(Ret, 1, "", Term)); in insertElse()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DOverflowInstAnalysis.cpp34 auto *Extract = dyn_cast<ExtractValueInst>(V); in isCheckForZeroAndMulWithOverflow()
H A DTypeMetadataUtils.cpp112 if (auto EVI = dyn_cast<ExtractValueInst>(CIU)) { in findDevirtualizableCallsForTypeCheckedLoad()
H A DLint.cpp677 } else if (ExtractValueInst *Ex = dyn_cast<ExtractValueInst>(V)) { in findValueImpl()
H A DLazyValueInfo.cpp430 solveBlockValueExtractValue(ExtractValueInst *EVI, BasicBlock *BB);
624 if (auto *EVI = dyn_cast<ExtractValueInst>(BBI)) in solveBlockValueImpl()
1012 LazyValueInfoImpl::solveBlockValueExtractValue(ExtractValueInst *EVI, in solveBlockValueExtractValue()
1183 if (auto *EVI = dyn_cast<ExtractValueInst>(Cond)) in getValueFromConditionImpl()
/openbsd-src/gnu/llvm/llvm/lib/FuzzMutate/
H A DOperations.cpp222 return ExtractValueInst::Create(Srcs[0], {Idx}, "E", Inst); in extractValueDescriptor()
256 Type *Indexed = ExtractValueInst::getIndexedType(Cur[0]->getType(), in validInsertValueIndex()
267 while (Type *Indexed = ExtractValueInst::getIndexedType(BaseTy, I)) { in validInsertValueIndex()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Scalar/
H A DGVN.h41 class ExtractValueInst; variable
181 Expression createExtractvalueExpr(ExtractValueInst *EI);
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp86 Instruction *visitExtractValueInst(ExtractValueInst &I);
108 isa<ExtractValueInst>(I) || isa<AtomicCmpXchgInst>(I); in isMemInstrToReplace()
272 Instruction *SPIRVEmitIntrinsics::visitExtractValueInst(ExtractValueInst &I) { in visitExtractValueInst()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp372 auto *FirstEVI = cast<ExtractValueInst>(PN.getIncomingValue(0)); in foldPHIArgExtractValueInstructionIntoPHI()
377 auto *I = dyn_cast<ExtractValueInst>(V); in foldPHIArgExtractValueInstructionIntoPHI()
392 cast<ExtractValueInst>(std::get<1>(Incoming))->getAggregateOperand(), in foldPHIArgExtractValueInstructionIntoPHI()
397 auto *NewEVI = ExtractValueInst::Create(NewAggregateOperand, in foldPHIArgExtractValueInstructionIntoPHI()
877 if (isa<ExtractValueInst>(FirstInst)) in foldPHIArgOpIntoPHI()
H A DInstCombineInternal.h173 Instruction *visitExtractValueInst(ExtractValueInst &EV);
379 Instruction *foldExtractOfOverflowIntrinsic(ExtractValueInst &EV);
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DInstruction.cpp523 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(I1)) in haveSameSpecialState()
524 return EVI->getIndices() == cast<ExtractValueInst>(I2)->getIndices(); in haveSameSpecialState()
H A DInstructions.cpp2729 assert(ExtractValueInst::getIndexedType(Agg->getType(), Idxs) == in init()
2751 void ExtractValueInst::init(ArrayRef<unsigned> Idxs, const Twine &Name) { in init()
2762 ExtractValueInst::ExtractValueInst(const ExtractValueInst &EVI) in ExtractValueInst() function in ExtractValueInst
2774 Type *ExtractValueInst::getIndexedType(Type *Agg, in getIndexedType()
4813 ExtractValueInst *ExtractValueInst::cloneImpl() const { in cloneImpl()
4814 return new ExtractValueInst(*this); in cloneImpl()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DInstructions.h2455 class ExtractValueInst : public UnaryInstruction {
2458 ExtractValueInst(const ExtractValueInst &EVI);
2464 inline ExtractValueInst(Value *Agg,
2468 inline ExtractValueInst(Value *Agg,
2478 ExtractValueInst *cloneImpl() const;
2481 static ExtractValueInst *Create(Value *Agg,
2486 ExtractValueInst(Agg, Idxs, NameStr, InsertBefore);
2489 static ExtractValueInst *Create(Value *Agg,
2493 return new ExtractValueInst(Agg, Idxs, NameStr, InsertAtEnd);
2541 ExtractValueInst::ExtractValueInst(Value *Agg,
[all …]
H A DInstVisitor.h194 RetTy visitExtractValueInst(ExtractValueInst &I){ DELEGATE(UnaryInstruction);} in visitExtractValueInst()
H A DInstruction.def217 HANDLE_OTHER_INST(64, ExtractValue, ExtractValueInst)// extract from aggregate
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h167 void visitExtractValueInst(ExtractValueInst &I);
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp504 void handleExtractOfWithOverflow(ExtractValueInst &EVI,
525 void visitExtractValueInst(ExtractValueInst &EVI);
1116 void SCCPInstVisitor::handleExtractOfWithOverflow(ExtractValueInst &EVI, in handleExtractOfWithOverflow()
1143 void SCCPInstVisitor::visitExtractValueInst(ExtractValueInst &EVI) { in visitExtractValueInst()
1747 if (isa<ExtractValueInst>(I) || isa<InsertValueInst>(I)) in resolvedUndefsIn()
H A DFunctionComparator.cpp633 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(L)) { in cmpOperations()
635 ArrayRef<unsigned> RIndices = cast<ExtractValueInst>(R)->getIndices(); in cmpOperations()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp571 if (ExtractValueInst *Ext = dyn_cast<ExtractValueInst>(UU.getUser())) { in surveyFunction()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp149 isa<ShuffleVectorInst>(Inst) || isa<ExtractValueInst>(Inst) || in canHandle()
288 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(Inst)) in getHashValueImpl()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp280 if (isa<const ExtractValueInst>(Instr) && OpIdx > 0) in shouldConvertUse()

123