Home
last modified time | relevance | path

Searched refs:Unit (Results 1 - 25 of 167) sorted by relevance

1234567

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DLiveRegUnits.h1 //===- llvm/CodeGen/LiveRegUnits.h - Register Unit Set ----------*- C++ -*-===//
88 for (MCRegUnitIterator Unit(Reg, TRI); Unit.isValid(); ++Unit) in addReg()
89 Units.set(*Unit); in addReg()
95 for (MCRegUnitMaskIterator Unit(Reg, TRI); Unit.isValid(); ++Unit) { in addRegMasked()
96 LaneBitmask UnitMask = (*Unit).second; in addRegMasked()
98 Units.set((*Unit) in addRegMasked()
[all...]
H A DLiveIntervals.h391 /// Return the live range for register unit \p Unit. It will be computed if
393 LiveRange &getRegUnit(unsigned Unit) { in getRegUnit() argument
394 LiveRange *LR = RegUnitRanges[Unit]; in getRegUnit()
398 RegUnitRanges[Unit] = LR = new LiveRange(UseSegmentSetForPhysRegs); in getRegUnit()
399 computeRegUnitRange(*LR, Unit); in getRegUnit()
404 /// Return the live range for register unit \p Unit if it has already been
406 LiveRange *getCachedRegUnit(unsigned Unit) { in getCachedRegUnit() argument
407 return RegUnitRanges[Unit]; in getCachedRegUnit()
410 const LiveRange *getCachedRegUnit(unsigned Unit) const { in getCachedRegUnit()
411 return RegUnitRanges[Unit]; in getCachedRegUnit()
416 removeRegUnit(unsigned Unit) removeRegUnit() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
H A DDWARFVisitor.cpp36 static unsigned getOffsetSize(const DWARFYAML::Unit &Unit) { in getOffsetSize() argument
37 return Unit.Length.isDWARF64() ? 8 : 4; in getOffsetSize()
40 static unsigned getRefSize(const DWARFYAML::Unit &Unit) { in getRefSize() argument
41 if (Unit.Version == 2) in getRefSize()
42 return Unit.AddrSize; in getRefSize()
43 return getOffsetSize(Unit); in getRefSize()
47 for (auto &Unit : DebugInfo.CompileUnits) { in traverseDebugInfo()
48 onStartCompileUnit(Unit); in traverseDebugInfo()
[all...]
H A DDWARFVisitor.h23 struct Unit;
38 virtual void onStartCompileUnit(Unit &CU) {} in onStartCompileUnit()
39 virtual void onEndCompileUnit(Unit &CU) {} in onEndCompileUnit()
40 virtual void onStartDIE(Unit &CU, Entry &DIE) {} in onStartDIE()
41 virtual void onEndDIE(Unit &CU, Entry &DIE) {} in onEndDIE()
47 virtual void onStartCompileUnit(const Unit &CU) {} in onStartCompileUnit()
48 virtual void onEndCompileUnit(const Unit &CU) {} in onEndCompileUnit()
49 virtual void onStartDIE(const Unit &CU, const Entry &DIE) {} in onStartDIE()
50 virtual void onEndDIE(const Unit &CU, const Entry &DIE) {} in onEndDIE()
H A DDWARFYAML.cpp98 void MappingTraits<DWARFYAML::Unit>::mapping(IO &IO, DWARFYAML::Unit &Unit) { in mapping() argument
99 IO.mapRequired("Length", Unit.Length); in mapping()
100 IO.mapRequired("Version", Unit.Version); in mapping()
101 if (Unit.Version >= 5) in mapping()
102 IO.mapRequired("UnitType", Unit.Type); in mapping()
103 IO.mapRequired("AbbrOffset", Unit.AbbrOffset); in mapping()
104 IO.mapRequired("AddrSize", Unit.AddrSize); in mapping()
105 IO.mapOptional("Entries", Unit in mapping()
[all...]
/third_party/rust/crates/serde/test_suite/tests/
H A Dtest_remote.rs6 pub struct Unit; structure names
12 pub struct NewtypePriv(Unit);
14 pub struct NewtypePub(pub Unit);
16 pub struct TuplePriv(u8, Unit);
18 pub struct TuplePub(pub u8, pub Unit);
22 b: Unit,
27 pub b: Unit,
41 pub fn new(a: Unit) -> Self { in new()
45 pub fn get(&self) -> &Unit { in get()
51 pub fn new(a: u8, b: Unit)
[all...]
H A Dtest_macros.rs53 Unit,
65 Unit,
96 Unit,
219 &SerEnum::Unit::<u32, u32, u32>, in test_ser_enum_unit()
222 variant: "Unit", in test_ser_enum_unit()
287 &DeEnum::Unit::<u32, u32, u32>, in test_de_enum_unit()
290 variant: "Unit", in test_de_enum_unit()
503 &GenericEnum::Unit::<u32, u32>, in test_generic_enum_unit()
506 variant: "Unit", in test_generic_enum_unit()
649 assert_tokens(&Untagged::C, &[Token::Unit]); in test_untagged_enum()
2159 struct Unit; test_untagged_newtype_variant_containing_unit_struct_not_map() structure names
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DReachingDefAnalysis.cpp43 for (MCRegUnitIterator Unit(LI.PhysReg, TRI); Unit.isValid(); ++Unit) { in enterBasicBlock()
47 LiveRegs[*Unit] = -1; in enterBasicBlock()
48 MBBReachingDefs[MBBNumber][*Unit].push_back(LiveRegs[*Unit]); in enterBasicBlock()
65 for (unsigned Unit = 0; Unit != NumRegUnits; ++Unit) { in enterBasicBlock()
67 LiveRegs[Unit] in enterBasicBlock()
[all...]
H A DLiveRegMatrix.cpp85 unsigned Unit = (*Units).first; in foreachUnit() local
89 if (Func(Unit, S)) in foreachUnit()
111 TRI, VirtReg, PhysReg, [&](unsigned Unit, const LiveRange &Range) { in assign()
112 LLVM_DEBUG(dbgs() << ' ' << printRegUnit(Unit, TRI) << ' ' << Range); in assign()
113 Matrix[Unit].unify(VirtReg, Range); in assign()
128 [&](unsigned Unit, const LiveRange &Range) { in unassign()
129 LLVM_DEBUG(dbgs() << ' ' << printRegUnit(Unit, TRI)); in unassign()
130 Matrix[Unit].extract(VirtReg, Range); in unassign()
139 for (MCRegUnitIterator Unit(PhysReg, TRI); Unit in isPhysRegUsed()
[all...]
H A DTargetRegisterInfo.cpp120 Printable printRegUnit(unsigned Unit, const TargetRegisterInfo *TRI) { in printRegUnit() argument
121 return Printable([Unit, TRI](raw_ostream &OS) { in printRegUnit()
124 OS << "Unit~" << Unit; in printRegUnit()
129 if (Unit >= TRI->getNumRegUnits()) { in printRegUnit()
130 OS << "BadUnit~" << Unit; in printRegUnit() variable
135 MCRegUnitRootIterator Roots(Unit, TRI); in printRegUnit()
136 assert(Roots.isValid() && "Unit has no roots."); in printRegUnit()
143 Printable printVRegOrUnit(unsigned Unit, const TargetRegisterInfo *TRI) {
144 return Printable([Unit, TR
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dtexstate.c80 dst->Texture.Unit[u].LodBias = src->Texture.Unit[u].LodBias; in _mesa_copy_texture_state()
81 dst->Texture.Unit[u].LodBiasQuantized = src->Texture.Unit[u].LodBiasQuantized; in _mesa_copy_texture_state()
94 _mesa_reference_texobj(&dst->Texture.Unit[u].CurrentTex[tex], in _mesa_copy_texture_state()
95 src->Texture.Unit[u].CurrentTex[tex]); in _mesa_copy_texture_state()
96 if (src->Texture.Unit[u].CurrentTex[tex]) { in _mesa_copy_texture_state()
101 dst->Texture.Unit[u]._BoundTextures = src->Texture.Unit[u]._BoundTextures; in _mesa_copy_texture_state()
135 printf("Texture Unit in _mesa_print_texunit_state()
[all...]
/third_party/icu/icu4c/source/i18n/
H A DdecNumber.cpp169 /* lsu -- least significant Unit (of coefficient) */
172 /* msu -- most significant Unit (of coefficient) */
215 static const Unit uarrone[1]={1}; /* Unit array of 1, used for incrementing */
268 static Int decGetDigits(Unit *, Int);
280 static void decReverse(Unit *, Unit *);
281 static void decSetCoeff(decNumber *, decContext *, const Unit *,
286 static Int decShiftToLeast(Unit *, Int, Int);
287 static Int decShiftToMost(Unit *, In
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A DdecNumber.cpp169 /* lsu -- least significant Unit (of coefficient) */
172 /* msu -- most significant Unit (of coefficient) */
215 static const Unit uarrone[1]={1}; /* Unit array of 1, used for incrementing */
268 static Int decGetDigits(Unit *, Int);
280 static void decReverse(Unit *, Unit *);
281 static void decSetCoeff(decNumber *, decContext *, const Unit *,
286 static Int decShiftToLeast(Unit *, Int, Int);
287 static Int decShiftToMost(Unit *, In
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A DdecNumber.cpp169 /* lsu -- least significant Unit (of coefficient) */
172 /* msu -- most significant Unit (of coefficient) */
215 static const Unit uarrone[1]={1}; /* Unit array of 1, used for incrementing */
268 static Int decGetDigits(Unit *, Int);
280 static void decReverse(Unit *, Unit *);
281 static void decSetCoeff(decNumber *, decContext *, const Unit *,
286 static Int decShiftToLeast(Unit *, Int, Int);
287 static Int decShiftToMost(Unit *, In
[all...]
/third_party/json/tests/thirdparty/Fuzzer/
H A DFuzzerInternal.h59 void MinimizeCrashLoop(const Unit &U);
117 void ReportNewCoverage(InputInfo *II, const Unit &U);
118 size_t RunOne(const Unit &U) { return RunOne(U.data(), U.size()); } in RunOne()
119 void WriteToOutputCorpus(const Unit &U);
120 void WriteUnitToFileWithPrefix(const Unit &U, const char *Prefix);
122 void PrintStatusForNewUnit(const Unit &U);
124 void AddToCorpus(const Unit &U);
H A DFuzzerUtil.h19 void PrintHexArray(const Unit &U, const char *PrintAfter = "");
26 void PrintASCII(const Unit &U, const char *PrintAfter = "");
32 bool IsASCII(const Unit &U);
36 std::string Base64(const Unit &U);
H A DFuzzerUtil.cpp34 void Print(const Unit &v, const char *PrintAfter) { in Print()
55 void PrintASCII(const Unit &U, const char *PrintAfter) { in PrintASCII()
73 bool IsASCII(const Unit &U) { return IsASCII(U.data(), U.size()); } in IsASCII()
81 bool ParseOneDictionaryEntry(const std::string &Str, Unit *U) { in ParseOneDictionaryEntry()
127 bool ParseDictionaryFile(const std::string &Text, std::vector<Unit> *Units) { in ParseDictionaryFile()
134 Unit U; in ParseDictionaryFile()
154 std::string Base64(const Unit &U) { in Base64()
/third_party/skia/modules/svg/include/
H A DSkSVGLinearGradient.h20 SVG_ATTR(X1, SkSVGLength, SkSVGLength(0 , SkSVGLength::Unit::kPercentage))
21 SVG_ATTR(Y1, SkSVGLength, SkSVGLength(0 , SkSVGLength::Unit::kPercentage))
22 SVG_ATTR(X2, SkSVGLength, SkSVGLength(100, SkSVGLength::Unit::kPercentage))
23 SVG_ATTR(Y2, SkSVGLength, SkSVGLength(0 , SkSVGLength::Unit::kPercentage))
H A DSkSVGFilter.h20 SVG_ATTR(X, SkSVGLength, SkSVGLength(-10, SkSVGLength::Unit::kPercentage))
21 SVG_ATTR(Y, SkSVGLength, SkSVGLength(-10, SkSVGLength::Unit::kPercentage))
22 SVG_ATTR(Width, SkSVGLength, SkSVGLength(120, SkSVGLength::Unit::kPercentage))
23 SVG_ATTR(Height, SkSVGLength, SkSVGLength(120, SkSVGLength::Unit::kPercentage))
H A DSkSVGMask.h20 SVG_ATTR(X , SkSVGLength, SkSVGLength(-10, SkSVGLength::Unit::kPercentage))
21 SVG_ATTR(Y , SkSVGLength, SkSVGLength(-10, SkSVGLength::Unit::kPercentage))
22 SVG_ATTR(Width , SkSVGLength, SkSVGLength(120, SkSVGLength::Unit::kPercentage))
23 SVG_ATTR(Height, SkSVGLength, SkSVGLength(120, SkSVGLength::Unit::kPercentage))
H A DSkSVGRadialGradient.h20 SVG_ATTR(Cx, SkSVGLength, SkSVGLength(50, SkSVGLength::Unit::kPercentage))
21 SVG_ATTR(Cy, SkSVGLength, SkSVGLength(50, SkSVGLength::Unit::kPercentage))
22 SVG_ATTR(R, SkSVGLength, SkSVGLength(50, SkSVGLength::Unit::kPercentage))
/third_party/skia/modules/svg/src/
H A DSkSVGRenderContext.cpp53 case SkSVGLength::Unit::kNumber: in resolveForSVG()
55 case SkSVGLength::Unit::kPX: in resolveForSVG()
57 case SkSVGLength::Unit::kPercentage: in resolveForSVG()
59 case SkSVGLength::Unit::kCM: in resolveForSVG()
61 case SkSVGLength::Unit::kMM: in resolveForSVG()
63 case SkSVGLength::Unit::kIN: in resolveForSVG()
65 case SkSVGLength::Unit::kPT: in resolveForSVG()
67 case SkSVGLength::Unit::kPC: in resolveForSVG()
86 case SkSVGLength::Unit::kNumber: in resolve()
88 case SkSVGLength::Unit in resolve()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DWARFLinker/
H A DDWARFLinker.h135 /// Emit debug_aranges entries for \p Unit and if \p DoRangesSection is true,
138 virtual void emitUnitRangesEntries(CompileUnit &Unit,
152 /// Emit the .debug_pubnames contribution for \p Unit.
153 virtual void emitPubNamesForUnit(const CompileUnit &Unit) = 0;
155 /// Emit the .debug_pubtypes contribution for \p Unit.
156 virtual void emitPubTypesForUnit(const CompileUnit &Unit) = 0;
165 /// Emit the debug_loc contribution for \p Unit by copying the entries from
169 const CompileUnit &Unit, DWARFContext &Dwarf,
173 /// Emit the compilation unit header for \p Unit in the
178 virtual void emitCompileUnitHeader(CompileUnit &Unit)
[all...]
/third_party/typescript/tests/baselines/reference/
H A DModuleWithExportedAndNonExportedImportAlias.js26 export var Unit: Lines.Line = new Lines.Line(Origin, { x: 1, y: 0 });
35 var line = Geometry.Unit;
59 Geometry.Unit = new Lines.Line(Geometry.Origin, { x: 1, y: 0 });
66 var line = Geometry.Unit;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
H A DWebAssemblyUtilities.h39 template <typename T> MachineBasicBlock *getBottom(const T *Unit) { in getBottom() argument
40 MachineBasicBlock *Bottom = Unit->getHeader(); in getBottom()
41 for (MachineBasicBlock *MBB : Unit->blocks()) in getBottom()

Completed in 28 milliseconds

1234567