Home
last modified time | relevance | path

Searched refs:Semantics (Results 1 – 25 of 40) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DFloating.h41 llvm::APFloatBase::Semantics Semantics; variable
53 Floating(llvm::APFloatBase::Semantics Semantics) in Floating() argument
54 : Val(0), Semantics(Semantics) {} in Floating()
57 Semantics = llvm::APFloatBase::SemanticsToEnum(F.getSemantics()); in Floating()
60 Floating(uint64_t *Memory, llvm::APFloatBase::Semantics Semantics) in Floating() argument
61 : Memory(Memory), Semantics(Semantics) {} in Floating()
119 return llvm::APFloatBase::EnumToSemantics(Semantics); in getSemantics()
197 return sizeof(Semantics) + (numWords() * sizeof(uint64_t)); in bytesToSerialize()
201 std::memcpy(Buff, &Semantics, sizeof(Semantics)); in serialize()
203 std::memcpy(Buff + sizeof(Semantics), &Val, sizeof(uint64_t)); in serialize()
[all …]
H A DInterpBuiltinBitCast.cpp396 const auto &Semantics = ASTCtx.getFloatTypeSemantics(PtrType); in DoBitCastPtr() local
397 Bits NumBits = Bits(llvm::APFloatBase::getSizeInBits(Semantics)); in DoBitCastPtr()
406 Floating R = S.allocFloat(Semantics); in DoBitCastPtr()
407 Floating::bitcastFromMemory(M.get(), Semantics, &R); in DoBitCastPtr()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h153 enum Semantics { enum
257 LLVM_ABI static const llvm::fltSemantics &EnumToSemantics(Semantics S);
258 LLVM_ABI static Semantics SemanticsToEnum(const llvm::fltSemantics &Sem);
819 const fltSemantics *Semantics; variable
944 Storage(const fltSemantics &Semantics, ArgTypes &&... Args) { in Storage() argument
945 if (usesLayout<IEEEFloat>(Semantics)) { in Storage()
946 new (&IEEE) IEEEFloat(Semantics, std::forward<ArgTypes>(Args)...); in Storage()
949 if (usesLayout<DoubleAPFloat>(Semantics)) { in Storage()
950 new (&Double) DoubleAPFloat(Semantics, std::forward<ArgTypes>(Args)...); in Storage()
1021 template <typename T> static bool usesLayout(const fltSemantics &Semantics) { in usesLayout() argument
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/translators/
H A Dtst.TestTransStability1.ksh.out6 Data Semantics: Unstable
11 Data Semantics: Stable
H A Dtst.TestTransStability2.ksh.out6 Data Semantics: Unstable
11 Data Semantics: Private
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp172 const llvm::fltSemantics &APFloatBase::EnumToSemantics(Semantics S) { in EnumToSemantics()
218 APFloatBase::Semantics
4867 : Semantics(&S), in DoubleAPFloat()
4869 assert(Semantics == &semPPCDoubleDouble);
4873 : Semantics(&S), in DoubleAPFloat()
4876 assert(Semantics == &semPPCDoubleDouble);
4880 : Semantics(&S), Floats(new APFloat[2]{APFloat(semIEEEdouble, I), in DoubleAPFloat()
4882 assert(Semantics == &semPPCDoubleDouble);
4886 : Semantics(&S), in DoubleAPFloat()
4890 assert(Semantics == &semPPCDoubleDouble);
[all …]
H A DZ3Solver.cpp803 const llvm::fltSemantics &Semantics = in toAPFloat() local
810 if (useSemantics && !areEquivalent(Float.getSemantics(), Semantics)) { in toAPFloat()
815 Float = llvm::APFloat(Semantics, Int); in toAPFloat()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPthreadLockChecker.cpp230 LockingSemantics Semantics, CheckerKind CheckKind) const;
246 LockingSemantics Semantics, CheckerKind CheckKind) const;
428 enum LockingSemantics Semantics, in AcquireLockAux() argument
460 switch (Semantics) { in AcquireLockAux()
475 } else if (Semantics == PthreadSemantics) { in AcquireLockAux()
488 assert((Semantics == XNUSemantics) && "Unknown locking semantics"); in AcquireLockAux()
567 enum LockingSemantics Semantics, in DestroyLockAux() argument
585 if (Semantics == PthreadSemantics) { in DestroyLockAux()
/freebsd/crypto/openssl/doc/designs/quic-design/
H A Dquic-api.md90 | Semantics | API | Status |
131 - **Semantics**: This can be one of:
171 | Semantics | `SSL_get_error` | Can Tick? | CSHL |
177 | Semantics | `SSL_get_error` | Can Tick? | CSHL |
187 | Semantics | `SSL_get_error` | Can Tick? | CSHL |
193 | Semantics | `SSL_get_error` | Can Tick? | CSHL |
201 | Semantics | `SSL_get_error` | Can Tick? | CSHL |
209 | Semantics | `SSL_get_error` | Can Tick? | CSHL |
220 | Semantics | `SSL_get_error` | Can Tick? | CSHL |
239 | Semantics | `SSL_get_error` | Can Tick? | CSHL |
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaPseudoObject.cpp190 SmallVector<Expr *, 4> Semantics; member in __anonb581425c0111::PseudoOpBuilder
200 Semantics.push_back(semantic); in addSemanticExpr()
206 ResultIndex = Semantics.size(); in addResultSemanticExpr()
207 Semantics.push_back(resultExpr); in addResultSemanticExpr()
209 if (auto *OVE = dyn_cast<OpaqueValueExpr>(Semantics.back())) in addResultSemanticExpr()
229 ResultIndex = Semantics.size() - 1; in setResultToLastSemantic()
231 if (auto *OVE = dyn_cast<OpaqueValueExpr>(Semantics.back())) in setResultToLastSemantic()
399 assert(index < Semantics.size() && in captureValueAsResult()
401 if (e == Semantics[index]) break; in captureValueAsResult()
412 Semantics, ResultIndex); in complete()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMasmParser.cpp531 bool parseRealValue(const fltSemantics &Semantics, APInt &Res);
796 bool emitRealValues(const fltSemantics &Semantics, unsigned *Count = nullptr);
797 bool addRealField(StringRef Name, const fltSemantics &Semantics, size_t Size);
798 bool parseDirectiveRealValue(StringRef IDVal, const fltSemantics &Semantics,
801 const fltSemantics &Semantics, SmallVectorImpl<APInt> &Values,
804 const fltSemantics &Semantics,
3339 bool MasmParser::parseRealValue(const fltSemantics &Semantics, APInt &Res) { in parseRealValue() argument
3360 APFloat Value(Semantics); in parseRealValue()
3364 Value = APFloat::getInf(Semantics); in parseRealValue()
3366 Value = APFloat::getNaN(Semantics, false, ~0); in parseRealValue()
[all …]
H A DAsmParser.cpp268 bool parseRealValue(const fltSemantics &Semantics, APInt &Res);
3198 bool AsmParser::parseRealValue(const fltSemantics &Semantics, APInt &Res) { in parseRealValue() argument
3215 APFloat Value(Semantics); in parseRealValue()
3220 Value = APFloat::getInf(Semantics); in parseRealValue()
3222 Value = APFloat::getNaN(Semantics, false, ~0); in parseRealValue()
3243 const fltSemantics &Semantics) { in parseDirectiveRealValue() argument
3246 if (checkForValidSection() || parseRealValue(Semantics, AsInt)) in parseDirectiveRealValue()
4879 bool AsmParser::parseDirectiveRealDCB(StringRef IDVal, const fltSemantics &Semantics) { in parseDirectiveRealDCB() argument
4894 if (parseRealValue(Semantics, AsInt) || parseEOL()) in parseDirectiveRealDCB()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.cpp612 Register PtrRegister, unsigned &Semantics, in buildMemSemanticsReg() argument
619 Semantics = in buildMemSemanticsReg()
622 if (static_cast<unsigned>(Order) == Semantics) { in buildMemSemanticsReg()
627 return buildConstantIntReg32(Semantics, MIRBuilder, GR); in buildMemSemanticsReg()
680 int Semantics = in buildAtomicLoadInst() local
683 MemSemanticsReg = buildConstantIntReg32(Semantics, MIRBuilder, GR); in buildAtomicLoadInst()
705 int Semantics = in buildAtomicStoreInst() local
708 Register MemSemanticsReg = buildConstantIntReg32(Semantics, MIRBuilder, GR); in buildAtomicStoreInst()
837 unsigned Semantics = SPIRV::MemorySemantics::None; in buildAtomicRMWInst() local
841 Semantics, MIRBuilder, GR); in buildAtomicRMWInst()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp1027 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getNaN() local
1028 APFloat NaN = APFloat::getNaN(Semantics, Negative, Payload); in getNaN()
1038 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getQNaN() local
1039 APFloat NaN = APFloat::getQNaN(Semantics, Negative, Payload); in getQNaN()
1049 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getSNaN() local
1050 APFloat NaN = APFloat::getSNaN(Semantics, Negative, Payload); in getSNaN()
1060 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getZero() local
1061 APFloat NegZero = APFloat::getZero(Semantics, Negative); in getZero()
1106 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getInfinity() local
1107 Constant *C = get(Ty->getContext(), APFloat::getInf(Semantics, Negative)); in getInfinity()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DREADME.txt34 * https://github.com/WebAssembly/design/blob/main/Semantics.md
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h1674 llvm::APFloatBase::Semantics getRawSemantics() const { in getRawSemantics()
1675 return static_cast<llvm::APFloatBase::Semantics>( in getRawSemantics()
1676 FloatingLiteralBits.Semantics); in getRawSemantics()
1681 void setRawSemantics(llvm::APFloatBase::Semantics Sem) { in setRawSemantics()
1682 FloatingLiteralBits.Semantics = Sem; in setRawSemantics()
1688 static_cast<llvm::APFloatBase::Semantics>( in getSemantics()
1689 FloatingLiteralBits.Semantics)); in getSemantics()
1694 FloatingLiteralBits.Semantics = llvm::APFloatBase::SemanticsToEnum(Sem); in setSemantics()
H A DPropertiesBase.td287 static_cast<llvm::APFloatBase::Semantics>(semantics));
329 static_cast<llvm::APFloatBase::Semantics>(semantics));
H A DStmt.h467 LLVM_PREFERRED_TYPE(llvm::APFloat::Semantics)
468 unsigned Semantics : 5; // Provides semantics for APFloat construction
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp1278 const fltSemantics &Semantics = Ty->getFltSemantics(); in getReductionIdentity() local
1283 : ConstantFP::get(Ty, APFloat::getLargest(Semantics, Negative)); in getReductionIdentity()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp8856 const fltSemantics &Semantics, in isFCmpEqualZero() argument
8868 MF.getDenormalMode(Semantics).Input == DenormalMode::IEEE) in isFCmpEqualZero()
8871 MF.getDenormalMode(Semantics).inputsAreZero()) in isFCmpEqualZero()
8901 const llvm::fltSemantics &Semantics = FloatTy->getFltSemantics(); in expandIS_FPCLASS() local
8931 isFCmpEqualZero(FPTestMask, Semantics, DAG.getMachineFunction()); in expandIS_FPCLASS()
8961 DAG.getConstantFP(APFloat::getInf(Semantics), DL, OperandVT); in expandIS_FPCLASS()
8976 APFloat::getInf(Semantics, OrderedFPTestMask == fcNegInf), DL, in expandIS_FPCLASS()
8997 APFloat::getSmallestNormalized(Semantics), DL, OperandVT); in expandIS_FPCLASS()
9015 DAG.getConstantFP(APFloat::getInf(Semantics), DL, OperandVT); in expandIS_FPCLASS()
9017 APFloat::getSmallestNormalized(Semantics), DL, OperandVT); in expandIS_FPCLASS()
[all …]
H A DSelectionDAG.cpp12514 const fltSemantics &Semantics = VT.getFltSemantics(); in isNeutralConstant() local
12516 ? APFloat::getQNaN(Semantics) in isNeutralConstant()
12518 ? APFloat::getInf(Semantics) in isNeutralConstant()
12519 : APFloat::getLargest(Semantics); in isNeutralConstant()
13798 const fltSemantics &Semantics = VT.getFltSemantics(); in getNeutralElement() local
13799 APFloat NeutralAF = !Flags.hasNoNaNs() ? APFloat::getQNaN(Semantics) : in getNeutralElement()
13800 !Flags.hasNoInfs() ? APFloat::getInf(Semantics) : in getNeutralElement()
13801 APFloat::getLargest(Semantics); in getNeutralElement()
13810 const fltSemantics &Semantics = VT.getFltSemantics(); in getNeutralElement() local
13811 APFloat NeutralAF = !Flags.hasNoInfs() ? APFloat::getInf(Semantics) in getNeutralElement()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp2653 const fltSemantics &Semantics = VT.getFltSemantics(); in getIsLtSmallestNormal() local
2655 DAG.getConstantFP(APFloat::getSmallestNormalized(Semantics), SL, VT); in getIsLtSmallestNormal()
2670 const fltSemantics &Semantics = VT.getFltSemantics(); in getIsFinite() local
2671 SDValue Inf = DAG.getConstantFP(APFloat::getInf(Semantics), SL, VT); in getIsFinite()
2689 const fltSemantics &Semantics = APFloat::IEEEsingle(); in getScaledLogInput() local
2691 DAG.getConstantFP(APFloat::getSmallestNormalized(Semantics), SL, VT); in getScaledLogInput()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseHLSLRootSignature.cpp1319 auto DXCSemantics = llvm::APFloat::Semantics::S_IEEEdouble; in handleFloatLiteral()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp388 const fltSemantics &Semantics = InputTy->getFltSemantics(); in canEvaluateTruncated() local
390 APFloatBase::semanticsIntSizeInBits(Semantics, in canEvaluateTruncated()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp7912 const fltSemantics &Semantics = getFltSemanticForLLT(SrcTy.getScalarType()); in lowerFPTOINT_SAT() local
7913 APFloat MinFloat(Semantics); in lowerFPTOINT_SAT()
7914 APFloat MaxFloat(Semantics); in lowerFPTOINT_SAT()
9260 const fltSemantics &Semantics = getFltSemanticForLLT(SrcTy.getScalarType()); in lowerISFPCLASS() local
9270 APInt Inf = APFloat::getInf(Semantics).bitcastToAPInt(); // Exp and int bit. in lowerISFPCLASS()
9272 APInt AllOneMantissa = APFloat::getLargest(Semantics).bitcastToAPInt() & ~Inf; in lowerISFPCLASS()
9361 APInt NegInf = APFloat::getInf(Semantics, true).bitcastToAPInt(); in lowerISFPCLASS()

12