Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.cpp737 Vals.push_back(MDB.createConstant( in updateProfWeight()
756 Vals.push_back(MDB.createConstant( in updateProfWeight()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelArguments.cpp190 MDB.createConstant( in runOnFunction()
199 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(), in runOnFunction()
206 MDNode::get(Ctx, MDB.createConstant(ConstantInt::get( in runOnFunction()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DCGProfile.cpp38 MDB.createConstant(ConstantInt::get( in addModuleFlags()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DMDBuilder.h46 ConstantAsMetadata *createConstant(Constant *C);
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/
H A DInstrProf.cpp1043 Vals.push_back(MDHelper.createConstant( in annotateValueSite()
1047 MDHelper.createConstant(ConstantInt::get(Type::getInt64Ty(Ctx), Sum))); in annotateValueSite()
1052 Vals.push_back(MDHelper.createConstant( in annotateValueSite()
1054 Vals.push_back(MDHelper.createConstant( in annotateValueSite()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp161 MDNode::get(Ctx, MDB.createConstant(ConstantInt::get( in setKCFIType()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DSafeStack.cpp641 Data.push_back(MDB.createConstant(ConstantInt::get(Int32Ty, FrameSize))); in moveStaticAllocasToUnsafeStack()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenModule.cpp2363 Ctx, MDB.createConstant(CreateKCFITypeId(FD->getType())))); in setKCFIType()