Home
last modified time | relevance | path

Searched refs:op_begin (Results 1 – 25 of 102) sorted by relevance

12345

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DOperandTraits.h31 static Use *op_begin(SubClass* U) { in op_begin() function
69 static Use *op_begin(SubClass* U) { in op_begin() function
96 static Use *op_begin(User* U) { in op_begin() function
114 inline op_iterator op_begin(); \
115 inline const_op_iterator op_begin() const; \
126 CLASS::op_iterator CLASS::op_begin() { \
127 return OperandTraits<CLASS>::op_begin(this); \
129 CLASS::const_op_iterator CLASS::op_begin() const { \
130 return OperandTraits<CLASS>::op_begin(const_cast<CLASS*>(this)); \
142 OperandTraits<CLASS>::op_begin(const_cast<CLASS*>(this))[i_nocapture].get()); \
[all …]
H A DUser.h130 : OperandTraits<U>::op_begin(const_cast<U*>(that))[Idx]; in OpFrom()
234 op_iterator op_begin() { return getOperandList(); } in op_begin() function
235 const_op_iterator op_begin() const { return getOperandList(); } in op_begin() function
243 return op_range(op_begin(), op_end()); in operands()
246 return const_op_range(op_begin(), op_end()); in operands()
261 return value_op_iterator(op_begin()); in value_op_begin()
282 return const_value_op_iterator(op_begin()); in value_op_begin()
H A DGetElementPtrTypeIterator.h127 GEP->op_begin() + 1); in gep_type_begin()
138 GEP.op_begin() + 1); in gep_type_begin()
H A DMetadata.h1282 op_iterator op_begin() const {
1520 iterator begin() const { return N ? iterator(N->op_begin()) : iterator(); }
1676 op_iterator op_begin() { return op_iterator(this, 0); }
1681 const_op_iterator op_begin() const { return const_op_iterator(this, 0); }
1685 return make_range(op_begin(), op_end());
1688 return make_range(op_begin(), op_end());
H A DOperator.h403 inline op_iterator idx_begin() { return op_begin()+1; } in idx_begin()
404 inline const_op_iterator idx_begin() const { return op_begin()+1; } in idx_begin()
H A DInstrTypes.h1268 User::op_iterator data_operands_begin() { return op_begin(); }
1316 User::op_iterator arg_begin() { return op_begin(); }
1976 return hasOperandBundles() && isBundleOperand(U - op_begin());
2184 auto begin = op_begin();
2416 op_range arg_operands() { return op_range(op_begin(), op_end() - 1); }
2420 return const_op_range(op_begin(), op_end() - 1);
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DRegion.h170 OpIterator op_begin() { return OpIterator(this); } in op_begin() function
172 iterator_range<OpIterator> getOps() { return {op_begin(), op_end()}; } in getOps()
177 op_iterator<OpT> op_begin() { in op_begin() function
178 return detail::op_filter_iterator<OpT, OpIterator>(op_begin(), op_end()); in op_begin()
187 return {detail::op_filter_iterator<OpT, OpIterator>(op_begin(), endIt), in getOps()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Scalar/
H A DGVNExpression.h184 op_iterator op_begin() { return Operands; } in op_begin() function
186 const_op_iterator op_begin() const { return Operands; } in op_begin() function
189 return iterator_range<op_iterator>(op_begin(), op_end()); in operands()
192 return iterator_range<const_op_iterator>(op_begin(), op_end()); in operands()
219 std::equal(op_begin(), op_end(), OE.op_begin()); in equals()
224 hash_combine_range(op_begin(), op_end())); in getHashValue()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVPlanValue.h278 operand_iterator op_begin() { return Operands.begin(); } in op_begin() function
279 const_operand_iterator op_begin() const { return Operands.begin(); } in op_begin() function
282 operand_range operands() { return operand_range(op_begin(), op_end()); } in operands()
284 return const_operand_range(op_begin(), op_end()); in operands()
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstructions.cpp106 std::copy(PN.op_begin(), PN.op_end(), op_begin()); in PHINode()
121 std::copy(op_begin() + Idx + 1, op_end(), op_begin() + Idx); in removeIncomingValue()
405 auto It = op_begin() + BeginIndex; in populateBundleOperandInfos()
535 llvm::copy(Args, op_begin()); in init()
576 std::copy(CI.op_begin(), CI.op_end(), op_begin()); in CallInst()
879 llvm::copy(Args, op_begin()); in init()
896 std::copy(II.op_begin(), II.op_end(), op_begin()); in InvokeInst()
974 std::copy(CBI.op_begin(), CBI.op_end(), op_begin()); in CallBrInst()
1214 llvm::copy(Args, op_begin()); in init()
1224 std::copy(FPI.op_begin(), FPI.op_end(), op_begin()); in FuncletPadInst()
[all …]
H A DUse.cpp32 return this - getUser()->op_begin(); in getOperandNo()
H A DGlobals.cpp410 OperandTraits<GlobalVariable>::op_begin(this), in GlobalVariable()
431 OperandTraits<GlobalVariable>::op_begin(this), in GlobalVariable()
H A DMetadata.cpp808 unsigned Op = static_cast<MDOperand *>(Ref) - op_begin(); in handleChangedOperand()
1011 SmallSetVector<Metadata *, 4> MDs(A->op_begin(), A->op_end()); in concatenate()
1012 MDs.insert(B->op_begin(), B->op_end()); in concatenate()
1023 SmallSetVector<Metadata *, 4> MDs(A->op_begin(), A->op_end()); in intersect()
1024 SmallPtrSet<Metadata *, 4> BSet(B->op_begin(), B->op_end()); in intersect()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp176 SmallVector<Value *> Args(AggrC->op_begin(), AggrC->op_end()); in preprocessCompositeConstants()
186 SmallVector<Value *> Args(AggrC->op_begin(), AggrC->op_end()); in preprocessCompositeConstants()
219 SmallVector<Value *> Args(I.op_begin(), I.op_end()); in visitBitCastInst()
232 SmallVector<Value *> Args(I.op_begin(), I.op_end()); in visitInsertElementInst()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DMemorySSA.h441 static Use *op_begin(MemoryUseOrDef *MUD) {
443 return OperandTraits<MemoryUse>::op_begin(MU);
444 return OperandTraits<MemoryDef>::op_begin(cast<MemoryDef>(MUD));
515 return reinterpret_cast<block_iterator>(op_begin() + ReservedSpace);
519 return reinterpret_cast<const_block_iterator>(op_begin() + ReservedSpace);
560 return getIncomingBlock(unsigned(&U - op_begin()));
H A DScalarEvolutionExpressions.h209 op_iterator op_begin() const { return Operands; } in op_begin() function
211 op_range operands() const { return make_range(op_begin(), op_end()); } in operands()
364 SmallVector<const SCEV *, 3>(op_begin() + 1, op_end()), getLoop(), in getStepRecurrence()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/Utils/
H A DLocal.h45 for (User::op_iterator i = GEP->op_begin() + 1, e = GEP->op_end(); i != e;
/llvm-project-15.0.7/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAPElim.cpp127 for (User::op_iterator OI = Init->op_begin(), OE = Init->op_end(); in runImpl()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp134 ToUpdate = &Intr->op_begin()[Bundle->Begin + ABA_Argument]; in tryToPreserveWithoutAddingAssume()
411 Use *U = &Assume->op_begin()[BOI.Begin + ABA_WasOn]; in dropRedundantKnowledge()
450 Elem.Assume->op_begin()[Elem.BOI->Begin + ABA_Argument].set( in dropRedundantKnowledge()
/llvm-project-15.0.7/mlir/lib/Reducer/
H A DReductionNode.cpp112 ranges.emplace_back(0, std::distance(region->op_begin(), region->op_end())); in update()
H A DReductionTreePass.cpp92 {0, std::distance(region.op_begin(), region.op_end())}}; in findOptimal()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp307 SmallVector<SDValue, 8> Regs(Node->op_begin() + CurOp, in selectVLSEG()
308 Node->op_begin() + CurOp + NF); in selectVLSEG()
350 SmallVector<SDValue, 8> Regs(Node->op_begin() + CurOp, in selectVLSEGFF()
351 Node->op_begin() + CurOp + NF); in selectVLSEGFF()
395 SmallVector<SDValue, 8> Regs(Node->op_begin() + CurOp, in selectVLXSEG()
396 Node->op_begin() + CurOp + NF); in selectVLXSEG()
449 SmallVector<SDValue, 8> Regs(Node->op_begin() + 2, Node->op_begin() + 2 + NF); in selectVSSEG()
479 SmallVector<SDValue, 8> Regs(Node->op_begin() + 2, Node->op_begin() + 2 + NF); in selectVSXSEG()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp649 Worklist.push_back(std::make_pair(N, N->op_begin())); in EnumerateMetadata()
667 Worklist.push_back(std::make_pair(Op, Op->op_begin())); in EnumerateMetadata()
680 Worklist.push_back(std::make_pair(N, N->op_begin())); in EnumerateMetadata()
897 for (User::const_op_iterator I = C->op_begin(), E = C->op_end(); in EnumerateValue()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.cpp653 Worklist.push_back(std::make_pair(N, N->op_begin())); in EnumerateMetadata()
671 Worklist.push_back(std::make_pair(Op, Op->op_begin())); in EnumerateMetadata()
684 Worklist.push_back(std::make_pair(N, N->op_begin())); in EnumerateMetadata()
902 for (User::const_op_iterator I = C->op_begin(), E = C->op_end(); I != E; in EnumerateValue()
/llvm-project-15.0.7/polly/include/polly/Support/
H A DVirtualInstruction.h252 return VirtualOperandIterator(Stmt, Inst->op_begin());

12345