Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
H A DGVNExpression.h590 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DInstructions.cpp150 Value *ConstantValue = getIncomingValue(0); in hasConstantValue() local
152 if (getIncomingValue(i) != ConstantValue && getIncomingValue(i) != this) { in hasConstantValue()
153 if (ConstantValue != this) in hasConstantValue()
156 ConstantValue = getIncomingValue(i); in hasConstantValue()
158 if (ConstantValue == this) in hasConstantValue()
160 return ConstantValue; in hasConstantValue()
169 Value *ConstantValue = nullptr; in hasConstantOrUndefValue() local
173 if (ConstantValue && ConstantValue != Incoming) in hasConstantOrUndefValue()
175 ConstantValue = Incoming; in hasConstantOrUndefValue()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DOverload.h364 APValue &ConstantValue, QualType &ConstantType,
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaOverload.cpp312 ASTContext &Ctx, const Expr *Converted, APValue &ConstantValue, in getNarrowingKind() argument
371 ConstantValue = APValue(*IntConstantValue); in getNarrowingKind()
396 if (Initializer->isCXX11ConstantExpr(Ctx, &ConstantValue)) { in getNarrowingKind()
398 assert(ConstantValue.isFloat()); in getNarrowingKind()
399 llvm::APFloat FloatVal = ConstantValue.getFloat(); in getNarrowingKind()
470 ConstantValue = APValue(InitializerValue); in getNarrowingKind()
H A DSemaInit.cpp9803 APValue ConstantValue; in DiagnoseNarrowingInInitList() local
9805 switch (SCS->getNarrowingKind(S.Context, PostInit, ConstantValue, in DiagnoseNarrowingInInitList()
9831 << ConstantValue.getAsString(S.getASTContext(), ConstantType) in DiagnoseNarrowingInInitList()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp9772 SDValue ConstantValue; in LowerBUILD_VECTOR() local
9788 if (!ConstantValue.getNode()) in LowerBUILD_VECTOR()
9789 ConstantValue = V; in LowerBUILD_VECTOR()
9790 else if (ConstantValue != V) in LowerBUILD_VECTOR()
9940 SDValue Vec = DAG.getSplatBuildVector(VT, dl, ConstantValue), in LowerBUILD_VECTOR()
9944 Val = DAG.getNode(AArch64ISD::DUP, dl, VT, ConstantValue); in LowerBUILD_VECTOR()