Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/Transforms/Scalar/
H A DGVNExpression.h587 Constant *ConstantValue = nullptr;
592 : Expression(ET_Constant), ConstantValue(constantValue) {} in ConstantExpression()
600 Constant *getConstantValue() const { return ConstantValue; } in getConstantValue()
601 void setConstantValue(Constant *V) { ConstantValue = V; } in setConstantValue()
605 return ConstantValue == OC.ConstantValue; in equals()
610 ConstantValue->getType(), ConstantValue); in getHashValue()
618 OS << " constant = " << *ConstantValue; in printInternal()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DInstructions.cpp157 Value *ConstantValue = getIncomingValue(0); in hasConstantValue() local
159 if (getIncomingValue(i) != ConstantValue && getIncomingValue(i) != this) { in hasConstantValue()
160 if (ConstantValue != this) in hasConstantValue()
163 ConstantValue = getIncomingValue(i); in hasConstantValue()
165 if (ConstantValue == this) in hasConstantValue()
167 return ConstantValue; in hasConstantValue()
176 Value *ConstantValue = nullptr; in hasConstantOrUndefValue() local
180 if (ConstantValue && ConstantValue != Incoming) in hasConstantOrUndefValue()
182 ConstantValue = Incoming; in hasConstantOrUndefValue()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DOverload.h335 APValue &ConstantValue, QualType &ConstantType,
H A DInitialization.h1209 APValue *ConstantValue) const;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaOverload.cpp295 ASTContext &Ctx, const Expr *Converted, APValue &ConstantValue, in getNarrowingKind() argument
355 ConstantValue = APValue(IntConstantValue); in getNarrowingKind()
380 if (Initializer->isCXX11ConstantExpr(Ctx, &ConstantValue)) { in getNarrowingKind()
382 assert(ConstantValue.isFloat()); in getNarrowingKind()
383 llvm::APFloat FloatVal = ConstantValue.getFloat(); in getNarrowingKind()
453 ConstantValue = APValue(InitializerValue); in getNarrowingKind()
H A DSemaInit.cpp9037 APValue ConstantValue; in DiagnoseNarrowingInInitList() local
9039 switch (SCS->getNarrowingKind(S.Context, PostInit, ConstantValue, in DiagnoseNarrowingInInitList()
9065 << ConstantValue.getAsString(S.getASTContext(), ConstantType) in DiagnoseNarrowingInInitList()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp7251 SDValue ConstantValue; in LowerBUILD_VECTOR() local
7265 if (!ConstantValue.getNode()) in LowerBUILD_VECTOR()
7266 ConstantValue = V; in LowerBUILD_VECTOR()
7267 else if (ConstantValue != V) in LowerBUILD_VECTOR()
7406 SDValue Vec = DAG.getSplatBuildVector(VT, dl, ConstantValue), in LowerBUILD_VECTOR()
7410 Val = DAG.getNode(AArch64ISD::DUP, dl, VT, ConstantValue); in LowerBUILD_VECTOR()