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

1 2 3 4

  /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/clang/lib/AST/Interp/
Integral.h 41 template <unsigned Bits, bool Signed> struct Repr;
56 template <unsigned Bits, bool Signed> class Integral {
61 using T = typename Repr<Bits, Signed>::Type;
107 return APSInt(APInt(Bits, static_cast<uint64_t>(V), Signed), !Signed);
110 if (Signed)
111 return APSInt(toAPSInt().sextOrTrunc(NumBits), !Signed);
113 return APSInt(toAPSInt().zextOrTrunc(NumBits), !Signed);
127 bool isMinusOne() const { return Signed && V == T(-1); }
129 constexpr static bool isSigned() { return Signed; }
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
CheckedArithmetic.h 30 checkedOp(T LHS, T RHS, F Op, bool Signed = true) {
31 llvm::APInt ALHS(sizeof(T) * 8, LHS, Signed);
32 llvm::APInt ARHS(sizeof(T) * 8, RHS, Signed);
37 return Signed ? Out.getSExtValue() : Out.getZExtValue();
43 /// Add two signed integers \p LHS and \p RHS.
44 /// \return Optional of sum if no signed overflow occurred,
52 /// Subtract two signed integers \p LHS and \p RHS.
53 /// \return Optional of sum if no signed overflow occurred,
61 /// Multiply two signed integers \p LHS and \p RHS.
62 /// \return Optional of product if no signed overflow occurred
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
TargetLibraryInfo.h 371 Attribute::AttrKind getExtAttrForI32Param(bool Signed = true) const {
373 return Signed ? Attribute::SExt : Attribute::ZExt;
382 Attribute::AttrKind getExtAttrForI32Return(bool Signed = true) const {
384 return Signed ? Attribute::SExt : Attribute::ZExt;
IVDescriptors.h 44 SMin, ///< Signed integer min implemented in terms of select(cmp()).
45 SMax, ///< Signed integer max implemented in terms of select(cmp()).
72 bool Signed, bool Ordered,
75 ExactFPMathInst(ExactFP), RecurrenceType(RT), IsSigned(Signed),
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/Disassembler/
WebAssemblyDisassembler.cpp 85 bool Signed) {
88 Val = Signed ? decodeSLEB128(Bytes.data() + Size, &N,
100 ArrayRef<uint8_t> Bytes, bool Signed) {
102 if (!nextLEB(Val, Bytes, Size, 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/llvm/lib/Transforms/Vectorize/
LoadStoreVectorizer.cpp 431 bool Signed = isa<SExtInst>(OpA);
441 auto CheckFlags = [](Instruction *I, bool Signed) {
443 return (Signed && BinOpI->hasNoSignedWrap()) ||
444 (!Signed && BinOpI->hasNoUnsignedWrap());
452 CheckFlags(OpB, Signed))
474 OpA->getOperand(0) == OpB->getOperand(0) && CheckFlags(OpA, Signed) &&
475 CheckFlags(OpB, Signed)) {
482 CheckFlags(OpRHSB, Signed) && isa<ConstantInt>(OpRHSB->getOperand(1))) {
489 CheckFlags(OpRHSA, Signed) && isa<ConstantInt>(OpRHSA->getOperand(1))) {
497 OpRHSB->getOpcode() == Instruction::Add && CheckFlags(OpRHSA, Signed) &
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
NVPTX.h 117 Signed,
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/building_blocks/
stats_collector.d 175 import std.traits : hasMember, Signed;
189 void add(string counter)(Signed!size_t n)
457 Signed!size_t slack = 0;
472 slack = Signed!size_t(this.goodAllocSize(b.length) - b.length
519 Signed!size_t slack = 0;
521 Signed!size_t delta = 0;
528 add!"bytesUsed"(Signed!size_t(b.length - oldLength));
580 add!"bytesUsed"(-Signed!size_t(b.length));
  /src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/
VariantValue.h 271 VariantValue(int Signed) : VariantValue(static_cast<unsigned>(Signed)) {}
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUHSAMetadataStreamer.h 70 std::string getTypeName(Type *Ty, bool Signed) const;
153 std::string getTypeName(Type *Ty, bool Signed) const;
AMDGPULegalizerInfo.h 56 MachineIRBuilder &B, bool Signed) const;
58 MachineIRBuilder &B, bool Signed) const;
AMDGPURegisterBankInfo.h 85 bool Signed) const;
AMDGPUHSAMetadataStreamer.cpp 142 std::string MetadataStreamerV2::getTypeName(Type *Ty, bool Signed) const {
145 if (!Signed)
172 return (Twine(getTypeName(ElTy, Signed)) + Twine(NumElements)).str();
561 std::string MetadataStreamerV3::getTypeName(Type *Ty, bool Signed) const {
564 if (!Signed)
591 return (Twine(getTypeName(ElTy, Signed)) + Twine(NumElements)).str();
AMDGPUISelLowering.h 62 SDValue LowerINT_TO_FP32(SDValue Op, SelectionDAG &DAG, bool Signed) const;
63 SDValue LowerINT_TO_FP64(SDValue Op, SelectionDAG &DAG, bool Signed) const;
67 SDValue LowerFP64_TO_INT(SDValue Op, SelectionDAG &DAG, bool Signed) const;
  /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/llvm/lib/Target/Mips/
MipsSEISelDAGToDAG.h 99 bool selectVSplatCommon(SDValue N, SDValue &Imm, bool Signed,
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
LoopUtils.h 414 /// Returns true if \p S is defined and never is equal to signed/unsigned max.
416 bool Signed);
418 /// Returns true if \p S is defined and never is equal to signed/unsigned min.
420 bool Signed);
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
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/
ThreadSafetyTraverse.h 570 if (VT.Signed)
576 if (VT.Signed)
582 if (VT.Signed)
588 if (VT.Signed)
  /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...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
SelectionDAGDumper.cpp 770 auto Signed = MGather->isIndexSigned() ? "signed" : "unsigned";
772 OS << ", " << Signed << " " << Scaled << " offset";
782 auto Signed = MScatter->isIndexSigned() ? "signed" : "unsigned";
784 OS << ", " << Signed << " " << Scaled << " offset";
  /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/MCTargetDesc/
NVPTXInstPrinter.cpp 252 if (Imm == NVPTX::PTXLdStInstCode::Signed)
  /src/external/apache2/llvm/dist/llvm/lib/IR/
ConstantRange.cpp 65 // For unsigned ranges, or signed ranges with known sign bit, create a simple
456 } else if (Type == ConstantRange::Signed) {
988 // we must return Empty set. In signed case, we get that for free, because we
1018 // and the other signed, then return the smallest of these ranges.
1032 // In this case, skip the extra work of generating signed ranges which aren't
1038 // Now the signed range. Because we could be dealing with negative numbers
1068 return Res.intersectWith(unionWith(Other, Signed), Signed);
1096 return Res.intersectWith(unionWith(Other, Signed), Signed);
    [all...]

Completed in 31 milliseconds

1 2 3 4