Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h152 enum Semantics { enum
212 static const llvm::fltSemantics &EnumToSemantics(Semantics S);
213 static Semantics SemanticsToEnum(const llvm::fltSemantics &Sem);
713 const fltSemantics *Semantics; variable
829 Storage(const fltSemantics &Semantics, ArgTypes &&... Args) { in Storage() argument
830 if (usesLayout<IEEEFloat>(Semantics)) { in Storage()
831 new (&IEEE) IEEEFloat(Semantics, std::forward<ArgTypes>(Args)...); in Storage()
834 if (usesLayout<DoubleAPFloat>(Semantics)) { in Storage()
835 new (&Double) DoubleAPFloat(Semantics, std::forward<ArgTypes>(Args)...); in Storage()
906 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.cpp194 const llvm::fltSemantics &APFloatBase::EnumToSemantics(Semantics S) { in EnumToSemantics()
234 APFloatBase::Semantics
4684 : Semantics(&S), in DoubleAPFloat()
4686 assert(Semantics == &semPPCDoubleDouble);
4690 : Semantics(&S), in DoubleAPFloat()
4693 assert(Semantics == &semPPCDoubleDouble);
4697 : Semantics(&S), Floats(new APFloat[2]{APFloat(semIEEEdouble, I), in DoubleAPFloat()
4699 assert(Semantics == &semPPCDoubleDouble);
4703 : Semantics(&S), in DoubleAPFloat()
4707 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/contrib/llvm-project/clang/lib/Sema/
H A DSemaPseudoObject.cpp192 SmallVector<Expr *, 4> Semantics; member in __anonb581425c0111::PseudoOpBuilder
202 Semantics.push_back(semantic); in addSemanticExpr()
208 ResultIndex = Semantics.size(); in addResultSemanticExpr()
209 Semantics.push_back(resultExpr); in addResultSemanticExpr()
211 if (auto *OVE = dyn_cast<OpaqueValueExpr>(Semantics.back())) in addResultSemanticExpr()
231 ResultIndex = Semantics.size() - 1; in setResultToLastSemantic()
233 if (auto *OVE = dyn_cast<OpaqueValueExpr>(Semantics.back())) in setResultToLastSemantic()
401 assert(index < Semantics.size() && in captureValueAsResult()
403 if (e == Semantics[index]) break; in captureValueAsResult()
414 Semantics, ResultIndex); in complete()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMasmParser.cpp558 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,
3814 bool MasmParser::parseRealValue(const fltSemantics &Semantics, APInt &Res) { in parseRealValue() argument
3835 APFloat Value(Semantics); in parseRealValue()
3839 Value = APFloat::getInf(Semantics); in parseRealValue()
3841 Value = APFloat::getNaN(Semantics, false, ~0); in parseRealValue()
[all …]
H A DAsmParser.cpp281 bool parseRealValue(const fltSemantics &Semantics, APInt &Res);
3253 bool AsmParser::parseRealValue(const fltSemantics &Semantics, APInt &Res) { in parseRealValue() argument
3270 APFloat Value(Semantics); in parseRealValue()
3275 Value = APFloat::getInf(Semantics); in parseRealValue()
3277 Value = APFloat::getNaN(Semantics, false, ~0); in parseRealValue()
3298 const fltSemantics &Semantics) { in parseDirectiveRealValue() argument
3301 if (checkForValidSection() || parseRealValue(Semantics, AsInt)) in parseDirectiveRealValue()
4938 bool AsmParser::parseDirectiveRealDCB(StringRef IDVal, const fltSemantics &Semantics) { in parseDirectiveRealDCB() argument
4953 if (parseRealValue(Semantics, AsInt) || parseEOL()) in parseDirectiveRealDCB()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.cpp555 Register PtrRegister, unsigned &Semantics, in buildMemSemanticsReg() argument
562 Semantics = in buildMemSemanticsReg()
566 if (Order == Semantics) { in buildMemSemanticsReg()
571 return buildConstantIntReg(Semantics, MIRBuilder, GR); in buildMemSemanticsReg()
636 int Semantics = in buildAtomicLoadInst() local
639 MemSemanticsReg = buildConstantIntReg(Semantics, MIRBuilder, GR); in buildAtomicLoadInst()
662 int Semantics = in buildAtomicStoreInst() local
665 Register MemSemanticsReg = buildConstantIntReg(Semantics, MIRBuilder, GR); in buildAtomicStoreInst()
801 unsigned Semantics = SPIRV::MemorySemantics::None; in buildAtomicRMWInst() local
806 Semantics, MIRBuilder, GR); in buildAtomicRMWInst()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp1006 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getNaN() local
1007 APFloat NaN = APFloat::getNaN(Semantics, Negative, Payload); in getNaN()
1017 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getQNaN() local
1018 APFloat NaN = APFloat::getQNaN(Semantics, Negative, Payload); in getQNaN()
1028 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getSNaN() local
1029 APFloat NaN = APFloat::getSNaN(Semantics, Negative, Payload); in getSNaN()
1039 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getZero() local
1040 APFloat NegZero = APFloat::getZero(Semantics, Negative); in getZero()
1085 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getInfinity() local
1086 Constant *C = get(Ty->getContext(), APFloat::getInf(Semantics, Negative)); in getInfinity()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp399 const fltSemantics &Semantics = EltTy->getFltSemantics(); in getNeutralReductionElement() local
405 APFloat::getLargest(Semantics, Negative)); in getNeutralReductionElement()
/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.h1662 llvm::APFloatBase::Semantics getRawSemantics() const { in getRawSemantics()
1663 return static_cast<llvm::APFloatBase::Semantics>( in getRawSemantics()
1664 FloatingLiteralBits.Semantics); in getRawSemantics()
1669 void setRawSemantics(llvm::APFloatBase::Semantics Sem) { in setRawSemantics()
1670 FloatingLiteralBits.Semantics = Sem; in setRawSemantics()
1676 static_cast<llvm::APFloatBase::Semantics>( in getSemantics()
1677 FloatingLiteralBits.Semantics)); in getSemantics()
1682 FloatingLiteralBits.Semantics = llvm::APFloatBase::SemanticsToEnum(Sem); in setSemantics()
H A DPropertiesBase.td284 static_cast<llvm::APFloatBase::Semantics>(semantics));
326 static_cast<llvm::APFloatBase::Semantics>(semantics));
H A DStmt.h465 LLVM_PREFERRED_TYPE(llvm::APFloat::Semantics)
466 unsigned Semantics : 5; // Provides semantics for APFloat construction
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp2596 const fltSemantics &Semantics = SelectionDAG::EVTToAPFloatSemantics(VT); in getIsLtSmallestNormal() local
2598 DAG.getConstantFP(APFloat::getSmallestNormalized(Semantics), SL, VT); in getIsLtSmallestNormal()
2613 const fltSemantics &Semantics = SelectionDAG::EVTToAPFloatSemantics(VT); in getIsFinite() local
2614 SDValue Inf = DAG.getConstantFP(APFloat::getInf(Semantics), SL, VT); in getIsFinite()
2632 const fltSemantics &Semantics = APFloat::IEEEsingle(); in getScaledLogInput() local
2634 DAG.getConstantFP(APFloat::getSmallestNormalized(Semantics), SL, VT); in getScaledLogInput()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp11935 const fltSemantics &Semantics = SelectionDAG::EVTToAPFloatSemantics(VT); in isNeutralConstant() local
11937 ? APFloat::getQNaN(Semantics) in isNeutralConstant()
11939 ? APFloat::getInf(Semantics) in isNeutralConstant()
11940 : APFloat::getLargest(Semantics); in isNeutralConstant()
13179 const fltSemantics &Semantics = EVTToAPFloatSemantics(VT); in getNeutralElement() local
13180 APFloat NeutralAF = !Flags.hasNoNaNs() ? APFloat::getQNaN(Semantics) : in getNeutralElement()
13181 !Flags.hasNoInfs() ? APFloat::getInf(Semantics) : in getNeutralElement()
13182 APFloat::getLargest(Semantics); in getNeutralElement()
13191 const fltSemantics &Semantics = EVTToAPFloatSemantics(VT); in getNeutralElement() local
13192 APFloat NeutralAF = !Flags.hasNoInfs() ? APFloat::getInf(Semantics) in getNeutralElement()
[all …]
H A DTargetLowering.cpp8538 const fltSemantics &Semantics, in isFCmpEqualZero() argument
8550 MF.getDenormalMode(Semantics).Input == DenormalMode::IEEE) in isFCmpEqualZero()
8553 MF.getDenormalMode(Semantics).inputsAreZero()) in isFCmpEqualZero()
8590 const llvm::fltSemantics &Semantics = FloatTy->getFltSemantics(); in expandIS_FPCLASS() local
8601 isFCmpEqualZero(Test, Semantics, DAG.getMachineFunction()); in expandIS_FPCLASS()
8627 DAG.getConstantFP(APFloat::getInf(Semantics), DL, OperandVT); in expandIS_FPCLASS()
8644 APInt Inf = APFloat::getInf(Semantics).bitcastToAPInt(); // Exp and int bit. in expandIS_FPCLASS()
8649 APInt AllOneMantissa = APFloat::getLargest(Semantics).bitcastToAPInt() & ~Inf; in expandIS_FPCLASS()
8753 APInt NegInf = APFloat::getInf(Semantics, true).bitcastToAPInt(); in expandIS_FPCLASS()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp378 const fltSemantics &Semantics = InputTy->getFltSemantics(); in canEvaluateTruncated() local
380 APFloatBase::semanticsIntSizeInBits(Semantics, in canEvaluateTruncated()
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/
H A DCombine.td148 // Semantics:
159 // Semantics:
/freebsd/contrib/one-true-awk/testdir/
H A Dfunstack.ok637 Processing, and Its Formal Semantics . . 460--467 (or 461--467??)
1163 Peter Henderson Derived Semantics for Some Programming
1467 Semantics . . . . . . . . . . . . . . . 468--474
2468 R. D. Tennent The Denotational Semantics of
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp8314 const fltSemantics &Semantics = getFltSemanticForLLT(SrcTy.getScalarType()); in lowerISFPCLASS() local
8324 APInt Inf = APFloat::getInf(Semantics).bitcastToAPInt(); // Exp and int bit. in lowerISFPCLASS()
8326 APInt AllOneMantissa = APFloat::getLargest(Semantics).bitcastToAPInt() & ~Inf; in lowerISFPCLASS()
8415 APInt NegInf = APFloat::getInf(Semantics, true).bitcastToAPInt(); in lowerISFPCLASS()
/freebsd/contrib/ncurses/include/
H A DCaps.uwin200 #%Semantics are also intended to match those of the specification.
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp7302 const llvm::fltSemantics &Semantics = in visit() local
7304 unsigned NumBits = llvm::APFloatBase::getSizeInBits(Semantics); in visit()
7348 const llvm::fltSemantics &Semantics = in visit() local
7350 return APValue(APFloat(Semantics, Val)); in visit()

12