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

1 2 3 4

  /src/external/apache2/llvm/dist/clang/lib/AST/
CXXABI.h 35 uint64_t Width;
40 /// Returns the width and alignment of a member pointer in bits, as well as
  /src/external/apache2/llvm/dist/llvm/lib/Support/
TargetRegistry.cpp 119 size_t Width = 0;
122 Width = std::max(Width, Targets.back().first.size());
129 OS.indent(Width - Targets[i].first.size()) << " - "
Unicode.cpp 216 /// on a terminal ("character width"). This depends on the implementation of the
217 /// terminal, and there's no standard definition of character width.
220 /// \return Character width:
366 int Width = charWidth(buf[0]);
367 if (Width < 0)
369 ColumnWidth += Width;
APFixedPoint.cpp 347 // Clamp the shift amount at the original width, and perform the shift.
382 unsigned Width = Val.getBitWidth() + 4;
383 APInt FractPart = Val.zextOrTrunc(Scale).zext(Width);
384 APInt FractPartMask = APInt::getAllOnesValue(Scale).zext(Width);
385 APInt RadixInt = APInt(Width, 10);
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonBitTracker.h 57 unsigned getNextPhysReg(unsigned PReg, unsigned Width) const;
65 ExtType(char t, uint16_t w) : Type(t), Width(w) {}
68 uint16_t Width = 0;
HexagonBitTracker.cpp 65 unsigned Width = 0;
67 Width = ATy->getIntegerBitWidth();
69 Width = 32;
72 if (Width == 0 || Width > 64)
76 InPhysReg = getNextPhysReg(InPhysReg, Width);
83 VRX.insert(std::make_pair(InVirtReg, ExtType(ExtType::SExt, Width)));
85 VRX.insert(std::make_pair(InVirtReg, ExtType(ExtType::ZExt, Width)));
271 assert(getRegBitWidth(Reg[N]) == W && "Register width mismatch");
277 assert(RW <= RC.width());
    [all...]
HexagonMachineScheduler.cpp 363 unsigned Width = SchedModel->getIssueWidth();
364 IssueCount = (IssueCount <= Width) ? 0 : IssueCount - Width;
  /src/external/apache2/llvm/dist/llvm/tools/llvm-dwarfdump/
SectionSizes.cpp 19 // The minimum column width should be the size of "SECTION".
20 size_t Width = SectionNameTitle.size();
22 Width = std::max(Width, It.first.size());
23 return Width;
28 // The minimum column width should be the size of the column title.
29 size_t Width = SectionSizeTitle.size();
32 Width = std::max(Width, NumWidth);
34 return Width;
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
MinimalTypeDumper.h 27 MinimalTypeDumpVisitor(LinePrinter &P, uint32_t Width, bool RecordBytes,
33 : P(P), Width(Width), RecordBytes(RecordBytes), Hashes(Hashes),
57 uint32_t Width;
  /src/external/apache2/llvm/dist/clang/lib/Basic/
Builtins.cpp 116 "Vector width specifier must be followed by a ':'");
120 unsigned Width = ::strtol(WidthPos, &EndPos, 10);
121 assert(*EndPos == ':' && "Vector width specific must end with a ':'");
122 return Width;
  /src/external/apache2/llvm/dist/llvm/lib/IR/
