Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
50 Vals[i + 1] = createConstant(ConstantInt::get(Int32Ty, Weights[i])); in createBranchWeights()
68 Ops.push_back(createConstant(ConstantInt::get(Int64Ty, Count))); in createFunctionEntryCount()
73 Ops.push_back(createConstant(ConstantInt::get(Int64Ty, ID))); in createFunctionEntryCount()
97 return MDNode::get(Context, {createConstant(Lo), createConstant(Hi)}); in createRange()
103 Ops.push_back(createConstant(F)); in createCallees()
113 Ops.push_back(createConstant(ConstantInt::get(Int64, CalleeArgNo))); in createCallbackEncoding()
116 Ops.push_back(createConstant(ConstantInt::get(Int64, ArgNo, true))); in createCallbackEncoding()
119 Ops.push_back(createConstant(ConstantInt::get(Int1, VarArgArePassed))); in createCallbackEncoding()
[all …]
H A DInstructions.cpp591 Vals.push_back(MDB.createConstant( in updateProfWeight()
610 Vals.push_back(MDB.createConstant( in updateProfWeight()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelArguments.cpp190 MDB.createConstant( in runOnFunction()
199 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(), in runOnFunction()
208 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(), in runOnFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DMDBuilder.h45 ConstantAsMetadata *createConstant(Constant *C);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DCGProfile.cpp40 MDB.createConstant(ConstantInt::get( in addModuleFlags()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DInstrProf.cpp980 Vals.push_back(MDHelper.createConstant( in annotateValueSite()
984 MDHelper.createConstant(ConstantInt::get(Type::getInt64Ty(Ctx), Sum))); in annotateValueSite()
989 Vals.push_back(MDHelper.createConstant( in annotateValueSite()
991 Vals.push_back(MDHelper.createConstant( in annotateValueSite()