Lines Matching refs:createConstant
24 ConstantAsMetadata *MDBuilder::createConstant(Constant *C) { in createConstant() function in MDBuilder
33 createConstant(ConstantFP::get(Type::getFloatTy(Context), Accuracy)); in createFPMath()
50 Vals[i + 1] = createConstant(ConstantInt::get(Int32Ty, Weights[i])); in createBranchWeights()
63 createConstant(ConstantInt::get(Int64Ty, Count))}); in createFunctionEntryCount()
79 return MDNode::get(Context, {createConstant(Lo), createConstant(Hi)}); in createRange()
115 {createString(Name), Parent, createConstant(Flags)}); in createTBAANode()
134 Vals[i * 3 + 0] = createConstant(ConstantInt::get(Int64, Fields[i].Offset)); in createTBAAStructNode()
135 Vals[i * 3 + 1] = createConstant(ConstantInt::get(Int64, Fields[i].Size)); in createTBAAStructNode()
150 Ops[i * 2 + 2] = createConstant(ConstantInt::get(Int64, Fields[i].second)); in createTBAAStructTypeNode()
161 {createString(Name), Parent, createConstant(Off)}); in createTBAAScalarTypeNode()
171 return MDNode::get(Context, {BaseType, AccessType, createConstant(Off), in createTBAAStructTagNode()
172 createConstant(ConstantInt::get(Int64, 1))}); in createTBAAStructTagNode()
174 return MDNode::get(Context, {BaseType, AccessType, createConstant(Off)}); in createTBAAStructTagNode()