HomeSort by: relevance | last modified time | path
    Searched defs:Signed (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
ConstantRange.h 26 // Note that ConstantRange can be used to represent either signed or
91 /// indicates whether the constant range should not wrap in the signed or
199 /// Return true if this set wraps around the signed domain. Special cases:
205 /// Return true if the (exclusive) upper bound wraps around the signed
254 /// Return the largest signed value contained in the ConstantRange.
257 /// Return the smallest signed value contained in the ConstantRange.
273 /// in this signed range.
288 /// signed domain, or has the smallest size, is preferred. If a signedness is
292 enum PreferredRangeType { Smallest, Unsigned, Signed };
387 /// from a signed maximum of a value in this range and a value in \p Other
    [all...]
DebugInfoMetadata.h 825 enum class Signedness { Signed, Unsigned };
828 /// signed nor unsigned.
2509 /// neither signed nor unsigned.
2843 static ExtOps getExtOps(unsigned FromSize, unsigned ToSize, bool Signed);
2848 unsigned ToSize, bool Signed);
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
DWARFExpression.cpp 132 unsigned Signed = Size & Operation::SignBit;
140 if (Signed)
145 if (Signed)
150 if (Signed)
166 if (Signed)
284 unsigned Signed = Size & Operation::SignBit;
314 if (Signed)
  /src/external/apache2/llvm/dist/clang/include/clang/Basic/
Specifiers.h 37 /// Specifies the signedness of a type, e.g., signed or unsigned.
38 enum class TypeSpecifierSign { Unspecified, Signed, Unsigned };
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGBuiltin.cpp 660 bool Signed;
671 bool Signed = Type->isSignedIntegerType();
672 return {Width, Signed};
682 // If any of the given types is signed, we must return a signed type.
683 bool Signed = false;
685 Signed |= Type.Signed;
689 // of the specified types. Additionally, if the encompassing type is signed,
694 unsigned MinWidth = Type.Width + (Signed && !Type.Signed)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/FileCheck/
FileCheckImpl.h 46 /// Value is a signed integer and should be printed as a decimal number.
47 Signed,
138 /// Returns true if value is signed and negative, false otherwise.
144 /// \returns the value as a signed integer or an error if the value is out of
  /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
