Home
last modified time | relevance | path

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

123

/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/clang/lib/Frontend/Rewrite/
DFixItRewriter.cpp144 const FixItHint &Hint = Info.getFixItHint(Idx); in HandleDiagnostic() local
146 if (Hint.CodeToInsert.empty()) { in HandleDiagnostic()
147 if (Hint.InsertFromRange.isValid()) in HandleDiagnostic()
148 commit.insertFromRange(Hint.RemoveRange.getBegin(), in HandleDiagnostic()
149 Hint.InsertFromRange, /*afterToken=*/false, in HandleDiagnostic()
150 Hint.BeforePreviousInsertions); in HandleDiagnostic()
152 commit.remove(Hint.RemoveRange); in HandleDiagnostic()
154 if (Hint.RemoveRange.isTokenRange() || in HandleDiagnostic()
155 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in HandleDiagnostic()
156 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in HandleDiagnostic()
[all …]
/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/clang/include/clang/Basic/
DDiagnostic.h80 FixItHint Hint; variable
81 Hint.RemoveRange =
83 Hint.CodeToInsert = Code;
84 Hint.BeforePreviousInsertions = BeforePreviousInsertions;
85 return Hint;
93 FixItHint Hint; variable
94 Hint.RemoveRange =
96 Hint.InsertFromRange = FromRange;
97 Hint.BeforePreviousInsertions = BeforePreviousInsertions;
98 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/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.cpp271 std::pair<unsigned, unsigned> Hint = MRI.getRegAllocationHint(VirtReg); in getRegAllocationHints() local
276 assert(Hint.first == 0 && "Target must implement TRI::getRegAllocationHints"); in getRegAllocationHints()
279 unsigned Phys = Hint.second; in getRegAllocationHints()
DCalcSpillWeights.cpp158 volatile float hweight = Hint[hint] += weight; in calculateSpillWeightAndHint()
168 Hint.clear(); in calculateSpillWeightAndHint()
DRegAllocGreedy.cpp608 if (unsigned Hint = MRI->getSimpleHint(VirtReg.reg)) in tryAssign() local
609 if (Order.isHint(Hint)) { in tryAssign()
610 DEBUG(dbgs() << "missed hint " << PrintReg(Hint, TRI) << '\n'); in tryAssign()
613 if (canEvictInterference(VirtReg, Hint, true, MaxCost)) { in tryAssign()
614 evictInterference(VirtReg, Hint, NewVRegs); in tryAssign()
615 return Hint; in tryAssign()
2474 unsigned Hint = MRI->getSimpleHint(VirtReg.reg); in selectOrSplitImpl() local
2480 if (Hint && Hint != PhysReg) in selectOrSplitImpl()
/external/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp230 std::pair<unsigned, unsigned> Hint = MRI.getRegAllocationHint(VirtReg); in getRegAllocationHints() local
233 switch (Hint.first) { in getRegAllocationHints()
248 unsigned Paired = Hint.second; in getRegAllocationHints()
281 std::pair<unsigned, unsigned> Hint = MRI->getRegAllocationHint(Reg); in updateRegAllocHint() local
282 if ((Hint.first == (unsigned)ARMRI::RegPairOdd || in updateRegAllocHint()
283 Hint.first == (unsigned)ARMRI::RegPairEven) && in updateRegAllocHint()
284 TargetRegisterInfo::isVirtualRegister(Hint.second)) { in updateRegAllocHint()
289 unsigned OtherReg = Hint.second; in updateRegAllocHint()
290 Hint = MRI->getRegAllocationHint(OtherReg); in updateRegAllocHint()
292 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/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/v8/src/arm/
Dconstants-arm.h402 enum Hint { no_hint }; enum
405 inline Hint NegateHint(Hint ignored) { return no_hint; } in NegateHint()
/external/llvm/include/llvm/CodeGen/
DCalcSpillWeights.h56 DenseMap<unsigned, float> Hint; variable
DMachineRegisterInfo.h641 std::pair<unsigned, unsigned> Hint = getRegAllocationHint(VReg); in getSimpleHint() local
642 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.cpp1836 LoopHint Hint; in ParsePragmaLoopHint() local
1837 if (!HandlePragmaLoopHint(Hint)) in ParsePragmaLoopHint()
1840 ArgsUnion ArgHints[] = {Hint.PragmaNameLoc, Hint.OptionLoc, Hint.StateLoc, in ParsePragmaLoopHint()
1841 ArgsUnion(Hint.ValueExpr)}; in ParsePragmaLoopHint()
1842 TempAttrs.addNew(Hint.PragmaNameLoc->Ident, Hint.Range, nullptr, in ParsePragmaLoopHint()
1843 Hint.PragmaNameLoc->Loc, ArgHints, 4, in ParsePragmaLoopHint()
/external/llvm/tools/llvm-objdump/
DCOFFDump.cpp330 uint16_t Hint; in printImportTables() local
332 if (Obj->getHintName(entry->getHintNameRVA(), Hint, Name)) in printImportTables()
334 outs() << format(" % 6d ", Hint) << Name << "\n"; in printImportTables()
/external/v8/src/mips/
Dconstants-mips.h690 enum Hint { enum
695 inline Hint NegateHint(Hint hint) { in NegateHint()
/external/v8/src/mips64/
Dconstants-mips64.h704 enum Hint { enum
709 inline Hint NegateHint(Hint hint) { in NegateHint()
/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/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_polygon.c64 ctx->Hint.LineSmooth == GL_NICEST; in nv10_emit_line_mode()
/external/llvm/include/llvm/Analysis/
DScalarEvolution.h401 const ConstantRange &setRange(const SCEV *S, RangeSignHint Hint,
404 Hint == HINT_RANGE_UNSIGNED ? UnsignedRanges : SignedRanges;
414 ConstantRange getRange(const SCEV *S, RangeSignHint Hint);

123