/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Support/ |
H A D | DebugLoc.h | 20 class MDNode; 59 MDNode *Scope, MDNode *InlinedAt = 0); 62 static DebugLoc getFromDILocation(MDNode *N); 65 static DebugLoc getFromDILexicalBlock(MDNode *N); 80 MDNode *getScope(const LLVMContext &Ctx) const; 84 MDNode *getInlinedAt(const LLVMContext &Ctx) const; 87 void getScopeAndInlinedAt(MDNode *&Scope, MDNode *&IA, 92 /// DILocation compatible MDNode [all...] |
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/ |
H A D | Metadata.h | 72 /// MDNode - a tuple of other values. 73 class MDNode : public Value, public FoldingSetNode { class in namespace:llvm 74 MDNode(const MDNode &) LLVM_DELETED_FUNCTION; 75 void operator=(const MDNode &) LLVM_DELETED_FUNCTION; 78 friend struct FoldingSetTrait<MDNode>; 80 /// Hash - If the MDNode is uniqued cache the hash to speed up lookup. 84 /// end of this MDNode. 89 /// FunctionLocalBit - This bit is set if this MDNode is function local. 113 ~MDNode(); [all...] |
H A D | MDBuilder.h | 44 MDNode *createFPMath(float Accuracy) { 49 return MDNode::get(Context, Op); 57 MDNode *createBranchWeights(uint32_t TrueWeight, uint32_t FalseWeight) { 63 MDNode *createBranchWeights(ArrayRef<uint32_t> Weights) { 73 return MDNode::get(Context, Vals); 81 MDNode *createRange(const APInt &Lo, const APInt &Hi) { 90 return MDNode::get(Context, Range); 101 MDNode *createAnonymousTBAARoot() { 103 MDNode *Dummy = MDNode [all...] |
H A D | DIBuilder.h | 29 class MDNode; 51 MDNode *TheCU; 53 MDNode *TempEnumTypes; 54 MDNode *TempRetainTypes; 55 MDNode *TempSubprograms; 56 MDNode *TempGVs; 71 const MDNode *getCU() { return TheCU; } 211 MDNode *PropertyNode); 248 DIArray Elements, MDNode *VTableHolder = 0, 249 MDNode *TemplateParm [all...] |
H A D | DebugInfo.h | 35 class MDNode; 48 /// DIDescriptor - A thin wraper around MDNode to access encoded debug info. 49 /// This should not be stored in a container, because the underlying MDNode 67 const MDNode *DbgNode; 87 explicit DIDescriptor(const MDNode *N) : DbgNode(N) {} 97 operator MDNode *() const { return const_cast<MDNode*>(DbgNode); } 98 MDNode *operator ->() const { return const_cast<MDNode*>(DbgNode); } 141 explicit DISubrange(const MDNode * [all...] |
H A D | Instruction.h | 25 class MDNode; 139 MDNode *getMetadata(unsigned KindID) const { 146 MDNode *getMetadata(StringRef 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(StringRef Kind, MDNode *Node); 187 MDNode *getMetadataImpl(unsigned KindID) const; 188 MDNode *getMetadataImpl(StringRef Kind) const; 189 void getAllMetadataImpl(SmallVectorImpl<std::pair<unsigned,MDNode*> > [all...] |
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Analysis/ |
H A D | Loads.h | 23 class MDNode; 53 MDNode **TBAATag = 0);
|
H A D | 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()) 208 const MDNode *getTBAAInfo() const { return CurNode->getTBAAInfo(); } 253 const MDNode *TBAAInf [all...] |
/macosx-10.10.1/llvmCore-3425.0.34/lib/VMCore/ |
H A D | Metadata.cpp | 52 // Use CallbackVH to hold MDNode operands. 55 MDNode *getParent() { 63 return reinterpret_cast<MDNode*>(Cur) - 1; 95 // MDNode implementation. 99 /// the end of the MDNode. 100 static MDNodeOperand *getOperandPtr(MDNode *N, unsigned Op) { 106 void MDNode::replaceOperandWith(unsigned i, Value *Val) { 111 MDNode::MDNode(LLVMContext &C, ArrayRef<Value*> Vals, bool isFunctionLocal) function in class:MDNode 130 /// ~MDNode [all...] |
H A D | 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);
|
H A D | DebugLoc.cpp | 20 MDNode *DebugLoc::getScope(const LLVMContext &Ctx) const { 37 MDNode *DebugLoc::getInlinedAt(const LLVMContext &Ctx) const { 49 void DebugLoc::getScopeAndInlinedAt(MDNode *&Scope, MDNode *&IA, 75 MDNode *Scope, MDNode *InlinedAt) { 99 /// DILocation compatible MDNode. 100 MDNode *DebugLoc::getAsMDNode(const LLVMContext &Ctx) const { 103 MDNode *Scope, *IA; 113 return MDNode [all...] |
H A D | 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)); 301 DIType::DIType(const MDNode *N) : DIScope(N) { 326 MDNode *Node = const_cast<MDNode*>(DbgNode); 327 const MDNode *DN = D; 330 MDNode::deleteTemporary(Node); 336 void DIType::replaceAllUsesWith(MDNode *D) { 346 MDNode *Nod [all...] |
H A D | DIBuilder.cpp | 56 if (MDNode *Temp = SP.getVariablesNodes()) { 68 static MDNode *getNonCompileUnitScope(MDNode *N) { 86 TempEnumTypes = MDNode::getTemporary(VMContext, TElts); 88 MDNode *EnumHolder = MDNode::get(VMContext, THElts); 90 TempRetainTypes = MDNode::getTemporary(VMContext, TElts); 92 MDNode *RetainHolder = MDNode::get(VMContext, TRElts); 94 TempSubprograms = MDNode [all...] |
H A D | LLVMContextImpl.h | 198 // Provide a FoldingSetTrait::Equals specialization for MDNode that can use a 200 template<> struct FoldingSetTrait<MDNode> : DefaultFoldingSetTrait<MDNode> { 201 static bool Equals(const MDNode &X, const FoldingSetNodeID &ID, 203 assert(!X.isNotUniqued() && "Non-uniqued MDNode in FoldingSet?"); 213 static unsigned ComputeHash(const MDNode &X, FoldingSetNodeID &) { 230 DebugRecVH(MDNode *n, LLVMContextImpl *ctx, int idx) 233 MDNode *get() const { 234 return cast_or_null<MDNode>(getValPtr()); 262 FoldingSet<MDNode> MDNodeSe [all...] |
/macosx-10.10.1/llvmCore-3425.0.34/unittests/VMCore/ |
H A D | MetadataTest.cpp | 90 MDNode *n1 = MDNode::get(Context, V); 92 MDNode *n2 = MDNode::get(Context, c1); 94 MDNode *n3 = MDNode::get(Context, V); 95 MDNode *n4 = MDNode::getIfExists(Context, V); 96 MDNode *n5 = MDNode [all...] |
H A D | MDBuilderTest.cpp | 34 MDNode *MD0 = MDHelper.createFPMath(0.0); 35 MDNode *MD1 = MDHelper.createFPMath(1.0); 36 EXPECT_EQ(MD0, (MDNode *)0); 37 EXPECT_NE(MD1, (MDNode *)0); 48 MDNode *R0 = MDHelper.createRange(A, A); 49 MDNode *R1 = MDHelper.createRange(A, B); 50 EXPECT_EQ(R0, (MDNode *)0); 51 EXPECT_NE(R1, (MDNode *)0); 62 MDNode *R0 = MDHelper.createAnonymousTBAARoot(); 63 MDNode *R [all...] |
/macosx-10.10.1/llvmCore-3425.0.34/lib/ExecutionEngine/ |
H A D | EventListenerCommon.h | 31 DenseMap<AssertingVH<MDNode>, std::string> Filenames; 32 DenseMap<AssertingVH<MDNode>, std::string> Paths; 35 const char *getFilename(MDNode *Scope) { 44 const char *getFullPath(MDNode *Scope) {
|
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/CodeGen/ |
H A D | 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; 159 LexicalScope(LexicalScope *P, const MDNode *D, const MDNode * [all...] |
H A D | MachineMemOperand.h | 25 class MDNode; 86 const MDNode *TBAAInfo; 87 const MDNode *Ranges; 109 unsigned base_alignment, const MDNode *TBAAInfo = 0, 110 const MDNode *Ranges = 0); 143 const MDNode *getTBAAInfo() const { return TBAAInfo; } 146 const MDNode *getRanges() const { return Ranges; }
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/SelectionDAG/ |
H A D | 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; }
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/Analysis/ |
H A D | 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 * [all...] |
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/AsmPrinter/ |
H A D | DwarfDebug.h | 70 const MDNode *Variable; 90 const MDNode *V) 209 /// Maps MDNode with its corresponding CompileUnit. 210 DenseMap <const MDNode *, CompileUnit *> CUMap; 212 /// Maps subprogram MDNode with its corresponding CompileUnit. 213 DenseMap <const MDNode *, CompileUnit *> SPMap; 242 DenseMap<const MDNode *, DIE *> AbstractSPDies; 248 DenseMap<const MDNode *, DbgVariable *> AbstractVariables; 260 DenseMap<const MDNode *, SmallVector<InlineInfoLabels, 4> > InlineInfo; 261 SmallVector<const MDNode *, [all...] |
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Transforms/Utils/ |
H A D | 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));
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Utils/ |
H A D | 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 *> > [all...] |
/macosx-10.10.1/llvmCore-3425.0.34/lib/Bitcode/Writer/ |
H A D | ValueEnumerator.h | 30 class MDNode; 52 SmallVector<const MDNode *, 8> FunctionLocalMDs; 117 const SmallVector<const MDNode *, 8> &getFunctionLocalMDValues() const { 142 void EnumerateMDNodeOperands(const MDNode *N); 144 void EnumerateFunctionLocalMetadata(const MDNode *N);
|