reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/MDBuilder.h
   45   ConstantAsMetadata *createConstant(Constant *C);

References

lib/IR/Instructions.cpp
  496     Vals.push_back(MDB.createConstant(ConstantInt::get(
  508       Vals.push_back(MDB.createConstant(
lib/IR/MDBuilder.cpp
   33       createConstant(ConstantFP::get(Type::getFloatTy(Context), Accuracy));
   50     Vals[i + 1] = createConstant(ConstantInt::get(Int32Ty, Weights[i]));
   68   Ops.push_back(createConstant(ConstantInt::get(Int64Ty, Count)));
   73       Ops.push_back(createConstant(ConstantInt::get(Int64Ty, ID)));
   97   return MDNode::get(Context, {createConstant(Lo), createConstant(Hi)});
   97   return MDNode::get(Context, {createConstant(Lo), createConstant(Hi)});
  103     Ops.push_back(createConstant(F));
  113   Ops.push_back(createConstant(ConstantInt::get(Int64, CalleeArgNo)));
  116     Ops.push_back(createConstant(ConstantInt::get(Int64, ArgNo, true)));
  119   Ops.push_back(createConstant(ConstantInt::get(Int1, VarArgArePassed)));
  186                        {createString(Name), Parent, createConstant(Flags)});
  205     Vals[i * 3 + 0] = createConstant(ConstantInt::get(Int64, Fields[i].Offset));
  206     Vals[i * 3 + 1] = createConstant(ConstantInt::get(Int64, Fields[i].Size));
  221     Ops[i * 2 + 2] = createConstant(ConstantInt::get(Int64, Fields[i].second));
  232                      {createString(Name), Parent, createConstant(Off)});
  242     return MDNode::get(Context, {BaseType, AccessType, createConstant(Off),
  243                                  createConstant(ConstantInt::get(Int64, 1))});
  245   return MDNode::get(Context, {BaseType, AccessType, createConstant(Off)});
  254   Ops[1] = createConstant(ConstantInt::get(Int64, Size));
  258     Ops[I * 3 + 4] = createConstant(ConstantInt::get(Int64, Fields[I].Offset));
  259     Ops[I * 3 + 5] = createConstant(ConstantInt::get(Int64, Fields[I].Size));
  268   auto *OffsetNode = createConstant(ConstantInt::get(Int64, Offset));
  269   auto *SizeNode = createConstant(ConstantInt::get(Int64, Size));
  271     auto *ImmutabilityFlagNode = createConstant(ConstantInt::get(Int64, 1));
  308     createConstant(ConstantInt::get(Type::getInt64Ty(Context), Weight)),
  318       createConstant(ConstantInt::get(IntType, Index)),
  319       createConstant(ConstantInt::get(IntType, LikleyWeight)),
  320       createConstant(ConstantInt::get(IntType, UnlikleyWeight)),
lib/ProfileData/InstrProf.cpp
  957   Vals.push_back(MDHelper.createConstant(
  961       MDHelper.createConstant(ConstantInt::get(Type::getInt64Ty(Ctx), Sum)));
  966     Vals.push_back(MDHelper.createConstant(
  968     Vals.push_back(MDHelper.createConstant(
lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
  177                       MDB.createConstant(
  186                       MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(),
  195                       MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(),
lib/Transforms/Instrumentation/CGProfile.cpp
   92                         MDB.createConstant(ConstantInt::get(