Home
last modified time | relevance | path

Searched refs:getConstantOrNull (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSCCPSolver.h180 LLVM_ABI Constant *getConstantOrNull(Value *V) const;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp60 Constant *Const = getConstantOrNull(V); in tryToReplaceWithConstant()
903 Constant *getConstantOrNull(Value *V) const;
1060 Constant *SCCPInstVisitor::getConstantOrNull(Value *V) const { in getConstantOrNull() function in SCCPInstVisitor
2273 Constant *SCCPSolver::getConstantOrNull(Value *V) const { in getConstantOrNull() function in SCCPSolver
2274 return Visitor->getConstantOrNull(V); in getConstantOrNull()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp441 static ConstantAsMetadata *getConstantOrNull(Constant *C) { in getConstantOrNull() function
457 std::nullopt, std::nullopt, Flags, getConstantOrNull(Discriminant)); in createVariantMemberType()
511 std::nullopt, Flags, getConstantOrNull(Val)); in createStaticMemberType()
554 isDefault, getConstantOrNull(Val)); in createTemplateValueParameter()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp146 if (auto *C = Solver.getConstantOrNull(V)) in findConstantFor()
1164 C = Solver.getConstantOrNull(V); in getCandidateConstant()