Lines Matching refs:MDNode
28 MDNode *MDBuilder::createFPMath(float Accuracy) { in createFPMath()
34 return MDNode::get(Context, Op); in createFPMath()
37 MDNode *MDBuilder::createBranchWeights(uint32_t TrueWeight, in createBranchWeights()
42 MDNode *MDBuilder::createBranchWeights(ArrayRef<uint32_t> Weights) { in createBranchWeights()
52 return MDNode::get(Context, Vals); in createBranchWeights()
55 MDNode *MDBuilder::createUnpredictable() { in createUnpredictable()
56 return MDNode::get(Context, None); in createUnpredictable()
59 MDNode *MDBuilder::createFunctionEntryCount(uint64_t Count) { in createFunctionEntryCount()
61 return MDNode::get(Context, in createFunctionEntryCount()
66 MDNode *MDBuilder::createRange(const APInt &Lo, const APInt &Hi) { in createRange()
73 MDNode *MDBuilder::createRange(Constant *Lo, Constant *Hi) { in createRange()
79 return MDNode::get(Context, {createConstant(Lo), createConstant(Hi)}); in createRange()
82 MDNode *MDBuilder::createAnonymousAARoot(StringRef Name, MDNode *Extra) { in createAnonymousAARoot()
84 auto Dummy = MDNode::getTemporary(Context, None); in createAnonymousAARoot()
91 MDNode *Root = MDNode::get(Context, Args); in createAnonymousAARoot()
104 MDNode *MDBuilder::createTBAARoot(StringRef Name) { in createTBAARoot()
105 return MDNode::get(Context, createString(Name)); in createTBAARoot()
110 MDNode *MDBuilder::createTBAANode(StringRef Name, MDNode *Parent, in createTBAANode()
114 return MDNode::get(Context, in createTBAANode()
117 return MDNode::get(Context, {createString(Name), Parent}); in createTBAANode()
120 MDNode *MDBuilder::createAliasScopeDomain(StringRef Name) { in createAliasScopeDomain()
121 return MDNode::get(Context, createString(Name)); in createAliasScopeDomain()
124 MDNode *MDBuilder::createAliasScope(StringRef Name, MDNode *Domain) { in createAliasScope()
125 return MDNode::get(Context, {createString(Name), Domain}); in createAliasScope()
130 MDNode *MDBuilder::createTBAAStructNode(ArrayRef<TBAAStructField> Fields) { in createTBAAStructNode()
138 return MDNode::get(Context, Vals); in createTBAAStructNode()
143 MDNode *MDBuilder::createTBAAStructTypeNode( in createTBAAStructTypeNode()
144 StringRef Name, ArrayRef<std::pair<MDNode *, uint64_t>> Fields) { in createTBAAStructTypeNode() argument
152 return MDNode::get(Context, Ops); in createTBAAStructTypeNode()
157 MDNode *MDBuilder::createTBAAScalarTypeNode(StringRef Name, MDNode *Parent, in createTBAAScalarTypeNode()
160 return MDNode::get(Context, in createTBAAScalarTypeNode()
166 MDNode *MDBuilder::createTBAAStructTagNode(MDNode *BaseType, MDNode *AccessType, in createTBAAStructTagNode()
171 return MDNode::get(Context, {BaseType, AccessType, createConstant(Off), in createTBAAStructTagNode()
174 return MDNode::get(Context, {BaseType, AccessType, createConstant(Off)}); in createTBAAStructTagNode()