Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/IR/
H A DMDBuilder.cpp25 ConstantAsMetadata *MDBuilder::createConstant(Constant *C) { in createConstant() function in MDBuilder
34 createConstant(ConstantFP::get(Type::getFloatTy(Context), Accuracy)); in createFPMath()
51 Vals[i + 1] = createConstant(ConstantInt::get(Int32Ty, Weights[i])); in createBranchWeights()
69 Ops.push_back(createConstant(ConstantInt::get(Int64Ty, Count))); in createFunctionEntryCount()
76 Ops.push_back(createConstant(ConstantInt::get(Int64Ty, ID))); in createFunctionEntryCount()
100 return MDNode::get(Context, {createConstant(Lo), createConstant(Hi)}); in createRange()
106 Ops.push_back(createConstant(F)); in createCallees()
189 {createString(Name), Parent, createConstant(Off)}); in createTBAAScalarTypeNode()
211 Ops[1] = createConstant(ConstantInt::get(Int64, Size)); in createTBAATypeNode()
225 auto *OffsetNode = createConstant(ConstantInt::get(Int64, Offset)); in createTBAAAccessTag()
[all …]
H A DInstruction.cpp756 Vals.push_back(MDB.createConstant( in updateProfWeight()
770 Vals.push_back(MDB.createConstant( in updateProfWeight()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelArguments.cpp179 MDB.createConstant( in runOnFunction()
188 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(), in runOnFunction()
197 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(), in runOnFunction()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DCGProfile.cpp93 MDB.createConstant(ConstantInt::get( in addModuleFlags()
/freebsd-12.1/contrib/llvm/lib/ProfileData/
H A DInstrProf.cpp839 Vals.push_back(MDHelper.createConstant( in annotateValueSite()
843 MDHelper.createConstant(ConstantInt::get(Type::getInt64Ty(Ctx), Sum))); in annotateValueSite()
848 Vals.push_back(MDHelper.createConstant( in annotateValueSite()
850 Vals.push_back(MDHelper.createConstant( in annotateValueSite()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DMDBuilder.h45 ConstantAsMetadata *createConstant(Constant *C);