Home
last modified time | relevance | path

Searched refs:Hint (Results 1 – 25 of 88) sorted by relevance

1234

/external/mesa3d/src/mesa/main/
Dhint.c56 if (ctx->Hint.Fog == mode) in _mesa_Hint()
59 ctx->Hint.Fog = mode; in _mesa_Hint()
64 if (ctx->Hint.LineSmooth == mode) in _mesa_Hint()
67 ctx->Hint.LineSmooth = mode; in _mesa_Hint()
72 if (ctx->Hint.PerspectiveCorrection == mode) in _mesa_Hint()
75 ctx->Hint.PerspectiveCorrection = mode; in _mesa_Hint()
80 if (ctx->Hint.PointSmooth == mode) in _mesa_Hint()
83 ctx->Hint.PointSmooth = mode; in _mesa_Hint()
88 if (ctx->Hint.PolygonSmooth == mode) in _mesa_Hint()
91 ctx->Hint.PolygonSmooth = mode; in _mesa_Hint()
[all …]
/external/v8/src/compiler/
Dtype-hints.h18 enum Hint { kNone, kSignedSmall, kSigned32, kNumber, kString, kAny }; enum
21 BinaryOperationHints(Hint left, Hint right, Hint result) in BinaryOperationHints()
29 Hint left() const { return LeftField::decode(bit_field_); } in left()
30 Hint right() const { return RightField::decode(bit_field_); } in right()
31 Hint result() const { return ResultField::decode(bit_field_); } in result()
45 typedef BitField<Hint, 0, 3> LeftField;
46 typedef BitField<Hint, 3, 3> RightField;
47 typedef BitField<Hint, 6, 3> ResultField;
52 std::ostream& operator<<(std::ostream&, BinaryOperationHints::Hint);
Dtype-hints.cc11 std::ostream& operator<<(std::ostream& os, BinaryOperationHints::Hint hint) { in operator <<()
/external/clang/lib/Frontend/Rewrite/
DFixItRewriter.cpp151 const FixItHint &Hint = Info.getFixItHint(Idx); in HandleDiagnostic() local
153 if (Hint.CodeToInsert.empty()) { in HandleDiagnostic()
154 if (Hint.InsertFromRange.isValid()) in HandleDiagnostic()
155 commit.insertFromRange(Hint.RemoveRange.getBegin(), in HandleDiagnostic()
156 Hint.InsertFromRange, /*afterToken=*/false, in HandleDiagnostic()
157 Hint.BeforePreviousInsertions); in HandleDiagnostic()
159 commit.remove(Hint.RemoveRange); in HandleDiagnostic()
161 if (Hint.RemoveRange.isTokenRange() || in HandleDiagnostic()
162 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in HandleDiagnostic()
163 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in HandleDiagnostic()
[all …]
/external/clang/include/clang/Basic/
DDiagnostic.h81 FixItHint Hint; variable
82 Hint.RemoveRange =
84 Hint.CodeToInsert = Code;
85 Hint.BeforePreviousInsertions = BeforePreviousInsertions;
86 return Hint;
94 FixItHint Hint; variable
95 Hint.RemoveRange =
97 Hint.InsertFromRange = FromRange;
98 Hint.BeforePreviousInsertions = BeforePreviousInsertions;
99 return Hint;
[all …]
DPartialDiagnostic.h167 void AddFixItHint(const FixItHint &Hint) const { in AddFixItHint() argument
168 if (Hint.isNull()) in AddFixItHint()
174 DiagStorage->FixItHints.push_back(Hint); in AddFixItHint()
392 const FixItHint &Hint) {
393 PD.AddFixItHint(Hint);
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp98 const FixItHint &Hint = *I; in mergeFixits() local
99 if (Hint.CodeToInsert.empty()) { in mergeFixits()
100 if (Hint.InsertFromRange.isValid()) in mergeFixits()
101 commit.insertFromRange(Hint.RemoveRange.getBegin(), in mergeFixits()
102 Hint.InsertFromRange, /*afterToken=*/false, in mergeFixits()
103 Hint.BeforePreviousInsertions); in mergeFixits()
105 commit.remove(Hint.RemoveRange); in mergeFixits()
107 if (Hint.RemoveRange.isTokenRange() || in mergeFixits()
108 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in mergeFixits()
109 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in mergeFixits()
[all …]
/external/llvm/lib/CodeGen/
DVirtRegMap.cpp85 unsigned Hint = MRI->getSimpleHint(VirtReg); in hasPreferredPhys() local
86 if (!Hint) in hasPreferredPhys()
88 if (TargetRegisterInfo::isVirtualRegister(Hint)) in hasPreferredPhys()
89 Hint = getPhys(Hint); in hasPreferredPhys()
90 return getPhys(VirtReg) == Hint; in hasPreferredPhys()
94 std::pair<unsigned, unsigned> Hint = MRI->getRegAllocationHint(VirtReg); in hasKnownPreference() local
95 if (TargetRegisterInfo::isPhysicalRegister(Hint.second)) in hasKnownPreference()
97 if (TargetRegisterInfo::isVirtualRegister(Hint.second)) in hasKnownPreference()
98 return hasPhys(Hint.second); in hasKnownPreference()
DRegAllocFast.cpp188 unsigned Hint);
190 unsigned VirtReg, unsigned Hint);
192 unsigned VirtReg, unsigned Hint);
517 unsigned Hint) { in allocVirtReg() argument
526 if (Hint && (!TargetRegisterInfo::isPhysicalRegister(Hint) || in allocVirtReg()
527 !RC->contains(Hint) || !MRI->isAllocatable(Hint))) in allocVirtReg()
528 Hint = 0; in allocVirtReg()
531 if (Hint) { in allocVirtReg()
533 unsigned Cost = calcSpillCost(Hint); in allocVirtReg()
536 definePhysReg(MI, Hint, regFree); in allocVirtReg()
[all …]
DTargetRegisterInfo.cpp344 std::pair<unsigned, unsigned> Hint = MRI.getRegAllocationHint(VirtReg); in getRegAllocationHints() local
349 assert(Hint.first == 0 && "Target must implement TRI::getRegAllocationHints"); in getRegAllocationHints()
352 unsigned Phys = Hint.second; in getRegAllocationHints()
DCalcSpillWeights.cpp193 volatile float hweight = Hint[hint] += weight; in calculateSpillWeightAndHint()
203 Hint.clear(); in calculateSpillWeightAndHint()
/external/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp231 std::pair<unsigned, unsigned> Hint = MRI.getRegAllocationHint(VirtReg); in getRegAllocationHints() local
234 switch (Hint.first) { in getRegAllocationHints()
249 unsigned Paired = Hint.second; in getRegAllocationHints()
282 std::pair<unsigned, unsigned> Hint = MRI->getRegAllocationHint(Reg); in updateRegAllocHint() local
283 if ((Hint.first == (unsigned)ARMRI::RegPairOdd || in updateRegAllocHint()
284 Hint.first == (unsigned)ARMRI::RegPairEven) && in updateRegAllocHint()
285 TargetRegisterInfo::isVirtualRegister(Hint.second)) { in updateRegAllocHint()
290 unsigned OtherReg = Hint.second; in updateRegAllocHint()
291 Hint = MRI->getRegAllocationHint(OtherReg); in updateRegAllocHint()
293 if (Hint.second == Reg) { in updateRegAllocHint()
[all …]
/external/clang/tools/libclang/
DCXStoredDiagnostic.cpp105 const FixItHint &Hint = Diag.fixit_begin()[FixIt]; in getFixIt() local
111 LangOpts, Hint.RemoveRange); in getFixIt()
113 return cxstring::createDup(Hint.CodeToInsert); in getFixIt()
/external/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp40 StringRef Hint = "") { in exitWithError() argument
45 if (!Hint.empty()) in exitWithError()
46 errs() << Hint << "\n"; in exitWithError()
78 StringRef Hint = ""; in handleMergeWriterError() local
85 Hint = "Make sure that all profile data to be merged is generated " in handleMergeWriterError()
93 if (!Hint.empty()) in handleMergeWriterError()
94 errs() << Hint << "\n"; in handleMergeWriterError()
/external/mesa3d/src/mesa/tnl/
Dt_context.c134 tnl->_DoVertexFog = ((tnl->AllowVertexFog && (ctx->Hint.Fog != GL_NICEST)) in _tnl_InvalidateState()
223 tnl->_DoVertexFog = ((tnl->AllowVertexFog && (ctx->Hint.Fog != GL_NICEST)) in _tnl_allow_vertex_fog()
233 tnl->_DoVertexFog = ((tnl->AllowVertexFog && (ctx->Hint.Fog != GL_NICEST)) in _tnl_allow_pixel_fog()
/external/autotest/client/site_tests/platform_ToolchainOptions/
Dstack_whitelist1 # Whitelist of ELF files with an executable stack. Hint: this file should
/external/v8/src/arm/
Dconstants-arm.h414 enum Hint { no_hint }; enum
417 inline Hint NegateHint(Hint ignored) { return no_hint; } in NegateHint()
/external/llvm/include/llvm/CodeGen/
DCalcSpillWeights.h58 DenseMap<unsigned, float> Hint; variable
DMachineRegisterInfo.h623 std::pair<unsigned, unsigned> Hint = getRegAllocationHint(VReg); in getSimpleHint() local
624 return Hint.first ? 0 : Hint.second; in getSimpleHint()
/external/llvm/include/llvm/Support/
DSourceMgr.h271 void addFixIt(const SMFixIt &Hint) { in addFixIt() argument
272 FixIts.push_back(Hint); in addFixIt()
/external/clang/lib/Parse/
DParseStmt.cpp1872 LoopHint Hint; in ParsePragmaLoopHint() local
1873 if (!HandlePragmaLoopHint(Hint)) in ParsePragmaLoopHint()
1876 ArgsUnion ArgHints[] = {Hint.PragmaNameLoc, Hint.OptionLoc, Hint.StateLoc, in ParsePragmaLoopHint()
1877 ArgsUnion(Hint.ValueExpr)}; in ParsePragmaLoopHint()
1878 TempAttrs.addNew(Hint.PragmaNameLoc->Ident, Hint.Range, nullptr, in ParsePragmaLoopHint()
1879 Hint.PragmaNameLoc->Loc, ArgHints, 4, in ParsePragmaLoopHint()
/external/llvm/test/MC/Disassembler/Hexagon/
Djr.txt12 # Hint an indirect jump address
/external/llvm/test/MC/Disassembler/AArch64/
Darm64-system.txt5 # Hint encodings
/external/llvm/tools/llvm-objdump/
DCOFFDump.cpp327 uint16_t Hint; in printImportTables() local
329 if (Obj->getHintName(entry->getHintNameRVA(), Hint, Name)) in printImportTables()
331 outs() << format(" % 6d ", Hint) << Name << "\n"; in printImportTables()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_polygon.c64 ctx->Hint.LineSmooth == GL_NICEST; in nv10_emit_line_mode()

1234