Home
last modified time | relevance | path

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

1234

/freebsd-14.2/contrib/llvm-project/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.h177 GEP->op_begin() + 1); in gep_type_begin()
188 GEP.op_begin() + 1); in gep_type_begin()
H A DMetadata.h1410 op_iterator op_begin() const {
1653 iterator begin() const { return N ? iterator(N->op_begin()) : iterator(); }
1809 op_iterator op_begin() { return op_iterator(this, 0); }
1814 const_op_iterator op_begin() const { return const_op_iterator(this, 0); }
1818 return make_range(op_begin(), op_end());
1821 return make_range(op_begin(), op_end());
H A DOperator.h399 inline op_iterator idx_begin() { return op_begin()+1; } in idx_begin()
400 inline const_op_iterator idx_begin() const { return op_begin()+1; } in idx_begin()
H A DInstrTypes.h1353 User::op_iterator data_operands_begin() { return op_begin(); }
1401 User::op_iterator arg_begin() { return op_begin(); }
2072 return hasOperandBundles() && isBundleOperand(U - op_begin());
2230 const auto *begin = op_begin();
2437 op_range arg_operands() { return op_range(op_begin(), op_end() - 1); }
2441 return const_op_range(op_begin(), op_end() - 1);
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp117 std::copy(PN.op_begin(), PN.op_end(), op_begin()); in PHINode()
132 std::copy(op_begin() + Idx + 1, op_end(), op_begin() + Idx); in removeIncomingValue()
483 auto It = op_begin() + BeginIndex; in populateBundleOperandInfos()
692 llvm::copy(Args, op_begin()); in init()
733 std::copy(CI.op_begin(), CI.op_end(), op_begin()); in CallInst()
839 llvm::copy(Args, op_begin()); in init()
856 std::copy(II.op_begin(), II.op_end(), op_begin()); in InvokeInst()
928 std::copy(CBI.op_begin(), CBI.op_end(), op_begin()); in CallBrInst()
1168 llvm::copy(Args, op_begin()); in init()
1178 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 DLLVMContextImpl.cpp195 unsigned Hash = hash_combine_range(N->op_begin() + Offset, N->op_end()); in calculateHash()
H A DMetadata.cpp902 unsigned Op = static_cast<MDOperand *>(Ref) - op_begin(); in handleChangedOperand()
1105 SmallSetVector<Metadata *, 4> MDs(A->op_begin(), A->op_end()); in concatenate()
1106 MDs.insert(B->op_begin(), B->op_end()); in concatenate()
1117 SmallSetVector<Metadata *, 4> MDs(A->op_begin(), A->op_end()); in intersect()
1118 SmallPtrSet<Metadata *, 4> BSet(B->op_begin(), B->op_end()); in intersect()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanValue.h275 operand_iterator op_begin() { return Operands.begin(); } in op_begin() function
276 const_operand_iterator op_begin() const { return Operands.begin(); } in op_begin() function
279 operand_range operands() { return operand_range(op_begin(), op_end()); } in operands()
281 return const_operand_range(op_begin(), op_end()); in operands()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemorySSA.h427 static Use *op_begin(MemoryUseOrDef *MUD) {
429 return OperandTraits<MemoryUse>::op_begin(MU);
430 return OperandTraits<MemoryDef>::op_begin(cast<MemoryDef>(MUD));
501 return reinterpret_cast<block_iterator>(op_begin() + ReservedSpace);
505 return reinterpret_cast<const_block_iterator>(op_begin() + ReservedSpace);
546 return getIncomingBlock(unsigned(&U - op_begin()));
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAPElim.cpp125 for (User::op_iterator OI = Init->op_begin(), OE = Init->op_end(); in runImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVRegularizer.cpp110 if (std::all_of(Vec->op_begin(), Vec->op_end(), [](Value *V) { in runLowerConstExpr()
116 std::transform(Vec->op_begin(), Vec->op_end(), in runLowerConstExpr()
H A DSPIRVEmitIntrinsics.cpp216 SmallVector<Value *> Args(AggrC->op_begin(), AggrC->op_end()); in preprocessCompositeConstants()
226 SmallVector<Value *> Args(AggrC->op_begin(), AggrC->op_end()); in preprocessCompositeConstants()
272 SmallVector<Value *> Args(I.op_begin(), I.op_end()); in visitBitCastInst()
392 SmallVector<Value *> Args(I.op_begin(), I.op_end()); in visitInsertElementInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLocal.cpp40 for (User::op_iterator i = GEP->op_begin() + 1, e = GEP->op_end(); i != e; in emitGEPOffset()
H A DAssumeBundleQueries.cpp40 return (Assume.op_begin() + BOI.Begin + Idx)->get(); in getValueFromBundleOpInfo()
H A DMemoryProfileInfo.cpp261 Iter = End ? N->op_end() : N->op_begin(); in CallStackIterator()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp133 ToUpdate = &Intr->op_begin()[Bundle->Begin + ABA_Argument]; in tryToPreserveWithoutAddingAssume()
413 Use *U = &Assume->op_begin()[BOI.Begin + ABA_WasOn]; in dropRedundantKnowledge()
452 Elem.Assume->op_begin()[Elem.BOI->Begin + ABA_Argument].set( in dropRedundantKnowledge()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp1451 SmallVector<SDValue, 4> Regs(N->op_begin() + Vec0Off, in SelectTable()
1746 SmallVector<SDValue, 4> Regs(N->op_begin() + 1, N->op_begin() + 1 + NumVecs); in SelectCVTIntrinsic()
1905 SmallVector<SDValue, 4> Regs(N->op_begin() + 1, N->op_begin() + 1 + NumVecs); in SelectClamp()
1995 SmallVector<SDValue, 4> Regs(N->op_begin() + 1, in SelectUnaryMultiIntrinsic()
2020 SmallVector<SDValue, 4> Regs(N->op_begin() + 2, N->op_begin() + 2 + NumVecs); in SelectStore()
2039 SmallVector<SDValue, 4> Regs(N->op_begin() + 2, N->op_begin() + 2 + NumVecs); in SelectPredicatedStore()
2084 SmallVector<SDValue, 4> Regs(N->op_begin() + 1, N->op_begin() + 1 + NumVecs); in SelectPostStore()
2138 SmallVector<SDValue, 4> Regs(N->op_begin() + 2, N->op_begin() + 2 + NumVecs); in SelectLoadLane()
2176 SmallVector<SDValue, 4> Regs(N->op_begin() + 1, N->op_begin() + 1 + NumVecs); in SelectPostLoadLane()
2230 SmallVector<SDValue, 4> Regs(N->op_begin() + 2, N->op_begin() + 2 + NumVecs); in SelectStoreLane()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp351 SmallVector<SDValue, 8> Regs(Node->op_begin() + CurOp, in selectVLSEG()
352 Node->op_begin() + CurOp + NF); in selectVLSEG()
391 SmallVector<SDValue, 8> Regs(Node->op_begin() + CurOp, in selectVLSEGFF()
392 Node->op_begin() + CurOp + NF); in selectVLSEGFF()
433 SmallVector<SDValue, 8> Regs(Node->op_begin() + CurOp, in selectVLXSEG()
434 Node->op_begin() + CurOp + NF); in selectVLXSEG()
484 SmallVector<SDValue, 8> Regs(Node->op_begin() + 2, Node->op_begin() + 2 + NF); in selectVSSEG()
514 SmallVector<SDValue, 8> Regs(Node->op_begin() + 2, Node->op_begin() + 2 + NF); in selectVSXSEG()
3680 Ops.append(True->op_begin() + HasTiedDest, True->op_begin() + NormalOpsEnd); in performCombineVMergeAndVOps()
/freebsd-14.2/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp296 ConstantExpr::const_op_iterator op_cursor = constant_expr->op_begin(); in ResolveConstantValue()
500 ConstantExpr::const_op_iterator op_cursor = constant_expr->op_begin(); in CanResolveConstant()
506 for (Value *op : make_range(constant_expr->op_begin() + 1, in CanResolveConstant()

1234