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

1 2 3 4 5 6 7 8

  /external/llvm/include/llvm/IR/
MDBuilder.h 29 class MDNode;
51 MDNode *createFPMath(float Accuracy);
58 MDNode *createBranchWeights(uint32_t TrueWeight, uint32_t FalseWeight);
61 MDNode *createBranchWeights(ArrayRef<uint32_t> Weights);
64 MDNode *createUnpredictable();
67 MDNode *createFunctionEntryCount(uint64_t Count);
74 MDNode *createRange(const APInt &Lo, const APInt &Hi);
77 MDNode *createRange(Constant *Lo, Constant *Hi);
87 MDNode *createAnonymousAARoot(StringRef Name = StringRef(),
88 MDNode *Extra = nullptr)
    [all...]
DebugLoc.h 33 /// one based on relatively opaque \a MDNode pointers.
53 /// \brief Construct from an \a MDNode.
59 explicit DebugLoc(const MDNode *N);
90 static DebugLoc get(unsigned Line, unsigned Col, const MDNode *Scope,
91 const MDNode *InlinedAt = nullptr);
95 MDNode *getScope() const;
101 MDNode *getInlinedAtScope() const;
112 /// \brief Return \c this as a bar \a MDNode.
113 MDNode *getAsMDNode() const { return Loc; }
Metadata.h 232 /// ResolveUsers, call \a MDNode::resolve() on any users whose last operand
360 /// In prehistory -- when metadata was a subclass of \a Value -- \a MDNode
364 /// MDNode *N = ...;
379 /// MDNode *N = ...;
390 /// MDNode *N = ...;
549 explicit AAMDNodes(MDNode *T = nullptr, MDNode *S = nullptr,
550 MDNode *N = nullptr)
562 MDNode *TBAA;
565 MDNode *Scope
    [all...]
