Home
last modified time | relevance | path

Searched refs:ConstantExpression (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DGVNExpression.h588 class ConstantExpression final : public Expression {
593 ConstantExpression() : Expression(ET_Constant) {} in ConstantExpression() function
594 ConstantExpression(Constant *constantValue) in ConstantExpression() function
596 ConstantExpression(const ConstantExpression &) = delete;
597 ConstantExpression &operator=(const ConstantExpression &) = delete;
607 const ConstantExpression &OC = cast<ConstantExpression>(Other); in equals()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp723 const ConstantExpression *createConstantExpression(Constant *) const;
1266 const ConstantExpression *NewGVN::createConstantExpression(Constant *C) const { in createConstantExpression()
1267 auto *E = new (ExpressionAllocator) ConstantExpression(C); in createConstantExpression()
2360 if (const auto *CE = dyn_cast<ConstantExpression>(E)) { in performCongruenceFinding()
2385 if (isa<ConstantExpression>(E)) in performCongruenceFinding()
2483 if (const auto *CE = dyn_cast_or_null<ConstantExpression>(Res.Expr)) { in processOutgoingEdges()
2827 if (isa<ConstantExpression>(E) || isa<VariableExpression>(E)) { in makePossiblePHIOfOps()
3106 if (Symbolized && !isa<ConstantExpression>(Symbolized) && in valueNumberInstruction()
3802 if (auto *CE = dyn_cast<ConstantExpression>(E)) in findPHIOfOpsLeader()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp2193 ConstantExpression, enumerator
2351 if (!CheckEvaluationResult(CheckEvaluationResultKind::ConstantExpression, in CheckLValueConstantExpression()
2509 CERK == CheckEvaluationResultKind::ConstantExpression) { in CheckEvaluationResult()
2517 CERK == CheckEvaluationResultKind::ConstantExpression) in CheckEvaluationResult()
2535 return CheckEvaluationResult(CheckEvaluationResultKind::ConstantExpression, in CheckConstantExpression()