Searched refs:createConstant (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | MDBuilder.cpp | 24 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 D | ProfDataUtils.cpp | 275 Vals.push_back(MDB.createConstant(ConstantInt::get( in scaleProfData() 293 Vals.push_back(MDB.createConstant(ConstantInt::get( in scaleProfData()
|
H A D | Metadata.cpp | 1206 MDHelper.createConstant(ConstantInt::get( in mergeDirectCallProfMetadata()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULowerKernelArguments.cpp | 239 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 D | CGProfile.cpp | 38 MDB.createConstant(ConstantInt::get( in addModuleFlags()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | MDBuilder.h | 46 ConstantAsMetadata *createConstant(Constant *C);
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | InstrProf.cpp | 1307 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 D | ModuleUtils.cpp | 168 MDNode::get(Ctx, MDB.createConstant(ConstantInt::get( in setKCFIType()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | SafeStack.cpp | 640 Data.push_back(MDB.createConstant(ConstantInt::get(Int32Ty, FrameSize))); in moveStaticAllocasToUnsafeStack()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenModule.cpp | 2789 Ctx, MDB.createConstant(CreateKCFITypeId(FD->getType())))); in setKCFIType()
|