Searched refs:ConstantValue (Results 1 – 8 of 8) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
| H A D | GVNExpression.h | 590 Constant *ConstantValue = nullptr; 595 : Expression(ET_Constant), ConstantValue(constantValue) {} in ConstantExpression() 603 Constant *getConstantValue() const { return ConstantValue; } in getConstantValue() 604 void setConstantValue(Constant *V) { ConstantValue = V; } in setConstantValue() 608 return ConstantValue == OC.ConstantValue; in equals() 613 ConstantValue->getType(), ConstantValue); in getHashValue() 621 OS << " constant = " << *ConstantValue; in printInternal()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instructions.cpp | 198 Value *ConstantValue = getIncomingValue(0); in hasConstantValue() local 200 if (getIncomingValue(i) != ConstantValue && getIncomingValue(i) != this) { in hasConstantValue() 201 if (ConstantValue != this) in hasConstantValue() 204 ConstantValue = getIncomingValue(i); in hasConstantValue() 206 if (ConstantValue == this) in hasConstantValue() 208 return ConstantValue; in hasConstantValue() 217 Value *ConstantValue = nullptr; in hasConstantOrUndefValue() local 221 if (ConstantValue && ConstantValue != Incoming) in hasConstantOrUndefValue() 223 ConstantValue = Incoming; in hasConstantOrUndefValue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.h | 110 std::optional<APSInt> ConstantValue; member
|
| H A D | CodeViewDebug.cpp | 1370 Var.ConstantValue = APSInt(APInt(64, Op.getImm()), false); in calculateRanges() 2834 if (L.ConstantValue) { in emitLocalVariableList() 2838 APSInt Val(*L.ConstantValue); in emitLocalVariableList()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Overload.h | 366 APValue &ConstantValue, QualType &ConstantType,
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 329 ASTContext &Ctx, const Expr *Converted, APValue &ConstantValue, in getNarrowingKind() argument 388 ConstantValue = APValue(*IntConstantValue); in getNarrowingKind() 413 if (Initializer->isCXX11ConstantExpr(Ctx, &ConstantValue)) { in getNarrowingKind() 415 assert(ConstantValue.isFloat()); in getNarrowingKind() 416 llvm::APFloat FloatVal = ConstantValue.getFloat(); in getNarrowingKind() 487 ConstantValue = APValue(InitializerValue); in getNarrowingKind()
|
| H A D | SemaInit.cpp | 10427 APValue ConstantValue; in DiagnoseNarrowingInInitList() local 10429 switch (SCS->getNarrowingKind(S.Context, PostInit, ConstantValue, in DiagnoseNarrowingInInitList() 10455 << ConstantValue.getAsString(S.getASTContext(), ConstantType) in DiagnoseNarrowingInInitList()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 13027 SDValue ConstantValue; in LowerBUILD_VECTOR() local 13046 if (!ConstantValue.getNode()) in LowerBUILD_VECTOR() 13047 ConstantValue = V; in LowerBUILD_VECTOR() 13048 else if (ConstantValue != V) in LowerBUILD_VECTOR() 13219 SDValue Val = DAG.getSplatBuildVector(VT, dl, ConstantValue); in LowerBUILD_VECTOR() 13222 if (auto *C = dyn_cast<ConstantSDNode>(ConstantValue)) in LowerBUILD_VECTOR() 13224 if (!isNullConstant(ConstantValue) && !isNullFPConstant(ConstantValue) && in LowerBUILD_VECTOR() 13229 Val = DAG.getNode(AArch64ISD::DUP, dl, VT, ConstantValue); in LowerBUILD_VECTOR()
|