HomeSort by relevance Sort by last modified time
    Searched refs:MDNode (Results 1 - 25 of 188) sorted by null

1 2 3 4 5 6 7 8

  /external/llvm/include/llvm/IR/
MDBuilder.h 26 class MDNode;
46 MDNode *createFPMath(float Accuracy);
53 MDNode *createBranchWeights(uint32_t TrueWeight, uint32_t FalseWeight);
56 MDNode *createBranchWeights(ArrayRef<uint32_t> Weights);
63 MDNode *createRange(const APInt &Lo, const APInt &Hi);
72 MDNode *createAnonymousTBAARoot();
77 MDNode *createTBAARoot(StringRef Name);
81 MDNode *createTBAANode(StringRef Name, MDNode *Parent,
87 MDNode *TBAA
    [all...]
DebugLoc.h 22 class MDNode;
62 MDNode *Scope, MDNode *InlinedAt = nullptr);
65 static DebugLoc getFromDILocation(MDNode *N);
68 static DebugLoc getFromDILexicalBlock(MDNode *N);
83 MDNode *getScope(const LLVMContext &Ctx) const;
87 MDNode *getInlinedAt(const LLVMContext &Ctx) const;
90 void getScopeAndInlinedAt(MDNode *&Scope, MDNode *&IA,
93 /// getScopeNode - Get MDNode for DebugLoc's scope, or null if invalid
    [all...]
Metadata.h 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();
    [all...]
DebugInfo.h 40 class MDNode;
55 /// Maps from type identifier to the actual MDNode.
56 typedef DenseMap<const MDString *, MDNode *> DITypeIdentifierMap;
58 /// DIDescriptor - A thin wraper around MDNode to access encoded debug info.
59 /// This should not be stored in a container, because the underlying MDNode
87 const MDNode *DbgNode;
107 explicit DIDescriptor(const MDNode *N = nullptr) : DbgNode(N) {}
111 operator MDNode *() const { return const_cast<MDNode *>(DbgNode); }
112 MDNode *operator->() const { return const_cast<MDNode *>(DbgNode);
    [all...]
  /art/compiler/llvm/
md_builder.h 28 class MDNode;
43 // Pre-generate the MDNode for static branch prediction
49 ::llvm::MDNode* GetTBAASpecialType(TBAASpecialType special_ty);
50 ::llvm::MDNode* GetTBAAMemoryJType(TBAASpecialType special_ty, JType j_ty);
52 ::llvm::MDNode* GetBranchWeights(ExpectCond expect) {
58 ::llvm::MDNode* const tbaa_root_;
59 ::llvm::MDNode* tbaa_special_type_[MAX_TBAA_SPECIAL_TYPE];
62 ::llvm::MDNode* tbaa_memory_jtype_[3][MAX_JTYPE];
64 ::llvm::MDNode* expect_cond_[MAX_EXPECT];
md_builder.cc 28 ::llvm::MDNode* MDBuilder::GetTBAASpecialType(TBAASpecialType sty_id) {
33 ::llvm::MDNode*& spec_ty = tbaa_special_type_[sty_id];
71 ::llvm::MDNode* MDBuilder::GetTBAAMemoryJType(TBAASpecialType sty_id, JType jty_id) {
91 ::llvm::MDNode*& spec_ty = tbaa_memory_jtype_[sty_mapped_index][jty_id];
  /external/clang/lib/CodeGen/
CodeGenTBAA.h 24 class MDNode;
39 TBAAPathTag(const Type *B, const llvm::MDNode *A, uint64_t O)
42 const llvm::MDNode *AccessN;
59 llvm::DenseMap<const Type *, llvm::MDNode *> MetadataCache;
61 llvm::DenseMap<const Type *, llvm::MDNode *> StructTypeMetadataCache;
63 llvm::DenseMap<TBAAPathTag, llvm::MDNode *> StructTagMetadataCache;
65 llvm::DenseMap<const llvm::MDNode *, llvm::MDNode *> ScalarTagMetadataCache;
69 llvm::DenseMap<const Type *, llvm::MDNode *> StructMetadataCache;
71 llvm::MDNode *Root
    [all...]
CGLoopInfo.cpp 20 static MDNode *createMetadata(LLVMContext &Ctx, const LoopAttributes &Attrs) {
29 MDNode *TempNode = MDNode::getTemporary(Ctx, None);
37 Args.push_back(MDNode::get(Ctx, Vals));
45 Args.push_back(MDNode::get(Ctx, Vals));
54 Args.push_back(MDNode::get(Ctx, Vals));
57 MDNode *LoopID = MDNode::get(Ctx, Args);
62 MDNode::deleteTemporary(TempNode);
CodeGenTBAA.cpp 42 llvm::MDNode *CodeGenTBAA::getRoot() {
55 llvm::MDNode *CodeGenTBAA::createTBAAScalarType(StringRef Name,
56 llvm::MDNode *Parent) {
60 llvm::MDNode *CodeGenTBAA::getChar() {
87 llvm::MDNode *
100 if (llvm::MDNode *N = MetadataCache[Ty])
166 llvm::MDNode *CodeGenTBAA::getTBAAInfoForVTablePtr() {
206 llvm::MDNode *TBAAInfo = MayAlias ? getChar() : getTBAAInfo(QTy);
207 llvm::MDNode *TBAATag = getTBAAScalarTagInfo(TBAAInfo);
212 llvm::MDNode *
    [all...]
CGLoopInfo.h 26 class MDNode;
60 llvm::MDNode *getLoopID() const { return LoopID; }
70 llvm::MDNode *LoopID;
95 llvm::MDNode *getCurLoopID() const { return getInfo().getLoopID(); }
  /external/llvm/include/llvm/Analysis/
Loads.h 23 class MDNode;
54 MDNode **TBAATag = nullptr);
AliasSetTracker.h 43 const MDNode *TBAAInfo;
47 TBAAInfo(DenseMapInfo<const MDNode *>::getEmptyKey()) {}
59 void updateSizeAndTBAAInfo(uint64_t NewSize, const MDNode *NewTBAAInfo) {
62 if (TBAAInfo == DenseMapInfo<const MDNode *>::getEmptyKey())
67 TBAAInfo = DenseMapInfo<const MDNode *>::getTombstoneKey();
74 const MDNode *getTBAAInfo() const {
76 if (TBAAInfo == DenseMapInfo<const MDNode *>::getEmptyKey() ||
77 TBAAInfo == DenseMapInfo<const MDNode *>::getTombstoneKey())
207 const MDNode *getTBAAInfo() const { return CurNode->getTBAAInfo(); }
253 const MDNode *TBAAInfo
    [all...]
  /external/llvm/lib/CodeGen/AsmPrinter/
DbgValueHistoryCalculator.h 20 class MDNode;
33 typedef MapVector<const MDNode *, InstrRanges> InstrRangesMap;
37 void startInstrRange(const MDNode *Var, const MachineInstr &MI);
38 void endInstrRange(const MDNode *Var, const MachineInstr &MI);
41 unsigned getRegisterForVar(const MDNode *Var) const;
DebugLocEntry.h 18 class MDNode;
29 Value(const MDNode *Var, int64_t i)
33 Value(const MDNode *Var, const ConstantFP *CFP)
37 Value(const MDNode *Var, const ConstantInt *CIP)
41 Value(const MDNode *Var, MachineLocation Loc)
46 const MDNode *Variable;
87 const MDNode *getVariable() const { return Variable; }
  /external/llvm/lib/IR/
MDBuilder.cpp 24 MDNode *MDBuilder::createFPMath(float Accuracy) {
29 return MDNode::get(Context, Op);
32 MDNode *MDBuilder::createBranchWeights(uint32_t TrueWeight,
38 MDNode *MDBuilder::createBranchWeights(ArrayRef<uint32_t> Weights) {
48 return MDNode::get(Context, Vals);
51 MDNode *MDBuilder::createRange(const APInt &Lo, const APInt &Hi) {
60 return MDNode::get(Context, Range);
63 MDNode *MDBuilder::createAnonymousTBAARoot() {
65 MDNode *Dummy = MDNode::getTemporary(Context, ArrayRef<Value *>())
    [all...]
Metadata.cpp 53 // Use CallbackVH to hold MDNode operands.
56 MDNode *getParent() {
64 return reinterpret_cast<MDNode*>(Cur) - 1;
98 // MDNode implementation.
102 /// the end of the MDNode.
103 static MDNodeOperand *getOperandPtr(MDNode *N, unsigned Op) {
109 void MDNode::replaceOperandWith(unsigned i, Value *Val) {
114 MDNode::MDNode(LLVMContext &C, ArrayRef<Value*> Vals, bool isFunctionLocal)
133 /// ~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 20 MDNode *DebugLoc::getScope(const LLVMContext &Ctx) const {
37 MDNode *DebugLoc::getInlinedAt(const LLVMContext &Ctx) const {
49 void DebugLoc::getScopeAndInlinedAt(MDNode *&Scope, MDNode *&IA,
73 MDNode *DebugLoc::getScopeNode(const LLVMContext &Ctx) const {
74 if (MDNode *InlinedAt = getInlinedAt(Ctx))
80 const MDNode *Scope = getScopeNode(Ctx);
95 MDNode *Scope, MDNode *InlinedAt) {
119 /// DILocation-compatible MDNode
    [all...]
  /external/llvm/lib/Analysis/
TypeBasedAliasAnalysis.cpp 140 /// TBAANode - This is a simple wrapper around an MDNode which provides a
144 const MDNode *Node;
148 explicit TBAANode(const MDNode *N) : Node(N) {}
150 /// getNode - Get the MDNode for this TBAANode.
151 const MDNode *getNode() const { return Node; }
157 MDNode *P = dyn_cast_or_null<MDNode>(Node->getOperand(1));
177 /// This is a simple wrapper around an MDNode which provides a
182 const MDNode *Node;
185 explicit TBAAStructTagNode(const MDNode *N) : Node(N) {
    [all...]
  /external/llvm/include/llvm/CodeGen/
LexicalScopes.h 48 LexicalScope(LexicalScope *P, const MDNode *D, const MDNode *I, bool A)
57 const MDNode *getDesc() const { return Desc; }
58 const MDNode *getInlinedAt() const { return InlinedAtLocation; }
59 const MDNode *getScopeNode() const { return Desc; }
119 AssertingVH<const MDNode> Desc; // Debug info descriptor.
120 AssertingVH<const MDNode> InlinedAtLocation; // Location at which this
182 LexicalScope *findAbstractScope(const MDNode *N) {
192 LexicalScope *findLexicalScope(const MDNode *N) {
201 LexicalScope *getOrCreateAbstractScope(const MDNode *N)
    [all...]
MachineMemOperand.h 27 class MDNode;
94 const MDNode *TBAAInfo;
95 const MDNode *Ranges;
120 unsigned base_alignment, const MDNode *TBAAInfo = nullptr,
121 const MDNode *Ranges = nullptr);
165 const MDNode *getTBAAInfo() const { return TBAAInfo; }
168 const MDNode *getRanges() const { return Ranges; }
  /external/llvm/unittests/IR/
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::getIfExists(Context, c1)
    [all...]
MDBuilderTest.cpp 34 MDNode *MD0 = MDHelper.createFPMath(0.0);
35 MDNode *MD1 = MDHelper.createFPMath(1.0);
36 EXPECT_EQ(MD0, (MDNode *)nullptr);
37 EXPECT_NE(MD1, (MDNode *)nullptr);
48 MDNode *R0 = MDHelper.createRange(A, A);
49 MDNode *R1 = MDHelper.createRange(A, B);
50 EXPECT_EQ(R0, (MDNode *)nullptr);
51 EXPECT_NE(R1, (MDNode *)nullptr);
62 MDNode *R0 = MDHelper.createAnonymousTBAARoot();
63 MDNode *R1 = MDHelper.createAnonymousTBAARoot()
    [all...]
  /external/llvm/lib/ExecutionEngine/
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) {
  /external/llvm/lib/CodeGen/SelectionDAG/
SDNodeDbgValue.h 23 class MDNode;
47 MDNode *mdPtr;
55 SDDbgValue(MDNode *mdP, SDNode *N, unsigned R,
66 SDDbgValue(MDNode *mdP, const Value *C, uint64_t off, DebugLoc dl,
75 SDDbgValue(MDNode *mdP, unsigned FI, uint64_t off, DebugLoc dl, unsigned O) :
85 // Returns the MDNode pointer.
86 MDNode *getMDPtr() { return mdPtr; }

Completed in 679 milliseconds

1 2 3 4 5 6 7 8