NVPTX.h 117 Signed,
NVPTXISelLowering.cpp 1485 // whether they are signed or unsigned types. This case applies
1764 // they are signed or unsigned types.
2667 // they are signed or unsigned types.
4544 Signed = 0,
4561 S = Signed;
4592 IsSigned = (LHSSign == Signed);
4651 bool Signed;
4653 if (!AreMulWideOperandsDemotable(LHS, RHS, OptSize, Signed)) {
4672 if (Signed) {
  /src/external/apache2/llvm/dist/clang/utils/TableGen/
SveEmitter.cpp 42 ClassS, // signed/unsigned, e.g., "_s8", "_u8" suffix
68 bool Float, Signed, Immediate, Void, Constant, Pointer, BFloat;
76 : TS(TS), Float(false), Signed(true), Immediate(false), Void(false),
87 bool isSigned() const { return Signed; }
394 // Make chars and typed pointers explicitly signed.
395 if (Signed)
397 else if (!Signed)
399 } else if (!isVoidPointer() && !Signed) {
433 if (!Signed && !isFloatingPoint())
469 Signed = false
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUInstCombineIntrinsic.cpp 438 bool Signed = IID == Intrinsic::amdgcn_sbfe;
452 Value *RightShift = Signed ? IC.Builder.CreateAShr(Shl, IntSize - Width)
458 Value *RightShift = Signed ? IC.Builder.CreateAShr(Src, Offset)
AMDGPUISelDAGToDAG.cpp 835 bool Signed = Opc == AMDGPUISD::BFE_I32;
840 ReplaceNode(N, getS_BFE(Signed ? AMDGPU::S_BFE_I32 : AMDGPU::S_BFE_U32,
1184 bool Signed = N->getOpcode() == AMDGPUISD::MAD_I64_I32;
1185 unsigned Opc = Signed ? AMDGPU::V_MAD_I64_I32_e64 : AMDGPU::V_MAD_U64_U32_e64;
1953 // GFX9 and GFX10 have signed byte immediate offsets.
2148 bool Signed = N->getOpcode() == ISD::SRA;
2149 unsigned Opcode = Signed ? AMDGPU::S_BFE_I32 : AMDGPU::S_BFE_U32;
AMDGPUInstructionSelector.cpp 1975 bool Signed = I.getOpcode() == AMDGPU::G_SEXT || InReg;
2021 if (!Signed && shouldUseAndMask(SrcSize, Mask)) {
2030 const unsigned BFE = Signed ? AMDGPU::V_BFE_I32_e64 : AMDGPU::V_BFE_U32_e64;
2046 if (Signed && DstSize == 32 && (SrcSize == 8 || SrcSize == 16)) {
2055 const unsigned BFE64 = Signed ? AMDGPU::S_BFE_I64 : AMDGPU::S_BFE_U64;
2056 const unsigned BFE32 = Signed ? AMDGPU::S_BFE_I32 : AMDGPU::S_BFE_U32;
2081 if (!Signed && shouldUseAndMask(SrcSize, Mask)) {
AMDGPURegisterBankInfo.cpp 1535 const OperandsMapper &OpdMapper, bool Signed) const {
1580 unsigned Opc = Ty == S32 ? (Signed ? AMDGPU::S_BFE_I32 : AMDGPU::S_BFE_U32) :
1581 (Signed ? AMDGPU::S_BFE_I64 : AMDGPU::S_BFE_U64);
2437 const bool Signed = Opc == AMDGPU::G_SEXT;
2457 if (Signed) {
2490 auto True = B.buildConstant(SelType, Signed ? -1 : 1);
AMDGPUISelLowering.cpp 56 // In order for this to be a signed 24-bit value, bit 23, must
365 // GPU does not have divrem function for signed or unsigned.
1655 // float is enough to accurately represent up to a 24-bit signed integer.
2400 bool Signed) const {
2412 // Signed
2425 if (Signed) {
2477 if (!Signed)
2485 bool Signed) const {
2496 SDValue CvtHi = DAG.getNode(Signed ? ISD::SINT_TO_FP : ISD::UINT_TO_FP,
2585 bool Signed) const
    [all...]
SIInstrInfo.cpp 7424 bool Signed = FlatVariant != SIInstrFlags::FLAT;
7427 Signed = false;
7434 unsigned N = AMDGPU::getNumFlatOffsetBits(ST, Signed);
7435 return Signed ? isIntN(N, Offset) : isUIntN(N, Offset);
7444 bool Signed = FlatVariant != SIInstrFlags::FLAT;
7447 Signed = false;
7449 const unsigned NumBits = AMDGPU::getNumFlatOffsetBits(ST, Signed);
7450 if (Signed) {
7451 // Use signed division by a power of two to truncate towards 0.
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonSplitDouble.cpp 795 bool Signed = (Opc == S2_asr_i_p);
801 : (Signed ? S2_asr_i_r : S2_lsr_i_r);
834 else if (S == 16 && Signed)
868 if (!Signed)
880 else if (S == 16 && Signed)
888 if (Signed)
HexagonConstPropagation.cpp 417 unsigned Offset, bool Signed, const CellMap &Inputs,
420 bool Signed, APInt &Result);
1235 // Signed comparison.
1281 // Signed comparisons are different.
1346 // Signed comparison. The comparison is not NE.
1739 unsigned Width, unsigned Bits, unsigned Offset, bool Signed,
1761 evaluateEXTRACTi(A, Bits, Offset, Signed, CA);
1771 unsigned Offset, bool Signed, APInt &Result) {
1782 if (Signed)
1786 Result = APInt(BW, V, Signed);
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
ThreadSafetyTIL.h 175 : Base(B), Size(Sz), Signed(S), VectSize(VS) {}
184 bool Signed;
590 if (ValType.Signed)
595 if (ValType.Signed)
600 if (ValType.Signed)
605 if (ValType.Signed)
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
ConstantFolding.cpp 1883 bool Signed = IntrinsicID == Intrinsic::wasm_trunc_signed;
1889 APSInt Int(Width, !Signed);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
LegalizeFloatTypes.cpp 749 bool Signed = N->getOpcode() == ISD::SINT_TO_FP ||
765 LC = Signed ? RTLIB::getSINTTOFP(NVT, RVT):RTLIB::getUINTTOFP (NVT, RVT);
771 SDValue Op = DAG.getNode(Signed ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND, dl,
774 CallOptions.setSExt(Signed);
920 bool Signed) {
928 LC = Signed ? RTLIB::getFPTOSINT(SrcVT, Promoted)
936 bool Signed = N->getOpcode() == ISD::FP_TO_SINT ||
949 RTLIB::Libcall LC = findFPToIntLibcall(SVT, RVT, NVT, Signed);
1654 // First do an SINT_TO_FP, whether the original was signed or unsigned.
1905 bool Signed = N->getOpcode() == ISD::FP_TO_SINT |
    [all...]
LegalizeIntegerTypes.cpp 817 llvm_unreachable("Expected opcode to be signed or unsigned saturation "
851 bool Signed =
855 if (Signed) {
877 unsigned ShiftOp = Signed ? ISD::SRA : ISD::SRL;
886 unsigned SatW, bool Signed,
892 if (!Signed) {
900 // Saturate to the signed maximum (the low SatW - 1 bits) by taking the
901 // signed minimum of it and V.
905 // Saturate to the signed minimum (the high SatW + 1 bits) by taking the
906 // signed maximum of it and V
    [all...]
TargetLowering.cpp 784 // if we don't care about FP signed-zero. The use of SETLT with FP means
1426 // if we don't care about FP signed-zero. The use of SETLT with FP means
3201 /// truncation of a signed number would be lossy or not. The pattern which is
3559 bool Signed = false;
3575 Signed = true;
3582 Signed = true;
3589 unsigned ReqdBits = Signed ?
3752 break; // todo, be more careful with signed comparisons
6121 // We can't turn -(A-B) into B-A when we honor signed zeros.
6283 bool Signed) -> bool
    [all...]
SelectionDAGBuilder.cpp 2470 // values are zero-extended. This breaks signed comparisons so truncate
3200 // are zero-extended. This breaks signed comparisons so truncate back to the
3869 // interpreted as signed, assume there is no unsigned overflow.
3909 // interpreted as signed, assume there is no unsigned overflow.
5403 bool Signed = Opcode == ISD::SDIVFIX || Opcode == ISD::SDIVFIXSAT;
5417 // it's a saturating signed operation. Those can experience true integer
5425 if ((ScaleInt > 0 || (Saturating && Signed)) &&
5440 if (Signed) {
5455 Res = DAG.getNode(Signed ? ISD::SRA : ISD::SRL, DL, PromVT, Res,
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86FastISel.cpp 670 bool Signed = true;
674 Signed = false;
689 addFullAddress(MIB, AM).addImm(Signed ? (uint64_t) CI->getSExtValue()
891 // They have to fit in the 32-bit signed displacement field though.
1895 bool IsOpSigned; // Whether to use signed or unsigned form.
  /src/external/apache2/llvm/dist/clang/lib/AST/
ASTContext.cpp 3742 #define SVE_INT_ELTTY(BITS, ELTS, SIGNED, NUMVECTORS) \
3743 {getIntTypeForBitwidth(BITS, SIGNED), llvm::ElementCount::getScalable(ELTS), \
5633 /// Return the unique signed counterpart of the integer type
5649 /// getSignedWCharType - Return the type of "signed wchar_t".
6369 // [For a bit-field of type _Bool, int, signed int, or unsigned int:]
6428 // At this point, we should have a signed or unsigned integer type.
6485 if (LHSUnsigned == RHSUnsigned) { // Both signed or both unsigned.
6490 // Otherwise, the LHS is signed and the RHS is unsigned or visa versa.
6496 // If the signed type can represent all values of the unsigned type, it
6506 // If the signed type can represent all values of the unsigned type, i
    [all...]

Completed in 89 milliseconds

1 2