Home | History | Annotate | Download | only in IR

Lines Matching full:mdnode

53 static Value *getField(const MDNode *DbgNode, unsigned Elt) {
59 static MDNode *getNodeField(const MDNode *DbgNode, unsigned Elt) {
60 return dyn_cast_or_null<MDNode>(getField(DbgNode, Elt));
63 static StringRef getStringField(const MDNode *DbgNode, unsigned Elt) {
98 MDNode *Field = getNodeField(DbgNode, Elt);
134 MDNode *Node = const_cast<MDNode*>(DbgNode);
144 MDNode *DIVariable::getInlinedAt() const {
330 /// replaceAllUsesWith - Replace all uses of the MDNode used by this
342 MDNode *Node = const_cast<MDNode*>(DbgNode);
343 const MDNode *DN = D;
346 MDNode::deleteTemporary(Node);
350 /// replaceAllUsesWith - Replace all uses of the MDNode used by this
352 void DIType::replaceAllUsesWith(MDNode *D) {
362 MDNode *Node = const_cast<MDNode*>(DbgNode);
363 const MDNode *DN = D;
366 MDNode::deleteTemporary(Node);
409 /// Check if a field at position Elt of a MDNode is a MDNode.
411 /// But we don't allow a non-empty string in a MDNode field.
412 static bool fieldIsMDNode(const MDNode *DbgNode, unsigned Elt) {
414 // is indeed a MDNode: return !Fld || isa<MDNode>(Fld).
426 // Make sure Context @ field 2 is MDNode.
463 // Make sure DerivedFrom @ field 9 is MDNode.
467 // Make sure ClassType @ field 10 is MDNode.
517 // Make sure StaticDataMemberDeclaration @ field 12 is MDNode.
552 /// \brief Retrieve the MDNode for the directory/file pair.
553 MDNode *DIFile::getFileNode() const {
628 MDNode *DIDerivedType::getObjCProperty() const {
637 TrackingVH<MDNode> N(*this);
646 TrackingVH<MDNode> N(*this);
683 MDNode *DISubprogram::getVariablesNodes() const {
811 DIVariable llvm::createInlinedVariable(MDNode *DV, MDNode *InlinedScope,
818 return DIVariable(MDNode::get(VMContext, Elts));
822 DIVariable llvm::cleanseInlinedVariable(MDNode *DV, LLVMContext &VMContext) {
829 return DIVariable(MDNode::get(VMContext, Elts));
833 DISubprogram llvm::getDISubprogram(const MDNode *Scope) {
860 bool llvm::isSubprogramContext(const MDNode *Context) {
993 MDNode *N = dyn_cast<MDNode>(DDI->getVariable());
1007 MDNode *N = dyn_cast<MDNode>(DVI->getVariable());
1292 if (MDNode *InlinedAt = getInlinedAt()) {