Searched refs:getConstantOrNull (Results 1 – 4 of 4) sorted by relevance
180 LLVM_ABI Constant *getConstantOrNull(Value *V) const;
60 Constant *Const = getConstantOrNull(V); in tryToReplaceWithConstant()903 Constant *getConstantOrNull(Value *V) const;1060 Constant *SCCPInstVisitor::getConstantOrNull(Value *V) const { in getConstantOrNull() function in SCCPInstVisitor2273 Constant *SCCPSolver::getConstantOrNull(Value *V) const { in getConstantOrNull() function in SCCPSolver2274 return Visitor->getConstantOrNull(V); in getConstantOrNull()
441 static ConstantAsMetadata *getConstantOrNull(Constant *C) { in getConstantOrNull() function457 std::nullopt, std::nullopt, Flags, getConstantOrNull(Discriminant)); in createVariantMemberType()511 std::nullopt, Flags, getConstantOrNull(Val)); in createStaticMemberType()554 isDefault, getConstantOrNull(Val)); in createTemplateValueParameter()
146 if (auto *C = Solver.getConstantOrNull(V)) in findConstantFor()1164 C = Solver.getConstantOrNull(V); in getCandidateConstant()