Home
last modified time | relevance | path

Searched refs:op_begin (Results 1 – 25 of 86) 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
68 static Use *op_begin(SubClass* U) { in op_begin() function
94 static Use *op_begin(User* U) { in op_begin() function
112 inline op_iterator op_begin(); \
113 inline const_op_iterator op_begin() const; \
124 CLASS::op_iterator CLASS::op_begin() { \
125 return OperandTraits<CLASS>::op_begin(this); \
127 CLASS::const_op_iterator CLASS::op_begin() const { \
128 return OperandTraits<CLASS>::op_begin(const_cast<CLASS*>(this)); \
140 OperandTraits<CLASS>::op_begin(const_cast<CLASS*>(this))[i_nocapture].get()); \
[all …]
H A DUser.h193 : OperandTraits<U>::op_begin(const_cast<U*>(that))[Idx]; in OpFrom()
284 op_iterator op_begin() { return getOperandList(); } in op_begin() function
285 const_op_iterator op_begin() const { return getOperandList(); } in op_begin() function
293 return op_range(op_begin(), op_end()); in operands()
296 return const_op_range(op_begin(), op_end()); in operands()
311 return value_op_iterator(op_begin()); in value_op_begin()
332 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 {
1668 iterator begin() const { return N ? iterator(N->op_begin()) : iterator(); }
1824 op_iterator op_begin() { return op_iterator(this, 0); }
1829 const_op_iterator op_begin() const { return const_op_iterator(this, 0); }
1833 return make_range(op_begin(), op_end());
1836 return make_range(op_begin(), op_end());
H A DOperator.h444 inline op_iterator idx_begin() { return op_begin()+1; }
445 inline const_op_iterator idx_begin() const { return op_begin()+1; }
H A DInstrTypes.h1219 User::op_iterator data_operands_begin() { return op_begin(); }
1267 User::op_iterator arg_begin() { return op_begin(); }
2032 return hasOperandBundles() && isBundleOperand(U - op_begin());
2191 const auto *begin = op_begin();
2403 op_range arg_operands() { return op_range(op_begin(), op_end() - 1); }
2407 return const_op_range(op_begin(), op_end() - 1);
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DUser.h103 virtual op_iterator op_begin() { in op_begin() function
112 virtual const_op_iterator op_begin() const { in op_begin() function
113 return const_cast<User *>(this)->op_begin(); in op_begin()
119 op_range operands() { return make_range<op_iterator>(op_begin(), op_end()); } in operands()
121 return make_range<const_op_iterator>(op_begin(), op_end()); in operands()
H A DInstruction.h1314 op_iterator data_operands_begin() { return op_begin(); } in data_operands_begin()
1321 return op_begin() + Dist; in data_operands_end()
1326 return op_begin() + Dist; in data_operands_end()
1356 op_iterator arg_begin() { return op_begin(); } in arg_begin()
1357 const_op_iterator arg_begin() const { return op_begin(); } in arg_begin()
1704 inline op_iterator idx_begin() { return op_begin() + 1; } in idx_begin()
1799 op_iterator It = op_begin() + 1; in handler_begin()
1805 const_op_iterator It = op_begin() + 1; in handler_begin()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanValue.h261 operand_iterator op_begin() { return Operands.begin(); } in op_begin() function
262 const_operand_iterator op_begin() const { return Operands.begin(); } in op_begin() function
265 operand_range operands() { return operand_range(op_begin(), op_end()); } in operands()
267 return const_operand_range(op_begin(), op_end()); in operands()
/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()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DUse.cpp36 return this - getUser()->op_begin(); in getOperandNo()
H A DInstructions.cpp131 std::copy(PN.op_begin(), PN.op_end(), op_begin()); in PHINode()
146 std::copy(op_begin() + Idx + 1, op_end(), op_begin() + Idx); in removeIncomingValue()
518 auto It = op_begin() + BeginIndex; in populateBundleOperandInfos()
766 llvm::copy(Args, op_begin()); in init()
800 std::copy(CI.op_begin(), CI.op_end(), op_begin()); in CallInst()
862 llvm::copy(Args, op_begin()); in init()
879 std::copy(II.op_begin(), II.op_end(), op_begin()); in InvokeInst()
944 llvm::copy(Args, op_begin()); in init()
964 std::copy(CBI.op_begin(), CBI.op_end(), op_begin()); in CallBrInst()
1157 llvm::copy(Args, op_begin()); in init()
[all …]
H A DLLVMContextImpl.cpp169 unsigned Hash = hash_combine_range(N->op_begin() + Offset, N->op_end()); in calculateHash()
H A DMetadata.cpp918 unsigned Op = static_cast<MDOperand *>(Ref) - op_begin(); in handleChangedOperand()
1121 SmallSetVector<Metadata *, 4> MDs(A->op_begin(), A->op_end()); in concatenate()
1122 MDs.insert(B->op_begin(), B->op_end()); in concatenate()
1133 SmallSetVector<Metadata *, 4> MDs(A->op_begin(), A->op_end()); in intersect()
1134 SmallPtrSet<Metadata *, 4> BSet(B->op_begin(), B->op_end()); in intersect()
/freebsd/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));
503 return reinterpret_cast<block_iterator>(op_begin() + ReservedSpace);
507 return reinterpret_cast<const_block_iterator>(op_begin() + ReservedSpace);
548 return getIncomingBlock(unsigned(&U - op_begin()));
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVRegularizer.cpp103 if (std::all_of(Vec->op_begin(), Vec->op_end(), [](Value *V) { in runLowerConstExpr()
109 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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp134 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/include/llvm/Transforms/Vectorize/SandboxVectorizer/
H A DDependencyGraph.h146 PredIterator::skipBadIt(I->op_begin(), I->op_end(), DAG), I->op_end(), in preds_begin()
262 return PredIterator(PredIterator::skipBadIt(I->op_begin(), OpEndIt, DAG), in preds_begin()
/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/Bitcode/Writer/
H A DValueEnumerator.cpp689 Worklist.push_back(std::make_pair(N, N->op_begin())); in EnumerateMetadata()
707 Worklist.push_back(std::make_pair(Op, Op->op_begin())); in EnumerateMetadata()
720 Worklist.push_back(std::make_pair(N, N->op_begin())); in EnumerateMetadata()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp294 ConstantExpr::const_op_iterator op_cursor = constant_expr->op_begin(); in ResolveConstantValue()
498 ConstantExpr::const_op_iterator op_cursor = constant_expr->op_begin(); in CanResolveConstant()
504 for (Value *op : make_range(constant_expr->op_begin() + 1, in CanResolveConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp578 unsigned OpNo = &U - I.op_begin(); in runOnFunction()

1234