Home
last modified time | relevance | path

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

1234

/freebsd/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_cas
[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);
188 GEP.op_begin() + 1);
H A DMetadata.h1420 op_iterator op_begin() const {
1663 iterator begin() const { return N ? iterator(N->op_begin()) : iterator(); }
1819 op_iterator op_begin() { return op_iterator(this, 0); }
1824 const_op_iterator op_begin() const { return const_op_iterator(this, 0); }
1828 return make_range(op_begin(), op_end());
1831 return make_range(op_begin(), op_end());
H A DOperator.h425 inline op_iterator idx_begin() { return op_begin()+1; }
426 inline const_op_iterator idx_begin() const { return op_begin()+1; }
H A DInstrTypes.h1337 User::op_iterator data_operands_begin() { return op_begin(); }
1385 User::op_iterator arg_begin() { return op_begin(); }
2092 return hasOperandBundles() && isBundleOperand(U - op_begin());
2250 const auto *begin = op_begin();
2461 op_range arg_operands() { return op_range(op_begin(), op_end() - 1); }
2465 return const_op_range(op_begin(), op_end() - 1);
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanValue.h268 operand_iterator op_begin() { return Operands.begin(); } in op_begin() function
269 const_operand_iterator op_begin() const { return Operands.begin(); } in op_begin() function
272 operand_range operands() { return operand_range(op_begin(), op_end()); } in operands()
274 return const_operand_range(op_begin(), op_end()); in operands()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp127 std::copy(PN.op_begin(), PN.op_end(), op_begin()); in PHINode()
142 std::copy(op_begin() + Idx + 1, op_end(), op_begin() + Idx); in removeIncomingValue()
489 auto It = op_begin() + BeginIndex; in populateBundleOperandInfos()
698 llvm::copy(Args, op_begin()); in init()
732 std::copy(CI.op_begin(), CI.op_end(), op_begin()); in CallInst()
794 llvm::copy(Args, op_begin()); in init()
811 std::copy(II.op_begin(), II.op_end(), op_begin()); in InvokeInst()
876 std::copy(Args.begin(), Args.end(), op_begin()); in init()
895 std::copy(CBI.op_begin(), CBI.op_end(), op_begin()); in CallBrInst()
945 OperandTraits<ResumeInst>::op_begin(this), 1) { in ResumeInst()
[all …]
H A DUse.cpp32 return this - getUser()->op_begin(); in getOperandNo()
H A DLLVMContextImpl.cpp200 unsigned Hash = hash_combine_range(N->op_begin() + Offset, N->op_end()); in calculateHash()
H A DMetadata.cpp911 unsigned Op = static_cast<MDOperand *>(Ref) - op_begin(); in handleChangedOperand()
1114 SmallSetVector<Metadata *, 4> MDs(A->op_begin(), A->op_end()); in concatenate()
1115 MDs.insert(B->op_begin(), B->op_end()); in concatenate()
1126 SmallSetVector<Metadata *, 4> MDs(A->op_begin(), A->op_end()); in intersect()
1127 SmallPtrSet<Metadata *, 4> BSet(B->op_begin(), B->op_end()); in intersect()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemorySSA.h428 static Use *op_begin(MemoryUseOrDef *MUD) {
430 return OperandTraits<MemoryUse>::op_begin(MU);
431 return OperandTraits<MemoryDef>::op_begin(cast<MemoryDef>(MUD));
502 return reinterpret_cast<block_iterator>(op_begin() + ReservedSpace);
506 return reinterpret_cast<const_block_iterator>(op_begin() + ReservedSpace);
547 return getIncomingBlock(unsigned(&U - op_begin()));
/freebsd/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()
/freebsd/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/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.cpp294 Iter = End ? N->op_end() : N->op_begin(); in CallStackIterator()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DSandboxIR.h358 virtual op_iterator op_begin() { in op_begin() function
367 virtual const_op_iterator op_begin() const { in op_begin() function
368 return const_cast<User *>(this)->op_begin(); in op_begin()
374 op_range operands() { return make_range<op_iterator>(op_begin(), op_end()); } in operands()
376 return make_range<const_op_iterator>(op_begin(), op_end()); in operands()
/freebsd/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/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/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp1475 SmallVector<SDValue, 4> Regs(N->op_begin() + Vec0Off, in SelectTable()
1476 N->op_begin() + Vec0Off + NumVecs); in SelectTable()
1864 SmallVector<SDValue, 4> Regs(N->op_begin() + 1, N->op_begin() + 1 + NumVecs); in SelectCVTIntrinsic()
1888 SmallVector<SDValue, 4> Regs(N->op_begin() + StartIdx, in SelectDestructiveMultiIntrinsic()
1889 N->op_begin() + StartIdx + NumVecs); in SelectDestructiveMultiIntrinsic()
2023 SmallVector<SDValue, 4> Regs(N->op_begin() + 1, N->op_begin() + 1 + NumVecs); in SelectClamp()
2150 SmallVector<SDValue, 4> Regs(N->op_begin() + 1, in SelectUnaryMultiIntrinsic()
2151 N->op_begin() + 1 + NumInVecs); in SelectUnaryMultiIntrinsic()
2175 SmallVector<SDValue, 4> Regs(N->op_begin() + 2, N->op_begin() + 2 + NumVecs); in SelectStore()
2194 SmallVector<SDValue, 4> Regs(N->op_begin() + 2, N->op_begin() + 2 + NumVecs); in SelectPredicatedStore()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp350 SmallVector<SDValue, 8> Regs(Node->op_begin() + CurOp, in selectVLSEG()
351 Node->op_begin() + CurOp + NF); in selectVLSEG()
390 SmallVector<SDValue, 8> Regs(Node->op_begin() + CurOp, in selectVLSEGFF()
391 Node->op_begin() + CurOp + NF); in selectVLSEGFF()
432 SmallVector<SDValue, 8> Regs(Node->op_begin() + CurOp, in selectVLXSEG()
433 Node->op_begin() + CurOp + NF); in selectVLXSEG()
483 SmallVector<SDValue, 8> Regs(Node->op_begin() + 2, Node->op_begin() + 2 + NF); in selectVSSEG()
513 SmallVector<SDValue, 8> Regs(Node->op_begin() + 2, Node->op_begin() + 2 + NF); in selectVSXSEG()
3911 Ops.append(True->op_begin() + HasTiedDest, True->op_begin() + NormalOpsEnd); in performCombineVMergeAndVOps()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp686 Worklist.push_back(std::make_pair(N, N->op_begin())); in EnumerateMetadata()
704 Worklist.push_back(std::make_pair(Op, Op->op_begin())); in EnumerateMetadata()
717 Worklist.push_back(std::make_pair(N, N->op_begin())); in EnumerateMetadata()
/freebsd/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