DataLayout.cpp 237 /// bytes. Error out of not a byte width multiple.
243 return reportError("number of bits must be a byte width multiple");
431 unsigned Width;
432 if (Error Err = getInt(Tok, Width))
434 if (Width == 0)
436 "Zero width native integer type in datalayout string");
437 LegalIntWidths.push_back(Width);
567 return reportError("Invalid bit width, must be a 24bit integer");
853 Type *DataLayout::getSmallestLegalIntType(LLVMContext &C, unsigned Width) const {
855 if (Width <= LegalIntWidth
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
CFGPrinter.h 249 double Width = 1 + WeightPercent;
252 return formatv("label=\"{0:P}\" penwidth={1}", WeightPercent, Width)
260 (uint64_t)(Freq * WeightPercent), Width);
280 "\" penwidth=" + std::to_string(Width));
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
Format.h 133 : Str(S), Width(W), Justify(J) {}
137 unsigned Width;
143 /// \p Width characters. If \p Str is larger that \p Width, full string
145 inline FormattedString left_justify(StringRef Str, unsigned Width) {
146 return FormattedString(Str, Width, FormattedString::JustifyLeft);
150 /// \p Width characters. If \p Str is larger that \p Width, full string
152 inline FormattedString right_justify(StringRef Str, unsigned Width) {
153 return FormattedString(Str, Width, FormattedString::JustifyRight)
    [all...]
ScaledNumber.h 41 /// Get the width of a number.
75 /// Adjust a 64-bit scaled number down to the appropriate width.
83 const int Width = getWidth<DigitsT>();
84 if (Width == 64 || Digits <= std::numeric_limits<DigitsT>::max())
88 int Shift = 64 - Width - countLeadingZeros(Digits);
308 assert(ShiftL < getWidth<DigitsT>() && "can't shift more than width");
423 static void dump(uint64_t D, int16_t E, int Width);
424 static raw_ostream &print(raw_ostream &OS, uint64_t D, int16_t E, int Width,
426 static std::string toString(uint64_t D, int16_t E, int Width,
502 static constexpr int Width = sizeof(DigitsType) * 8
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
CallPrinter.cpp 187 double Width =
190 "\" penwidth=" + std::to_string(Width);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/
AArch64PostLegalizerCombiner.cpp 250 int64_t Width = MI.getOperand(2).getImm();
261 if (ShiftImm < 0 || ShiftImm + Width > Ty.getSizeInBits())
265 auto Cst2 = B.buildConstant(Ty, Width);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
SIModeRegister.cpp 189 unsigned Width = countTrailingOnes<unsigned>(InstrMode.Mask >> Offset);
190 unsigned Value = (InstrMode.Mode >> Offset) & ((1 << Width) - 1);
193 .addImm(((Width - 1) << AMDGPU::Hwreg::WIDTH_M1_SHIFT_) |
198 InstrMode.Mask &= ~(((1 << Width) - 1) << Offset);
246 unsigned Width = ((Dst & AMDGPU::Hwreg::WIDTH_M1_MASK_) >>
251 unsigned Mask = ((1 << Width) - 1) << Offset;
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86TargetMachine.cpp 259 // Extract prefer-vector-width attribute.
261 Attribute PreferVecWidthAttr = F.getFnAttribute("prefer-vector-width");
264 unsigned Width;
265 if (!Val.getAsInteger(0, Width)) {
268 PreferVectorWidthOverride = Width;
272 // Extract min-legal-vector-width attribute.
274 Attribute MinLegalVecWidthAttr = F.getFnAttribute("min-legal-vector-width");
277 unsigned Width;
278 if (!Val.getAsInteger(0, Width)) {
281 RequiredVectorWidth = Width;
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
LoopVectorizationPlanner.h 181 // Vector width with best cost
182 ElementCount Width;
183 // Cost of the loop with that width
186 VectorizationFactor(ElementCount Width, InstructionCost Cost)
187 : Width(Width), Cost(Cost) {}
189 // Width 1 means no vectorization, cost 0 means uncomputed cost.
195 return Width == rhs.Width && Cost == rhs.Cost;
204 /// default). One for fixed-width vectorization and one for scalabl
    [all...]
VPlanSLP.cpp 86 // Check if opcodes and type width agree for all instructions in the bundle.
93 unsigned Width = OriginalInstr->getType()->getPrimitiveSizeInBits();
94 if (!all_of(Operands, [Opcode, Width](VPValue *Op) {
97 I->getType()->getPrimitiveSizeInBits() == Width;
  /src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
CoverageReport.cpp 33 unsigned Width;
37 Column(StringRef Str, unsigned Width)
38 : Str(Str), Width(Width), Trim(WidthTrim), Alignment(LeftAlignment) {}
51 if (Str.size() <= Width) {
53 OS.indent(Width - Str.size());
58 OS.indent(Width - Str.size());
67 OS << Str.substr(0, Width);
70 OS << Str.substr(0, Width - 3) << "...";
81 Column column(StringRef Str, unsigned Width) { return Column(Str, Width);
    [all...]
  /src/sys/external/bsd/acpica/dist/utilities/
utprint.c 79 INT32 Width,
279 * Width - Field width
295 INT32 Width,
333 Width--;
338 Width--;
343 Width--;
348 Width--;
351 Width--;
367 Width -= Precision
    [all...]
  /src/sys/external/bsd/gnu-efi/dist/lib/
print.c 72 UINTN Width;
996 // if there is no item field width, use the items width
1001 // if item is larger then width, update width
1002 if (Len > Item->Width) {
1003 Item->Width = Len;
1009 for (i=Item->Width; i < Item->FieldWidth; i+=1) {
1015 for (i=Len; i < Item->Width; i++) {
1027 for (i=Item->Width; i < Item->FieldWidth; i+=1)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGBuiltin.cpp 591 int Width = Ty->getPrimitiveSizeInBits();
592 llvm::Type *IntTy = llvm::IntegerType::get(C, Width);
602 Width >>= 1;
604 Value *ShiftCst = llvm::ConstantInt::get(IntTy, Width);
609 IntTy = llvm::IntegerType::get(C, Width);
635 // Make sure we have integers of the same width.
638 "arguments have the same integer width?)");
659 unsigned Width;
668 unsigned Width = Type->isBooleanType() ? 1
670 : context.getTypeInfo(Type).Width;
    [all...]
CGDeclCXX.cpp 168 uint64_t Width = Size.getQuantity();
169 llvm::Value *Args[2] = { llvm::ConstantInt::getSigned(Int64Ty, Width),

Completed in 101 milliseconds

1 2 3 4