Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DConstantEmitter.h41 bool InConstantContext = false; variable
70 bool isInConstantContext() const { return InConstantContext; } in isInConstantContext()
71 void setInConstantContext(bool var) { InConstantContext = var; } in setInConstantContext()
H A DCGExprConstant.cpp1685 InConstantContext = D.hasConstantInitialization(); in tryEmitPrivateForVarInit()
1785 Success = E->EvaluateAsRValue(Result, CGM.getContext(), InConstantContext); in tryEmitPrivate()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpState.h74 bool inConstantContext() const { return Parent.InConstantContext; } in inConstantContext()
H A DState.h124 bool InConstantContext = false; variable
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp2666 if (Info.InConstantContext) in checkFloatingPointResult()
13745 if (Info.InConstantContext) in VisitUnaryExprOrTypeTraitExpr()
15567 Info.InConstantContext = InConstantContext; in EvaluateAsRValue()
15588 Info.InConstantContext = InConstantContext; in EvaluateAsInt()
15599 Info.InConstantContext = InConstantContext; in EvaluateAsFixedPoint()
15630 Info.InConstantContext = InConstantContext; in EvaluateAsLValue()
15679 Info.InConstantContext = true; in EvaluateAsConstantExpr()
15855 Info.InConstantContext = true; in EvaluateKnownConstInt()
15874 Info.InConstantContext = true; in EvaluateKnownConstIntCheckOverflow()
15950 Info.InConstantContext = true; in CheckEvalInICE()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h646 bool InConstantContext = false) const;
653 bool InConstantContext = false) const;
666 bool InConstantContext = false) const;
673 bool InConstantContext = false) const;
679 bool InConstantContext = false) const;
716 bool InConstantContext = false) const;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp14248 bool InConstantContext, bool Approximate) { in GetExprRange() argument
14253 if (E->EvaluateAsRValue(result, C, InConstantContext)) in GetExprRange()
14261 return GetExprRange(C, CE->getSubExpr(), MaxWidth, InConstantContext, in GetExprRange()
14275 InConstantContext, Approximate); in GetExprRange()
14293 MaxWidth, InConstantContext, Approximate); in GetExprRange()
14343 return GetExprRange(C, BO->getRHS(), MaxWidth, InConstantContext, in GetExprRange()
14396 return GetExprRange(C, BO->getRHS(), MaxWidth, InConstantContext, in GetExprRange()
14421 IntRange L = GetExprRange(C, BO->getLHS(), opWidth, InConstantContext, in GetExprRange()
14438 IntRange R = GetExprRange(C, BO->getRHS(), opWidth, InConstantContext, in GetExprRange()
14479 return GetExprRange(C, UO->getSubExpr(), MaxWidth, InConstantContext, in GetExprRange()
[all …]