Home
last modified time | relevance | path

Searched refs:createConstant (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DMDBuilder.cpp24 ConstantAsMetadata *MDBuilder::createConstant(Constant *C) { in createConstant() function in MDBuilder
33 createConstant(ConstantFP::get(Type::getFloatTy(Context), Accuracy)); in createFPMath()
64 Vals[i + Offset] = createConstant(ConstantInt::get(Int32Ty, Weights[i])); in createBranchWeights()
82 Ops.push_back(createConstant(ConstantInt::get(Int64Ty, Count))); in createFunctionEntryCount()
87 Ops.push_back(createConstant(ConstantInt::get(Int64Ty, ID))); in createFunctionEntryCount()
110 return MDNode::get(Context, {createConstant(Lo), createConstant(Hi)}); in createRange()
116 Ops.push_back(createConstant(F)); in createCallees()
126 Ops.push_back(createConstant(ConstantInt::get(Int64, CalleeArgNo))); in createCallbackEncoding()
129 Ops.push_back(createConstant(ConstantInt::get(Int64, ArgNo, true))); in createCallbackEncoding()
132 Ops.push_back(createConstant(ConstantInt::get(Int1, VarArgArePassed))); in createCallbackEncoding()
[all …]
H A DProfDataUtils.cpp275 Vals.push_back(MDB.createConstant(ConstantInt::get( in scaleProfData()
293 Vals.push_back(MDB.createConstant(ConstantInt::get( in scaleProfData()
H A DMetadata.cpp1206 MDHelper.createConstant(ConstantInt::get( in mergeDirectCallProfMetadata()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelArguments.cpp239 MDB.createConstant( in lowerKernelArguments()
248 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(), in lowerKernelArguments()
255 MDNode::get(Ctx, MDB.createConstant(ConstantInt::get( in lowerKernelArguments()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DCGProfile.cpp38 MDB.createConstant(ConstantInt::get( in addModuleFlags()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DMDBuilder.h46 ConstantAsMetadata *createConstant(Constant *C);
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp1307 Vals.push_back(MDHelper.createConstant( in annotateValueSite()
1311 MDHelper.createConstant(ConstantInt::get(Type::getInt64Ty(Ctx), Sum))); in annotateValueSite()
1316 Vals.push_back(MDHelper.createConstant( in annotateValueSite()
1318 Vals.push_back(MDHelper.createConstant( in annotateValueSite()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp168 MDNode::get(Ctx, MDB.createConstant(ConstantInt::get( in setKCFIType()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSafeStack.cpp640 Data.push_back(MDB.createConstant(ConstantInt::get(Int32Ty, FrameSize))); in moveStaticAllocasToUnsafeStack()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp2789 Ctx, MDB.createConstant(CreateKCFITypeId(FD->getType())))); in setKCFIType()