Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
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 …]
DInstructions.cpp496 Vals.push_back(MDB.createConstant(ConstantInt::get( in updateProfWeight()
508 Vals.push_back(MDB.createConstant( in updateProfWeight()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelArguments.cpp177 MDB.createConstant( in runOnFunction()
186 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(), in runOnFunction()
195 MDB.createConstant(ConstantInt::get(Builder.getInt64Ty(), in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DCGProfile.cpp92 MDB.createConstant(ConstantInt::get( in addModuleFlags()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DMDBuilder.h45 ConstantAsMetadata *createConstant(Constant *C);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProf.cpp957 Vals.push_back(MDHelper.createConstant( in annotateValueSite()
961 MDHelper.createConstant(ConstantInt::get(Type::getInt64Ty(Ctx), Sum))); in annotateValueSite()
966 Vals.push_back(MDHelper.createConstant( in annotateValueSite()
968 Vals.push_back(MDHelper.createConstant( in annotateValueSite()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DOutputSPIRV.cpp254 spirv::IdRef createConstant(const TType &type,
1140 createConstant(type, type.getBasicType(), initializer->getConstantValue(), in declareConst()
1183 spirv::IdRef OutputSPIRVTraverser::createConstant(const TType &type, in createConstant() function in sh::__anonee95e8fc0111::OutputSPIRVTraverser
1214 createConstant(elementType, expectedBasicType, constUnion, false)); in createConstant()
1225 createConstant(*fieldType, fieldType->getBasicType(), constUnion, false)); in createConstant()
4868 const spirv::IdRef constId = createConstant(type, expectedBasicType, node->getConstantValue(), in visitConstantUnion()