Searched refs:ConstantValue (Results 1 – 9 of 9) sorted by relevance
| /src/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| H A D | AMDGPUMCExpr.cpp | 99 auto TryGetMCExprValue = [&](const MCExpr *Arg, uint64_t &ConstantValue) { in evaluateExtraSGPRs() argument 104 ConstantValue = MCVal.getConstant(); in evaluateExtraSGPRs() 128 auto TryGetMCExprValue = [&](const MCExpr *Arg, uint64_t &ConstantValue) { in evaluateTotalNumVGPR() argument 133 ConstantValue = MCVal.getConstant(); in evaluateTotalNumVGPR() 155 auto TryGetMCExprValue = [&](const MCExpr *Arg, uint64_t &ConstantValue) { in evaluateAlignTo() argument 160 ConstantValue = MCVal.getConstant(); in evaluateAlignTo() 176 auto TryGetMCExprValue = [&](const MCExpr *Arg, uint64_t &ConstantValue) { in evaluateOccupancy() argument 181 ConstantValue = MCVal.getConstant(); in evaluateOccupancy()
|
| /src/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()
|
| /src/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instructions.cpp | 208 Value *ConstantValue = getIncomingValue(0); in hasConstantValue() local 210 if (getIncomingValue(i) != ConstantValue && getIncomingValue(i) != this) { in hasConstantValue() 211 if (ConstantValue != this) in hasConstantValue() 214 ConstantValue = getIncomingValue(i); in hasConstantValue() 216 if (ConstantValue == this) in hasConstantValue() 218 return ConstantValue; in hasConstantValue() 227 Value *ConstantValue = nullptr; in hasConstantOrUndefValue() local 231 if (ConstantValue && ConstantValue != Incoming) in hasConstantOrUndefValue() 233 ConstantValue = Incoming; in hasConstantOrUndefValue()
|
| /src/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()
|
| /src/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Overload.h | 413 APValue &ConstantValue, QualType &ConstantType,
|
| /src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 362 ASTContext &Ctx, const Expr *Converted, APValue &ConstantValue, in getNarrowingKind() argument 422 ConstantValue = APValue(*IntConstantValue); in getNarrowingKind() 449 Initializer->isCXX11ConstantExpr(Ctx, &ConstantValue)) { in getNarrowingKind() 452 ConstantValue = R.Val; in getNarrowingKind() 453 assert(ConstantValue.isFloat()); in getNarrowingKind() 454 llvm::APFloat FloatVal = ConstantValue.getFloat(); in getNarrowingKind() 542 ConstantValue = APValue(InitializerValue); in getNarrowingKind() 558 ConstantValue = R.Val; in getNarrowingKind() 559 assert(ConstantValue.isFloat()); in getNarrowingKind() 560 llvm::APFloat FloatVal = ConstantValue.getFloat(); in getNarrowingKind()
|
| H A D | SemaInit.cpp | 9464 APValue ConstantValue; in DiagnoseNarrowingInInitList() local 9466 switch (SCS->getNarrowingKind(S.Context, PostInit, ConstantValue, in DiagnoseNarrowingInInitList() 9492 << ConstantValue.getAsString(S.getASTContext(), ConstantType) in DiagnoseNarrowingInInitList()
|
| /src/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 14010 SDValue ConstantValue; in LowerBUILD_VECTOR() local 14029 if (!ConstantValue.getNode()) in LowerBUILD_VECTOR() 14030 ConstantValue = V; in LowerBUILD_VECTOR() 14031 else if (ConstantValue != V) in LowerBUILD_VECTOR() 14200 SDValue Val = DAG.getSplatBuildVector(VT, dl, ConstantValue); in LowerBUILD_VECTOR() 14203 if (auto *C = dyn_cast<ConstantSDNode>(ConstantValue)) in LowerBUILD_VECTOR() 14205 if (!isNullConstant(ConstantValue) && !isNullFPConstant(ConstantValue) && in LowerBUILD_VECTOR() 14210 Val = DAG.getNode(AArch64ISD::DUP, dl, VT, ConstantValue); in LowerBUILD_VECTOR()
|