/freebsd-current/contrib/llvm-project/clang/include/clang/AST/ |
H A D | APNumericStorage.h | 61 llvm::APFloat getValue(const llvm::fltSemantics &Semantics) const { 62 return llvm::APFloat(Semantics, getIntValue());
|
H A D | Expr.h | 1645 llvm::APFloatBase::Semantics getRawSemantics() const { 1646 return static_cast<llvm::APFloatBase::Semantics>( 1647 FloatingLiteralBits.Semantics); 1652 void setRawSemantics(llvm::APFloatBase::Semantics Sem) { 1653 FloatingLiteralBits.Semantics = Sem; 1659 static_cast<llvm::APFloatBase::Semantics>( 1660 FloatingLiteralBits.Semantics)); 1665 FloatingLiteralBits.Semantics = llvm::APFloatBase::SemanticsToEnum(Sem);
|
H A D | Stmt.h | 464 "Too many Semantics enum values to fit in bitfield of size 4"); 465 LLVM_PREFERRED_TYPE(llvm::APFloat::Semantics) 466 unsigned Semantics : 4; // Provides semantics for APFloat construction
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | APFloat.h | 149 /// \name Floating Point Semantics. 151 enum Semantics { enum in struct:llvm::APFloatBase 196 static const llvm::fltSemantics &EnumToSemantics(Semantics S); 197 static Semantics SemanticsToEnum(const llvm::fltSemantics &Sem); 682 const fltSemantics *Semantics; member in class:llvm::detail::final 798 Storage(const fltSemantics &Semantics, ArgTypes &&... Args) { argument 799 if (usesLayout<IEEEFloat>(Semantics)) { 800 new (&IEEE) IEEEFloat(Semantics, std::forward<ArgTypes>(Args)...); 803 if (usesLayout<DoubleAPFloat>(Semantics)) { 804 new (&Double) DoubleAPFloat(Semantics, st 875 usesLayout(const fltSemantics &Semantics) argument 935 APFloat(const fltSemantics &Semantics) argument 937 APFloat(const fltSemantics &Semantics, integerPart I) argument 942 APFloat(const fltSemantics &Semantics, uninitializedTag) argument 944 APFloat(const fltSemantics &Semantics, const APInt &I) argument [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Support/ |
H A D | APFloat.cpp | 183 const llvm::fltSemantics &APFloatBase::EnumToSemantics(Semantics S) { 215 APFloatBase::Semantics 4563 : Semantics(&S), 4565 assert(Semantics == &semPPCDoubleDouble); 4569 : Semantics(&S), 4572 assert(Semantics == &semPPCDoubleDouble); 4576 : Semantics(&S), Floats(new APFloat[2]{APFloat(semIEEEdouble, I), 4578 assert(Semantics == &semPPCDoubleDouble); 4582 : Semantics(&S), 4586 assert(Semantics [all...] |
H A D | Z3Solver.cpp | 791 const llvm::fltSemantics &Semantics = local 798 if (useSemantics && !areEquivalent(Float.getSemantics(), Semantics)) { 803 Float = llvm::APFloat(Semantics, Int);
|
/freebsd-current/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | PthreadLockChecker.cpp | 197 LockingSemantics Semantics, CheckerKind CheckKind) const; 213 LockingSemantics Semantics, CheckerKind CheckKind) const; 399 enum LockingSemantics Semantics, 431 switch (Semantics) { 446 } else if (Semantics == PthreadSemantics) { 459 assert((Semantics == XNUSemantics) && "Unknown locking semantics"); 538 enum LockingSemantics Semantics, 556 if (Semantics == PthreadSemantics) { 396 AcquireLockAux(const CallEvent &Call, CheckerContext &C, const Expr *MtxExpr, SVal MtxVal, bool IsTryLock, enum LockingSemantics Semantics, CheckerKind CheckKind) const argument 535 DestroyLockAux(const CallEvent &Call, CheckerContext &C, const Expr *MtxExpr, SVal MtxVal, enum LockingSemantics Semantics, CheckerKind CheckKind) const argument
|
/freebsd-current/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaPseudoObject.cpp | 190 SmallVector<Expr *, 4> Semantics; member in class:__anon793::PseudoOpBuilder 200 Semantics.push_back(semantic); 206 ResultIndex = Semantics.size(); 207 Semantics.push_back(resultExpr); 209 if (auto *OVE = dyn_cast<OpaqueValueExpr>(Semantics.back())) 229 ResultIndex = Semantics.size() - 1; 231 if (auto *OVE = dyn_cast<OpaqueValueExpr>(Semantics.back())) 399 assert(index < Semantics.size() && 401 if (e == Semantics[index]) break; 412 Semantics, ResultInde [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVBuiltins.cpp | 440 Register PtrRegister, unsigned &Semantics, 447 Semantics = 451 if (Order == Semantics) { 456 return buildConstantIntReg(Semantics, MIRBuilder, GR); 494 int Semantics = local 497 MemSemanticsReg = buildConstantIntReg(Semantics, MIRBuilder, GR); 517 int Semantics = local 520 Register MemSemanticsReg = buildConstantIntReg(Semantics, MIRBuilder, GR); 650 unsigned Semantics = SPIRV::MemorySemantics::None; local 655 Semantics, MIRBuilde 439 buildMemSemanticsReg(Register SemanticsRegister, Register PtrRegister, unsigned &Semantics, MachineIRBuilder &MIRBuilder, SPIRVGlobalRegistry *GR) argument 674 unsigned Semantics = SPIRV::MemorySemantics::SequentiallyConsistent; local [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/IR/ |
H A D | Constants.cpp | 969 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); 970 APFloat NaN = APFloat::getNaN(Semantics, Negative, Payload); 980 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); 981 APFloat NaN = APFloat::getQNaN(Semantics, Negative, Payload); 991 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); 992 APFloat NaN = APFloat::getSNaN(Semantics, Negative, Payload); 1002 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); 1003 APFloat NegZero = APFloat::getZero(Semantics, Negative); 1028 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); 1029 Constant *C = get(Ty->getContext(), APFloat::getInf(Semantics, Negativ [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandVectorPredication.cpp | 388 const fltSemantics &Semantics = EltTy->getFltSemantics(); local 393 APFloat::getLargest(Semantics, Negative));
|
/freebsd-current/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | AsmParser.cpp | 279 /// Parse a floating point expression using the float \p Semantics 281 bool parseRealValue(const fltSemantics &Semantics, APInt &Res); 3251 bool AsmParser::parseRealValue(const fltSemantics &Semantics, APInt &Res) { argument 3268 APFloat Value(Semantics); 3273 Value = APFloat::getInf(Semantics); 3275 Value = APFloat::getNaN(Semantics, false, ~0); 3296 const fltSemantics &Semantics) { 3299 if (checkForValidSection() || parseRealValue(Semantics, AsInt)) 4923 bool AsmParser::parseDirectiveRealDCB(StringRef IDVal, const fltSemantics &Semantics) { argument 4938 if (parseRealValue(Semantics, AsIn 3295 parseDirectiveRealValue(StringRef IDVal, const fltSemantics &Semantics) argument [all...] |
H A D | MasmParser.cpp | 556 /// Parse a floating point expression using the float \p Semantics 558 bool parseRealValue(const fltSemantics &Semantics, APInt &Res); 870 bool emitRealValues(const fltSemantics &Semantics, unsigned *Count = nullptr); 871 bool addRealField(StringRef Name, const fltSemantics &Semantics, size_t Size); 872 bool parseDirectiveRealValue(StringRef IDVal, const fltSemantics &Semantics, 875 const fltSemantics &Semantics, SmallVectorImpl<APInt> &Values, 878 const fltSemantics &Semantics, 3813 bool MasmParser::parseRealValue(const fltSemantics &Semantics, APInt &Res) { argument 3834 APFloat Value(Semantics); 3838 Value = APFloat::getInf(Semantics); 3875 parseRealInstList(const fltSemantics &Semantics, SmallVectorImpl<APInt> &ValuesAsInt, const AsmToken::TokenKind EndToken) argument 3921 emitRealValues(const fltSemantics &Semantics, unsigned *Count) argument 3939 addRealField(StringRef Name, const fltSemantics &Semantics, size_t Size) argument 3964 parseDirectiveRealValue(StringRef IDVal, const fltSemantics &Semantics, size_t Size) argument 3979 parseDirectiveNamedRealValue(StringRef TypeName, const fltSemantics &Semantics, unsigned Size, StringRef Name, SMLoc NameLoc) argument 4072 const fltSemantics *Semantics; local [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 11592 const fltSemantics &Semantics = SelectionDAG::EVTToAPFloatSemantics(VT); 11594 ? APFloat::getQNaN(Semantics) 11596 ? APFloat::getInf(Semantics) 11597 : APFloat::getLargest(Semantics); 12849 const fltSemantics &Semantics = EVTToAPFloatSemantics(VT); 12850 APFloat NeutralAF = !Flags.hasNoNaNs() ? APFloat::getQNaN(Semantics) : 12851 !Flags.hasNoInfs() ? APFloat::getInf(Semantics) : 12852 APFloat::getLargest(Semantics); 12861 const fltSemantics &Semantics = EVTToAPFloatSemantics(VT); 12862 APFloat NeutralAF = !Flags.hasNoInfs() ? APFloat::getInf(Semantics) [all...] |
H A D | TargetLowering.cpp | 8334 const fltSemantics &Semantics, 8346 MF.getDenormalMode(Semantics).Input == DenormalMode::IEEE) 8349 MF.getDenormalMode(Semantics).inputsAreZero()) 8386 const llvm::fltSemantics &Semantics = FloatTy->getFltSemantics(); 8397 isFCmpEqualZero(Test, Semantics, DAG.getMachineFunction()); 8423 DAG.getConstantFP(APFloat::getInf(Semantics), DL, OperandVT); 8440 APInt Inf = APFloat::getInf(Semantics).bitcastToAPInt(); // Exp and int bit. 8445 APInt AllOneMantissa = APFloat::getLargest(Semantics).bitcastToAPInt() & ~Inf; 8549 APInt NegInf = APFloat::getInf(Semantics, true).bitcastToAPInt();
|
H A D | DAGCombiner.cpp | 5551 const fltSemantics &Semantics = InputTy->getFltSemantics(); local 5553 APFloatBase::semanticsIntSizeInBits(Semantics, /*isSigned*/ true); [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUISelLowering.cpp | 2555 const fltSemantics &Semantics = SelectionDAG::EVTToAPFloatSemantics(VT); local 2557 DAG.getConstantFP(APFloat::getSmallestNormalized(Semantics), SL, VT); 2572 const fltSemantics &Semantics = SelectionDAG::EVTToAPFloatSemantics(VT); local 2573 SDValue Inf = DAG.getConstantFP(APFloat::getInf(Semantics), SL, VT); 2591 const fltSemantics &Semantics = APFloat::IEEEsingle(); local 2593 DAG.getConstantFP(APFloat::getSmallestNormalized(Semantics), SL, VT);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 370 const fltSemantics &Semantics = InputTy->getFltSemantics(); local 372 APFloatBase::semanticsIntSizeInBits(Semantics,
|
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 7800 const fltSemantics &Semantics = getFltSemanticForLLT(SrcTy.getScalarType()); 7810 APInt Inf = APFloat::getInf(Semantics).bitcastToAPInt(); // Exp and int bit. 7812 APInt AllOneMantissa = APFloat::getLargest(Semantics).bitcastToAPInt() & ~Inf; 7901 APInt NegInf = APFloat::getInf(Semantics, true).bitcastToAPInt();
|
/freebsd-current/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprConstant.cpp | 7241 const llvm::fltSemantics &Semantics = 7243 unsigned NumBits = llvm::APFloatBase::getSizeInBits(Semantics); 7287 const llvm::fltSemantics &Semantics = 7289 return APValue(APFloat(Semantics, Val));
|
/freebsd-current/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderStmt.cpp | 651 static_cast<llvm::APFloatBase::Semantics>(Record.readInt()));
|