Searched refs:MDNode (Results 1 - 25 of 239) sorted by relevance

12345678910

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DMDBuilder.h31 class MDNode;
54 MDNode *createFPMath(float Accuracy);
61 MDNode *createBranchWeights(uint32_t TrueWeight, uint32_t FalseWeight);
64 MDNode *createBranchWeights(ArrayRef<uint32_t> Weights);
67 MDNode *createUnpredictable();
73 MDNode *createFunctionEntryCount(uint64_t Count, bool Synthetic,
77 MDNode *createFunctionSectionPrefix(StringRef Prefix);
80 MDNode *createMisExpect(uint64_t Index, uint64_t LikelyWeight,
88 MDNode *createRange(const APInt &Lo, const APInt &Hi);
91 MDNode *createRang
[all...]
H A DDebugLoc.h32 /// one based on relatively opaque \a MDNode pointers.
42 /// Construct from an \a MDNode.
48 explicit DebugLoc(const MDNode *N);
79 static DebugLoc get(unsigned Line, unsigned Col, const MDNode *Scope,
80 const MDNode *InlinedAt = nullptr,
90 DenseMap<const MDNode *, MDNode *> &Cache,
95 MDNode *getScope() const;
101 MDNode *getInlinedAtScope() const;
112 /// Return \c this as a bar \a MDNode
[all...]
H A DVerifier.h33 class MDNode;
54 DenseMap<const MDNode *, TBAABaseNodeSummary> TBAABaseNodes;
58 DenseMap<const MDNode *, bool> TBAAScalarNodes;
62 MDNode *getFieldNodeFromTBAABaseNode(Instruction &I, const MDNode *BaseNode,
65 const MDNode *BaseNode,
68 const MDNode *BaseNode,
71 bool isValidScalarTBAANode(const MDNode *MD);
79 bool visitTBAAMetadata(Instruction &I, const MDNode *MD);
H A DAutoUpgrade.h24 class MDNode;
67 MDNode *UpgradeTBAANode(MDNode &TBAANode);
89 MDNode *upgradeInstructionLoopAttachment(MDNode &N);
H A DTypeFinder.h22 class MDNode;
34 DenseSet<const MDNode *> VisitedMetadata;
61 DenseSet<const MDNode *> &getVisitedMetadata() { return VisitedMetadata; }
74 /// incorporateMDNode - This method is used to walk the operands of an MDNode
76 void incorporateMDNode(const MDNode *V);
H A DGlobalObject.h27 class MDNode;
140 MDNode *getMetadata(unsigned KindID) const;
141 MDNode *getMetadata(StringRef Kind) const;
148 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const;
149 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const;
157 void setMetadata(unsigned KindID, MDNode *MD);
158 void setMetadata(StringRef Kind, MDNode *MD);
163 void addMetadata(unsigned KindID, MDNode &MD);
164 void addMetadata(StringRef Kind, MDNode &MD);
170 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>>
[all...]
H A DMetadata.h307 /// ResolveUsers, call \a MDNode::resolve() on any users whose last operand
318 /// If this is an unresolved MDNode, RAUW support will be created on-demand.
454 /// In prehistory -- when metadata was a subclass of \a Value -- \a MDNode
458 /// MDNode *N = ...;
473 /// MDNode *N = ...;
484 /// MDNode *N = ...;
646 explicit AAMDNodes(MDNode *T, MDNode *TS, MDNode *S, MDNode *
872 class MDNode : public Metadata { class in inherits:Metadata
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DMDBuilder.cpp28 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(
75 return MDNode::get(Context, Ops);
78 MDNode *MDBuilde
[all...]
H A DDebugLoc.cpp19 DebugLoc::DebugLoc(const MDNode *L) : Loc(const_cast<MDNode *>(L)) {}
35 MDNode *DebugLoc::getScope() const {
45 MDNode *DebugLoc::getInlinedAtScope() const {
51 const MDNode *Scope = getInlinedAtScope();
71 DebugLoc DebugLoc::get(unsigned Line, unsigned Col, const MDNode *Scope,
72 const MDNode *InlinedAt, bool ImplicitCode) {
78 const_cast<MDNode *>(Scope),
79 const_cast<MDNode *>(InlinedAt), ImplicitCode);
84 DenseMap<const MDNode *, MDNod
[all...]
H A DAbstractCallSite.cpp42 MDNode *CallbackMD = Callee->getMetadata(LLVMContext::MD_callback);
47 MDNode *OpMD = cast<MDNode>(Op.get());
93 MDNode *CallbackMD = Callee->getMetadata(LLVMContext::MD_callback);
101 MDNode *CallbackEncMD = nullptr;
103 MDNode *OpMD = cast<MDNode>(Op.get());
H A DMetadata.cpp77 /// - nullptr is replaced by an empty MDNode.
78 /// - An MDNode with a single null operand is replaced by an empty MDNode.
79 /// - An MDNode whose only operand is a \a ConstantAsMetadata gets skipped.
87 return MDNode::get(Context, None);
89 // Return early if this isn't a single-operand MDNode.
90 auto *N = dyn_cast<MDNode>(MD);
96 return MDNode::get(Context, None);
99 // Look through the MDNode.
304 auto *OwnerMD = dyn_cast<MDNode>(Owne
505 MDNode::MDNode(LLVMContext &Context, unsigned ID, StorageType Storage, function in class:MDNode
[all...]
H A DMetadataImpl.h28 template <class T> T *MDNode::storeImpl(T *N, StorageType Storage) {
42 T *MDNode::storeImpl(T *N, StorageType Storage, StoreT &Store) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DScopedNoAliasAA.cpp55 /// This is a simple wrapper around an MDNode which provides a higher-level
59 const MDNode *Node = nullptr;
63 explicit AliasScopeNode(const MDNode *N) : Node(N) {}
65 /// Get the MDNode for this AliasScopeNode.
66 const MDNode *getNode() const { return Node; }
68 /// Get the MDNode for this AliasScopeNode's domain.
69 const MDNode *getDomain() const {
72 return dyn_cast_or_null<MDNode>(Node->getOperand(1));
85 const MDNode *AScopes = LocA.AATags.Scope, *BScopes = LocB.AATags.Scope;
87 const MDNode *ANoAlia
[all...]
H A DTypeBasedAliasAnalysis.cpp136 static bool isNewFormatTypeNode(const MDNode *N) {
140 if (!isa<MDNode>(N->getOperand(0)))
145 /// This is a simple wrapper around an MDNode which provides a higher-level
156 /// getNode - Get the MDNode for this TBAANode.
191 /// \c MDNode.
193 using TBAANode = TBAANodeImpl<const MDNode>;
194 using MutableTBAANode = TBAANodeImpl<MDNode>;
197 /// This is a simple wrapper around an MDNode which provides a
208 /// Get the MDNode for this TBAAStructTagNode.
223 return dyn_cast_or_null<MDNode>(Nod
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.h43 TBAAAccessInfo(TBAAAccessKind Kind, llvm::MDNode *BaseType,
44 llvm::MDNode *AccessType, uint64_t Offset, uint64_t Size)
49 TBAAAccessInfo(llvm::MDNode *BaseType, llvm::MDNode *AccessType,
55 explicit TBAAAccessInfo(llvm::MDNode *AccessType, uint64_t Size)
101 llvm::MDNode *BaseType;
105 llvm::MDNode *AccessType;
129 llvm::DenseMap<const Type *, llvm::MDNode *> MetadataCache;
131 llvm::DenseMap<const Type *, llvm::MDNode *> BaseTypeMetadataCache;
133 llvm::DenseMap<TBAAAccessInfo, llvm::MDNode *> AccessTagMetadataCach
[all...]
H A DCGLoopInfo.cpp21 MDNode *
25 TempMDTuple TempNode = MDNode::getTemporary(Ctx, None);
29 MDNode *LoopID = MDNode::getDistinct(Ctx, NewLoopProperties);
34 MDNode *LoopInfo::createPipeliningMetadata(const LoopAttributes &Attrs,
50 MDNode::get(Ctx, {MDString::get(Ctx, "llvm.loop.pipeline.disable"),
59 TempMDTuple TempNode = MDNode::getTemporary(Ctx, None);
68 Args.push_back(MDNode::get(Ctx, Vals));
73 MDNode *LoopID = MDNode
[all...]
H A DCGLoopInfo.h26 class MDNode;
88 llvm::MDNode *getLoopID() const { return TempLoopID.get(); }
97 llvm::MDNode *getAccessGroup() const { return AccGroup; }
111 llvm::MDNode *AccGroup = nullptr;
121 llvm::MDNode *UnrollAndJamInnerFollowup = nullptr;
124 llvm::MDNode *
138 /// @param HasUserTransforms [out] Set to true if the returned MDNode encodes
144 llvm::MDNode *
148 llvm::MDNode *
152 llvm::MDNode *
[all...]
H A DSanitizerMetadata.h22 class MDNode;
47 llvm::MDNode *getLocationMetadata(SourceLocation Loc);
H A DCodeGenTBAA.cpp43 llvm::MDNode *CodeGenTBAA::getRoot() {
58 llvm::MDNode *CodeGenTBAA::createScalarTypeNode(StringRef Name,
59 llvm::MDNode *Parent,
68 llvm::MDNode *CodeGenTBAA::getChar() {
115 llvm::MDNode *CodeGenTBAA::getTypeInfoHelper(const Type *Ty) {
188 llvm::MDNode *CodeGenTBAA::getTypeInfo(QualType QTy) {
208 if (llvm::MDNode *N = MetadataCache[Ty])
214 llvm::MDNode *TypeNode = getTypeInfoHelper(Ty);
276 llvm::MDNode *TBAAType = MayAlias ? getChar() : getTypeInfo(QTy);
277 llvm::MDNode *TBAATa
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTypeBasedAliasAnalysis.h27 class MDNode;
55 bool Aliases(const MDNode *A, const MDNode *B) const;
56 bool PathAliases(const MDNode *A, const MDNode *B) const;
H A DScopedNoAliasAA.h26 class MDNode;
50 bool mayAliasInScopes(const MDNode *Scopes, const MDNode *NoAlias) const;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCallPromotionUtils.h49 MDNode *BranchWeights = nullptr);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAliasAnalysis.h27 class MDNode;
53 bool Aliases(const MDNode *A, const MDNode *B) const;
54 bool PathAliases(const MDNode *A, const MDNode *B) const;
H A DR600OpenCLImageTypeLoweringPass.cpp92 GetFunctionFromMDNode(MDNode *Node) {
107 MDNode *ArgNode = dyn_cast_or_null<MDNode>(Node->getOperand(i + 1));
124 AccessQualFromMD(MDNode *KernelMDNode, unsigned ArgIdx) {
125 MDNode *ArgAQNode = cast<MDNode>(KernelMDNode->getOperand(2));
130 ArgTypeFromMD(MDNode *KernelMDNode, unsigned ArgIdx) {
131 MDNode *ArgTypeNode = cast<MDNode>(KernelMDNode->getOperand(3));
136 GetArgMD(MDNode *KernelMDNod
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfFile.h89 DenseMap<const MDNode *, DIE *> AbstractSPDies;
95 DenseMap<const MDNode *, DIE *> DITypeNodeToDieMap;
164 DenseMap<const MDNode *, DIE *> &getAbstractSPDies() {
172 void insertDIE(const MDNode *TypeMD, DIE *Die) {
176 DIE *getDIE(const MDNode *TypeMD) {

Completed in 151 milliseconds

12345678910