/external/clang/lib/CodeGen/ |
CodeGenTBAA.h | 23 class MDNode; 45 llvm::DenseMap<const Type *, llvm::MDNode *> MetadataCache; 47 llvm::MDNode *Root; 48 llvm::MDNode *Char; 50 /// getRoot - This is the mdnode for the root of the metadata type graph 52 llvm::MDNode *getRoot(); 54 /// getChar - This is the mdnode for "char", which is special, and any types 56 llvm::MDNode *getChar(); 58 llvm::MDNode *getTBAAInfoForNamedType(StringRef NameStr, 59 llvm::MDNode *Parent [all...] |
CodeGenTBAA.cpp | 37 llvm::MDNode *CodeGenTBAA::getRoot() { 48 llvm::MDNode *CodeGenTBAA::getChar() { 61 llvm::MDNode *CodeGenTBAA::getTBAAInfoForNamedType(StringRef NameStr, 62 llvm::MDNode *Parent, 69 // Set up the mdnode operand list. 76 // Create the mdnode. 78 return llvm::MDNode::get(VMContext, llvm::makeArrayRef(Ops, Len)); 97 llvm::MDNode * 106 if (llvm::MDNode *N = MetadataCache[Ty]) 157 // members into a single identifying MDNode [all...] |
/external/llvm/include/llvm/Support/ |
DebugLoc.h | 21 class MDNode; 60 MDNode *Scope, MDNode *InlinedAt = 0); 63 static DebugLoc getFromDILocation(MDNode *N); 66 static DebugLoc getFromDILexicalBlock(MDNode *N); 81 MDNode *getScope(const LLVMContext &Ctx) const; 85 MDNode *getInlinedAt(const LLVMContext &Ctx) const; 88 void getScopeAndInlinedAt(MDNode *&Scope, MDNode *&IA, 93 /// DILocation compatible MDNode [all...] |
/external/llvm/include/llvm/ |
Metadata.h | 75 /// MDNode - a tuple of other values. 76 class MDNode : public Value, public FoldingSetNode { 77 MDNode(const MDNode &); // DO NOT IMPLEMENT 78 void operator=(const MDNode &); // DO NOT IMPLEMENT 83 /// end of this MDNode. 88 /// FunctionLocalBit - This bit is set if this MDNode is function local. 112 ~MDNode(); 114 MDNode(LLVMContext &C, ArrayRef<Value*> Vals, bool isFunctionLocal); 116 static MDNode *getMDNode(LLVMContext &C, ArrayRef<Value*> Vals [all...] |
Instruction.h | 25 class MDNode; 139 MDNode *getMetadata(unsigned KindID) const { 146 MDNode *getMetadata(const char *Kind) const { 154 void getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode*> > &MDs)const{ 162 MDNode*> > &MDs) const { 170 void setMetadata(unsigned KindID, MDNode *Node); 171 void setMetadata(const char *Kind, MDNode *Node); 187 MDNode *getMetadataImpl(unsigned KindID) const; 188 MDNode *getMetadataImpl(const char *Kind) const; 189 void getAllMetadataImpl(SmallVectorImpl<std::pair<unsigned,MDNode*> > &)const [all...] |
/external/llvm/lib/VMCore/ |
Metadata.cpp | 48 // Use CallbackVH to hold MDNode operands. 51 MDNode *Parent; 53 MDNodeOperand(Value *V, MDNode *P) : CallbackVH(V), Parent(P) {} 77 // MDNode implementation. 81 /// the end of the MDNode. 82 static MDNodeOperand *getOperandPtr(MDNode *N, unsigned Op) { 88 MDNode::MDNode(LLVMContext &C, ArrayRef<Value*> Vals, bool isFunctionLocal) 103 /// ~MDNode - Destroy MDNode [all...] |
IntrinsicInst.cpp | 57 if (MDNode* MD = cast_or_null<MDNode>(getArgOperand(0))) 68 return cast<MDNode>(getArgOperand(0))->getOperand(0); 72 return cast<MDNode>(getArgOperand(0))->getOperand(0);
|
DebugLoc.cpp | 19 MDNode *DebugLoc::getScope(const LLVMContext &Ctx) const { 36 MDNode *DebugLoc::getInlinedAt(const LLVMContext &Ctx) const { 48 void DebugLoc::getScopeAndInlinedAt(MDNode *&Scope, MDNode *&IA, 74 MDNode *Scope, MDNode *InlinedAt) { 98 /// DILocation compatible MDNode. 99 MDNode *DebugLoc::getAsMDNode(const LLVMContext &Ctx) const { 102 MDNode *Scope, *IA; 112 return MDNode::get(Ctx2, Elts) [all...] |
LLVMContextImpl.h | 104 DebugRecVH(MDNode *n, LLVMContextImpl *ctx, int idx) 107 MDNode *get() const { 108 return cast_or_null<MDNode>(getValPtr()); 134 FoldingSet<MDNode> MDNodeSet; 139 SmallPtrSet<MDNode*, 1> NonUniquedMDNodes; 204 typedef std::pair<unsigned, TrackingVH<MDNode> > MDPairTy; 211 /// ScopeRecordIdx - This is the index in ScopeRecords for an MDNode scope 213 DenseMap<MDNode*, int> ScopeRecordIdx; 217 /// the MDNode is RAUW'd. 222 DenseMap<std::pair<MDNode*, MDNode*>, int> ScopeInlinedAtIdx [all...] |
/external/llvm/include/llvm/CodeGen/ |
LexicalScopes.h | 88 LexicalScope *findAbstractScope(const MDNode *N) { 99 LexicalScope *findLexicalScope(const MDNode *N) { 113 LexicalScope *getOrCreateRegularScope(MDNode *Scope); 116 LexicalScope *getOrCreateInlinedScope(MDNode *Scope, MDNode *InlinedAt); 119 LexicalScope *getOrCreateAbstractScope(const MDNode *N); 134 DenseMap<const MDNode *, LexicalScope *> LexicalScopeMap; 141 DenseMap<const MDNode *, LexicalScope *> AbstractScopeMap; 158 LexicalScope(LexicalScope *P, const MDNode *D, const MDNode *I, bool A [all...] |
MachineMemOperand.h | 85 const MDNode *TBAAInfo; 105 unsigned base_alignment, const MDNode *TBAAInfo = 0); 138 const MDNode *getTBAAInfo() const { return TBAAInfo; }
|
/external/llvm/unittests/VMCore/ |
MetadataTest.cpp | 90 MDNode *n1 = MDNode::get(Context, V); 92 MDNode *n2 = MDNode::get(Context, c1); 93 MDNode *n3 = MDNode::get(Context, V); 115 MDNode *n = MDNode::get(Context, V); 130 MDNode *n = MDNode::get(Context, V) [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
SDNodeDbgValue.h | 23 class MDNode; 47 MDNode *mdPtr; 54 SDDbgValue(MDNode *mdP, SDNode *N, unsigned R, uint64_t off, DebugLoc dl, 63 SDDbgValue(MDNode *mdP, const Value *C, uint64_t off, DebugLoc dl, 71 SDDbgValue(MDNode *mdP, unsigned FI, uint64_t off, DebugLoc dl, unsigned O) : 80 // Returns the MDNode pointer. 81 MDNode *getMDPtr() { return mdPtr; }
|
/external/llvm/lib/Analysis/ |
TypeBasedAliasAnalysis.cpp | 76 /// TBAANode - This is a simple wrapper around an MDNode which provides a 80 const MDNode *Node; 84 explicit TBAANode(const MDNode *N) : Node(N) {} 86 /// getNode - Get the MDNode for this TBAANode. 87 const MDNode *getNode() const { return Node; } 93 MDNode *P = dyn_cast_or_null<MDNode>(Node->getOperand(1)); 139 bool Aliases(const MDNode *A, const MDNode *B) const; 172 TypeBasedAliasAnalysis::Aliases(const MDNode *A [all...] |
DIBuilder.cpp | 53 if (MDNode *Temp = SP.getVariablesNodes()) { 67 static MDNode *getNonCompileUnitScope(MDNode *N) { 84 TempEnumTypes = MDNode::getTemporary(VMContext, TElts); 86 MDNode *EnumHolder = MDNode::get(VMContext, THElts); 88 TempRetainTypes = MDNode::getTemporary(VMContext, TElts); 90 MDNode *RetainHolder = MDNode::get(VMContext, TRElts); 92 TempSubprograms = MDNode::getTemporary(VMContext, TElts) [all...] |
DebugInfo.cpp | 83 DIDescriptor(dyn_cast_or_null<const MDNode>(DbgNode->getOperand(Elt))); 123 MDNode *DIVariable::getInlinedAt() const { 126 return dyn_cast_or_null<MDNode>(DbgNode->getOperand(7)); 296 DIType::DIType(const MDNode *N) : DIScope(N) { 321 MDNode *Node = const_cast<MDNode*>(DbgNode); 322 const MDNode *DN = D; 325 MDNode::deleteTemporary(Node); 331 void DIType::replaceAllUsesWith(MDNode *D) { 341 MDNode *Node = const_cast<MDNode*>(DbgNode) [all...] |
/external/llvm/include/llvm/Analysis/ |
DebugInfo.h | 35 class MDNode; 47 /// DIDescriptor - A thin wraper around MDNode to access encoded debug info. 48 /// This should not be stored in a container, because underly MDNode may 65 const MDNode *DbgNode; 85 explicit DIDescriptor(const MDNode *N) : DbgNode(N) {} 95 operator MDNode *() const { return const_cast<MDNode*>(DbgNode); } 96 MDNode *operator ->() const { return const_cast<MDNode*>(DbgNode); } 136 explicit DISubrange(const MDNode *N = 0) : DIDescriptor(N) { [all...] |
AliasSetTracker.h | 44 const MDNode *TBAAInfo; 48 TBAAInfo(DenseMapInfo<const MDNode *>::getEmptyKey()) {} 60 void updateSizeAndTBAAInfo(uint64_t NewSize, const MDNode *NewTBAAInfo) { 63 if (TBAAInfo == DenseMapInfo<const MDNode *>::getEmptyKey()) 68 TBAAInfo = DenseMapInfo<const MDNode *>::getTombstoneKey(); 75 const MDNode *getTBAAInfo() const { 77 if (TBAAInfo == DenseMapInfo<const MDNode *>::getEmptyKey() || 78 TBAAInfo == DenseMapInfo<const MDNode *>::getTombstoneKey()) 209 const MDNode *getTBAAInfo() const { return CurNode->getTBAAInfo(); } 254 const MDNode *TBAAInfo [all...] |
DIBuilder.h | 29 class MDNode; 50 MDNode *TheCU; 52 MDNode *TempEnumTypes; 53 MDNode *TempRetainTypes; 54 MDNode *TempSubprograms; 55 MDNode *TempGVs; 70 const MDNode *getCU() { return TheCU; } 212 DIArray Elements, MDNode *VTableHolder = 0, 213 MDNode *TemplateParms = 0); 255 MDNode *File = 0, unsigned LineNo = 0 [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfDebug.h | 70 const MDNode *Variable; 90 const MDNode *V) 197 /// Maps MDNode with its corresponding CompileUnit. 198 DenseMap <const MDNode *, CompileUnit *> CUMap; 200 /// Maps subprogram MDNode with its corresponding CompileUnit. 201 DenseMap <const MDNode *, CompileUnit *> SPMap; 232 DenseMap<const MDNode *, DIE *> AbstractSPDies; 238 DenseMap<const MDNode *, DbgVariable *> AbstractVariables; 250 DenseMap<const MDNode *, SmallVector<InlineInfoLabels, 4> > InlineInfo; 251 SmallVector<const MDNode *, 4> InlinedSPNodes [all...] |
DwarfCompileUnit.h | 53 DenseMap<const MDNode *, DIE *> MDNodeToDieMap; 57 DenseMap<const MDNode *, DIEEntry *> MDNodeToDIEEntryMap; 72 /// corresponds to the MDNode mapped with the subprogram DIE. 73 DenseMap<DIE *, const MDNode *> ContainingTypeMap; 99 DIE *getDIE(const MDNode *N) { return MDNodeToDieMap.lookup(N); } 106 void insertDIE(const MDNode *N, DIE *D) { 112 DIEEntry *getDIEEntry(const MDNode *N) { 113 DenseMap<const MDNode *, DIEEntry *>::iterator I = 121 void insertDIEEntry(const MDNode *N, DIEEntry *E) { 239 DIE *getOrCreateTypeDIE(const MDNode *N) [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
ValueMapper.h | 64 /// MapValue - provide versions that preserve type safety for MDNode and 66 inline MDNode *MapValue(const MDNode *V, ValueToValueMapTy &VM, 69 return cast<MDNode>(MapValue((const Value*)V, VM, Flags, TypeMapper));
|
/external/llvm/lib/Transforms/Utils/ |
ValueMapper.cpp | 53 if (const MDNode *MD = dyn_cast<MDNode>(V)) { 60 MDNode *Dummy = MDNode::getTemporary(V->getContext(), ArrayRef<Value*>()); 75 MDNode *NewMD = MDNode::get(V->getContext(), Elts); 78 MDNode::deleteTemporary(Dummy); 83 MDNode::deleteTemporary(Dummy); 187 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; 189 for (SmallVectorImpl<std::pair<unsigned, MDNode *> >::iterato [all...] |
/external/llvm/lib/Bitcode/Writer/ |
ValueEnumerator.h | 30 class MDNode; 51 SmallVector<const MDNode *, 8> FunctionLocalMDs; 113 const SmallVector<const MDNode *, 8> &getFunctionLocalMDValues() const { 138 void EnumerateMDNodeOperands(const MDNode *N); 140 void EnumerateFunctionLocalMetadata(const MDNode *N);
|
/frameworks/compile/slang/BitWriter_2_9/ |
ValueEnumerator.h | 30 class MDNode; 51 SmallVector<const MDNode *, 8> FunctionLocalMDs; 113 const SmallVector<const MDNode *, 8> &getFunctionLocalMDValues() const { 138 void EnumerateMDNodeOperands(const MDNode *N); 140 void EnumerateFunctionLocalMetadata(const MDNode *N);
|