TypeFinder.h 22 class MDNode;
34 DenseSet<const MDNode *> VisitedMetadata;
72 /// incorporateMDNode - This method is used to walk the operands of an MDNode
74 void incorporateMDNode(const MDNode *V);
Instruction.h 28 class MDNode;
166 MDNode *getMetadata(unsigned KindID) const {
173 MDNode *getMetadata(StringRef Kind) const {
182 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const {
190 SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const {
203 void setMetadata(unsigned KindID, MDNode *Node);
204 void setMetadata(StringRef Kind, MDNode *Node);
299 MDNode *getMetadataImpl(unsigned KindID) const;
300 MDNode *getMetadataImpl(StringRef Kind) const;
302 getAllMetadataImpl(SmallVectorImpl<std::pair<unsigned, MDNode *>> &) const
    [all...]
  /external/llvm/lib/IR/
MDBuilder.cpp 28 MDNode *MDBuilder::createFPMath(float Accuracy) {
34 return MDNode::get(Context, Op);
37 MDNode *MDBuilder::createBranchWeights(uint32_t TrueWeight,
42 MDNode *MDBuilder::createBranchWeights(ArrayRef<uint32_t> Weights) {
52 return MDNode::get(Context, Vals);
55 MDNode *MDBuilder::createUnpredictable() {
56 return MDNode::get(Context, None);
59 MDNode *MDBuilder::createFunctionEntryCount(uint64_t Count) {
61 return MDNode::get(Context,
66 MDNode *MDBuilder::createRange(const APInt &Lo, const APInt &Hi)
    [all...]
DebugLoc.cpp 20 DebugLoc::DebugLoc(const MDNode *L) : Loc(const_cast<MDNode *>(L)) {}
36 MDNode *DebugLoc::getScope() const {
46 MDNode *DebugLoc::getInlinedAtScope() const {
52 const MDNode *Scope = getInlinedAtScope();
59 DebugLoc DebugLoc::get(unsigned Line, unsigned Col, const MDNode *Scope,
60 const MDNode *InlinedAt) {
66 const_cast<MDNode *>(Scope),
67 const_cast<MDNode *>(InlinedAt));
Metadata.cpp 47 /// - nullptr is replaced by an empty MDNode.
48 /// - An MDNode with a single null operand is replaced by an empty MDNode.
49 /// - An MDNode whose only operand is a \a ConstantAsMetadata gets skipped.
57 return MDNode::get(Context, None);
59 // Return early if this isn't a single-operand MDNode.
60 auto *N = dyn_cast<MDNode>(MD);
66 return MDNode::get(Context, None);
69 // Look through the MDNode.
159 assert(!(MD && isa<MDNode>(MD) && cast<MDNode>(MD)->isTemporary()) &
    [all...]
MetadataImpl.h 29 template <class T> T *MDNode::storeImpl(T *N, StorageType Storage) {
43 T *MDNode::storeImpl(T *N, StorageType Storage, StoreT &Store) {
  /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...]
SanitizerMetadata.h 23 class MDNode;
48 llvm::MDNode *getLocationMetadata(SourceLocation Loc);
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])
165 llvm::MDNode *CodeGenTBAA::getTBAAInfoForVTablePtr() {
205 llvm::MDNode *TBAAInfo = MayAlias ? getChar() : getTBAAInfo(QTy);
206 llvm::MDNode *TBAATag = getTBAAScalarTagInfo(TBAAInfo);
211 llvm::MDNode *
    [all...]
CGLoopInfo.h 27 class MDNode;
69 llvm::MDNode *getLoopID() const { return LoopID; }
79 llvm::MDNode *LoopID;
109 llvm::MDNode *getCurLoopID() const { return getInfo().getLoopID(); }
  /external/llvm/lib/Analysis/
ScopedNoAliasAA.cpp 54 /// AliasScopeNode - This is a simple wrapper around an MDNode which provides
58 const MDNode *Node;
62 explicit AliasScopeNode(const MDNode *N) : Node(N) {}
64 /// getNode - Get the MDNode for this AliasScopeNode.
65 const MDNode *getNode() const { return Node; }
67 /// getDomain - Get the MDNode for this AliasScopeNode's domain.
68 const MDNode *getDomain() const {
71 return dyn_cast_or_null<MDNode>(Node->getOperand(1));
82 const MDNode *AScopes = LocA.AATags.Scope, *BScopes = LocB.AATags.Scope;
84 const MDNode *ANoAlias = LocA.AATags.NoAlias, *BNoAlias = LocB.AATags.NoAlias
    [all...]
TypeBasedAliasAnalysis.cpp 139 /// TBAANode - This is a simple wrapper around an MDNode which provides a
143 const MDNode *Node;
147 explicit TBAANode(const MDNode *N) : Node(N) {}
149 /// getNode - Get the MDNode for this TBAANode.
150 const MDNode *getNode() const { return Node; }
156 MDNode *P = dyn_cast_or_null<MDNode>(Node->getOperand(1));
176 /// This is a simple wrapper around an MDNode which provides a
181 const MDNode *Node;
184 explicit TBAAStructTagNode(const MDNode *N) : Node(N) {
    [all...]
  /external/llvm/include/llvm/Transforms/Utils/
UnrollLoop.h 28 class MDNode;
42 MDNode *GetUnrollMetadata(MDNode *LoopID, StringRef Name);
  /external/llvm/lib/CodeGen/SelectionDAG/
SDNodeDbgValue.h 23 class MDNode;
46 MDNode *Var;
47 MDNode *Expr;
57 SDDbgValue(MDNode *Var, MDNode *Expr, SDNode *N, unsigned R, bool indir,
66 SDDbgValue(MDNode *Var, MDNode *Expr, const Value *C, uint64_t off,
74 SDDbgValue(MDNode *Var, MDNode *Expr, unsigned FI, uint64_t off, DebugLoc dl,
84 // Returns the MDNode pointer for the variable
    [all...]
  /external/llvm/lib/CodeGen/AsmPrinter/
DwarfFile.h 35 class MDNode;
57 DenseMap<const MDNode *, DIE *> AbstractSPDies;
62 DenseMap<const MDNode *, DIE *> DITypeNodeToDieMap;
106 DenseMap<const MDNode *, DIE *> &getAbstractSPDies() {
110 void insertDIE(const MDNode *TypeMD, DIE *Die) {
113 DIE *getDIE(const MDNode *TypeMD) {
  /external/llvm/include/llvm/Analysis/
ScopedNoAliasAA.h 45 bool mayAliasInScopes(const MDNode *Scopes, const MDNode *NoAlias) const;
46 void collectMDInDomain(const MDNode *List, const MDNode *Domain,
47 SmallPtrSetImpl<const MDNode *> &Nodes) const;
Loads.h 24 class MDNode;
TypeBasedAliasAnalysis.h 47 bool Aliases(const MDNode *A, const MDNode *B) const;
48 bool PathAliases(const MDNode *A, const MDNode *B) const;
  /external/llvm/unittests/IR/
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/Target/AMDGPU/
AMDGPUOpenCLImageTypeLoweringPass.cpp 77 GetFunctionFromMDNode(MDNode *Node) {
92 MDNode *ArgNode = dyn_cast_or_null<MDNode>(Node->getOperand(i + 1));
109 AccessQualFromMD(MDNode *KernelMDNode, unsigned ArgIdx) {
110 MDNode *ArgAQNode = cast<MDNode>(KernelMDNode->getOperand(2));
115 ArgTypeFromMD(MDNode *KernelMDNode, unsigned ArgIdx) {
116 MDNode *ArgTypeNode = cast<MDNode>(KernelMDNode->getOperand(3));
121 GetArgMD(MDNode *KernelMDNode, unsigned OpIdx)
    [all...]
  /external/llvm/bindings/go/llvm/
IRBindings.cpp 63 MDNode::get(*unwrap(C), ArrayRef<Metadata *>(unwrap(MDs), Count)));
80 N->addOperand(unwrap<MDNode>(Val));
84 MDNode *N = MD ? unwrap<MDNode>(MD) : nullptr;
89 auto *Node = unwrap<MDNode>(MD);
91 MDNode::deleteTemporary(Node);
98 DebugLoc::get(Line, Col, Scope ? unwrap<MDNode>(Scope) : nullptr,
99 InlinedAt ? unwrap<MDNode>(InlinedAt) : nullptr));
  /external/llvm/include/llvm/Linker/
Linker.h 52 DenseMap<unsigned, MDNode *> *ValIDToTempMDMap = nullptr);
67 DenseMap<unsigned, MDNode *> *ValIDToTempMDMap);

Completed in 3007 milliseconds

1 2 3 4 5 6 7 8