/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...] |
CodeGenTBAA.cpp | 42 llvm::MDNode *CodeGenTBAA::getRoot() { 57 llvm::MDNode *CodeGenTBAA::createTBAAScalarType(StringRef Name, 58 llvm::MDNode *Parent) { 65 llvm::MDNode *CodeGenTBAA::getChar() { 92 llvm::MDNode * 105 if (llvm::MDNode *N = MetadataCache[Ty]) 173 llvm::MDNode *CodeGenTBAA::getTBAAInfoForVTablePtr() { 213 llvm::MDNode *TBAAInfo = MayAlias ? getChar() : getTBAAInfo(QTy); 214 llvm::MDNode *TBAATag = CodeGenOpts.StructPathTBAA ? 220 llvm::MDNode * [all...] |
/external/llvm/include/llvm/Support/ |
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...] |
/external/llvm/lib/Analysis/ |
TypeBasedAliasAnalysis.cpp | 77 /// TBAANode - This is a simple wrapper around an MDNode which provides a 81 const MDNode *Node; 85 explicit TBAANode(const MDNode *N) : Node(N) {} 87 /// getNode - Get the MDNode for this TBAANode. 88 const MDNode *getNode() const { return Node; } 94 MDNode *P = dyn_cast_or_null<MDNode>(Node->getOperand(1)); 114 /// This is a simple wrapper around an MDNode which provides a 119 const MDNode *Node; 123 explicit TBAAStructTagNode(const MDNode *N) : Node(N) { [all...] |
/external/llvm/include/llvm/IR/ |
Metadata.h | 68 /// MDNode - a tuple of other values. 69 class MDNode : public Value, public FoldingSetNode { 70 MDNode(const MDNode &) LLVM_DELETED_FUNCTION; 71 void operator=(const MDNode &) LLVM_DELETED_FUNCTION; 74 friend struct FoldingSetTrait<MDNode>; 76 /// Hash - If the MDNode is uniqued cache the hash to speed up lookup. 80 /// end of this MDNode. 85 /// FunctionLocalBit - This bit is set if this MDNode is function local. 109 ~MDNode(); [all...] |
MDBuilder.h | 45 MDNode *createFPMath(float Accuracy) { 50 return MDNode::get(Context, Op); 58 MDNode *createBranchWeights(uint32_t TrueWeight, uint32_t FalseWeight) { 64 MDNode *createBranchWeights(ArrayRef<uint32_t> Weights) { 74 return MDNode::get(Context, Vals); 82 MDNode *createRange(const APInt &Lo, const APInt &Hi) { 91 return MDNode::get(Context, Range); 102 MDNode *createAnonymousTBAARoot() { 104 MDNode *Dummy = MDNode::getTemporary(Context, ArrayRef<Value*>()) [all...] |
/external/llvm/include/llvm/Analysis/ |
Loads.h | 23 class MDNode; 53 MDNode **TBAATag = 0);
|
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(); } 252 const MDNode *TBAAInfo [all...] |
/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 | 33 MDNode *MD0 = MDHelper.createFPMath(0.0); 34 MDNode *MD1 = MDHelper.createFPMath(1.0); 35 EXPECT_EQ(MD0, (MDNode *)0); 36 EXPECT_NE(MD1, (MDNode *)0); 47 MDNode *R0 = MDHelper.createRange(A, A); 48 MDNode *R1 = MDHelper.createRange(A, B); 49 EXPECT_EQ(R0, (MDNode *)0); 50 EXPECT_NE(R1, (MDNode *)0); 61 MDNode *R0 = MDHelper.createAnonymousTBAARoot(); 62 MDNode *R1 = MDHelper.createAnonymousTBAARoot() [all...] |
/external/llvm/lib/IR/ |
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) 130 /// ~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, 75 MDNode *Scope, MDNode *InlinedAt) { 99 /// DILocation compatible MDNode. 100 MDNode *DebugLoc::getAsMDNode(const LLVMContext &Ctx) const { 103 MDNode *Scope, *IA; 113 return MDNode::get(Ctx2, Elts) [all...] |
LLVMContextImpl.h | 190 // Provide a FoldingSetTrait::Equals specialization for MDNode that can use a 192 template<> struct FoldingSetTrait<MDNode> : DefaultFoldingSetTrait<MDNode> { 193 static bool Equals(const MDNode &X, const FoldingSetNodeID &ID, 195 assert(!X.isNotUniqued() && "Non-uniqued MDNode in FoldingSet?"); 205 static unsigned ComputeHash(const MDNode &X, FoldingSetNodeID &) { 222 DebugRecVH(MDNode *n, LLVMContextImpl *ctx, int idx) 225 MDNode *get() const { 226 return cast_or_null<MDNode>(getValPtr()); 256 FoldingSet<MDNode> MDNodeSet [all...] |
DIBuilder.cpp | 56 if (MDNode *Temp = SP.getVariablesNodes()) { 71 static MDNode *getNonCompileUnitScope(MDNode *N) { 77 static MDNode *createFilePathPair(LLVMContext &VMContext, StringRef Filename, 84 return MDNode::get(VMContext, Pair); 100 TempEnumTypes = MDNode::getTemporary(VMContext, TElts); 102 TempRetainTypes = MDNode::getTemporary(VMContext, TElts); 104 TempSubprograms = MDNode::getTemporary(VMContext, TElts); 106 TempGVs = MDNode::getTemporary(VMContext, TElts); 108 TempImportedModules = MDNode::getTemporary(VMContext, TElts) [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/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; 159 LexicalScope(LexicalScope *P, const MDNode *D, const MDNode *I, bool A [all...] |
MachineMemOperand.h | 25 class MDNode; 86 const MDNode *TBAAInfo; 87 const MDNode *Ranges; 112 unsigned base_alignment, const MDNode *TBAAInfo = 0, 113 const MDNode *Ranges = 0); 149 const MDNode *getTBAAInfo() const { return TBAAInfo; } 152 const MDNode *getRanges() const { return Ranges; }
|
/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/include/llvm/ |
DebugInfo.h | 36 class MDNode; 49 /// DIDescriptor - A thin wraper around MDNode to access encoded debug info. 50 /// This should not be stored in a container, because the underlying MDNode 71 const MDNode *DbgNode; 92 explicit DIDescriptor(const MDNode *N = 0) : DbgNode(N) {} 96 operator MDNode *() const { return const_cast<MDNode*>(DbgNode); } 97 MDNode *operator ->() const { return const_cast<MDNode*>(DbgNode); } 150 explicit DISubrange(const MDNode *N = 0) : DIDescriptor(N) { [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfDebug.h | 89 const MDNode *Variable; 99 const MDNode *V) 138 const MDNode *getVariable() const { return Variable; } 317 // Maps MDNode with its corresponding CompileUnit. 318 DenseMap <const MDNode *, CompileUnit *> CUMap; 320 // Maps subprogram MDNode with its corresponding CompileUnit. 321 DenseMap <const MDNode *, CompileUnit *> SPMap; 344 DenseMap<const MDNode *, DIE *> AbstractSPDies; 352 DenseMap<const MDNode *, DbgVariable *> AbstractVariables; 364 typedef DenseMap<const MDNode *, [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
ValueMapper.h | 79 /// MapValue - provide versions that preserve type safety for MDNode and 81 inline MDNode *MapValue(const MDNode *V, ValueToValueMapTy &VM, 85 return cast<MDNode>(MapValue((const Value*)V, VM, Flags, TypeMapper,
|
/external/llvm/lib/Transforms/Utils/ |
ValueMapper.cpp | 61 if (const MDNode *MD = dyn_cast<MDNode>(V)) { 68 MDNode *Dummy = MDNode::getTemporary(V->getContext(), None); 98 MDNode *NewMD = MDNode::get(V->getContext(), Elts); 101 MDNode::deleteTemporary(Dummy); 106 MDNode::deleteTemporary(Dummy); 211 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; 213 for (SmallVectorImpl<std::pair<unsigned, MDNode *> >::iterato [all...] |