Lines Matching refs:MDNode

73 /// MDNode - a tuple of other values.
74 class MDNode : public Value, public FoldingSetNode {
75 MDNode(const MDNode &) LLVM_DELETED_FUNCTION;
76 void operator=(const MDNode &) LLVM_DELETED_FUNCTION;
79 friend struct FoldingSetTrait<MDNode>;
81 /// Hash - If the MDNode is uniqued cache the hash to speed up lookup.
85 /// end of this MDNode.
90 /// FunctionLocalBit - This bit is set if this MDNode is function local.
114 ~MDNode();
116 MDNode(LLVMContext &C, ArrayRef<Value*> Vals, bool isFunctionLocal);
118 static MDNode *getMDNode(LLVMContext &C, ArrayRef<Value*> Vals,
122 static MDNode *get(LLVMContext &Context, ArrayRef<Value*> Vals);
123 // getWhenValsUnresolved - Construct MDNode determining function-localness
125 static MDNode *getWhenValsUnresolved(LLVMContext &Context,
129 static MDNode *getIfExists(LLVMContext &Context, ArrayRef<Value*> Vals);
131 /// getTemporary - Return a temporary MDNode, for use in constructing
132 /// cyclic MDNode structures. A temporary MDNode is not uniqued,
134 static MDNode *getTemporary(LLVMContext &Context, ArrayRef<Value*> Vals);
138 static void deleteTemporary(MDNode *N);
146 /// getNumOperands - Return number of MDNode operands.
149 /// isFunctionLocal - Return whether MDNode is local to a function.
157 // critical code because it recursively visits all the MDNode's operands.
160 /// Profile - calculate a unique identifier for this MDNode to collapse
169 /// Check whether MDNode is a vtable access.
173 static MDNode *getMostGenericTBAA(MDNode *A, MDNode *B);
174 static MDNode *getMostGenericFPMath(MDNode *A, MDNode *B);
175 static MDNode *getMostGenericRange(MDNode *A, MDNode *B);
194 /// itself an MDNode. NamedMDNodes belong to modules, have names, and contain
205 void *Operands; // SmallVector<TrackingVH<MDNode>, 4>
263 MDNode *getOperand(unsigned i) const;
269 void addOperand(MDNode *M);
283 typedef op_iterator_impl<MDNode*, MDNode> op_iterator;
287 typedef op_iterator_impl<const MDNode*, MDNode> const_op_iterator;