/external/mesa3d/src/mesa/main/ |
D | hint.c | 55 if (ctx->Hint.Fog == mode) in _mesa_Hint() 58 ctx->Hint.Fog = mode; in _mesa_Hint() 63 if (ctx->Hint.LineSmooth == mode) in _mesa_Hint() 66 ctx->Hint.LineSmooth = mode; in _mesa_Hint() 71 if (ctx->Hint.PerspectiveCorrection == mode) in _mesa_Hint() 74 ctx->Hint.PerspectiveCorrection = mode; in _mesa_Hint() 79 if (ctx->Hint.PointSmooth == mode) in _mesa_Hint() 82 ctx->Hint.PointSmooth = mode; in _mesa_Hint() 87 if (ctx->Hint.PolygonSmooth == mode) in _mesa_Hint() 90 ctx->Hint.PolygonSmooth = mode; in _mesa_Hint() [all …]
|
/external/clang/unittests/Tooling/ |
D | FixItTest.cpp | 85 FixItHint Hint = createRemoval(*CE); in TEST() local 86 EXPECT_EQ("foo(x, y)", getText(Hint.RemoveRange.getAsRange(), *Context)); in TEST() 87 EXPECT_TRUE(Hint.InsertFromRange.isInvalid()); in TEST() 88 EXPECT_TRUE(Hint.CodeToInsert.empty()); in TEST() 120 FixItHint Hint = createRemoval(*CE); in TEST() local 121 EXPECT_EQ("FOO", getText(Hint.RemoveRange.getAsRange(), *Context)); in TEST() 122 EXPECT_TRUE(Hint.InsertFromRange.isInvalid()); in TEST() 123 EXPECT_TRUE(Hint.CodeToInsert.empty()); in TEST() 147 FixItHint Hint = createRemoval(*CE); in TEST() local 149 LocationToString(Hint.RemoveRange.getBegin(), Context)); in TEST() [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | AllocationOrder.cpp | 34 Hint = HintPair.second; in AllocationOrder() 37 if (TargetRegisterInfo::isVirtualRegister(Hint)) in AllocationOrder() 38 Hint = VRM.getPhys(Hint); in AllocationOrder() 45 TRI.getRawAllocationOrder(RC, HintPair.first, Hint, in AllocationOrder() 60 Hint = TRI.ResolveRegAllocHint(HintPair.first, Hint, in AllocationOrder() 71 if (Hint && (!TargetRegisterInfo::isPhysicalRegister(Hint) || in AllocationOrder() 72 !RC->contains(Hint) || RCI.isReserved(Hint))) in AllocationOrder() 73 Hint = 0; in AllocationOrder()
|
D | AllocationOrder.h | 30 unsigned Hint; variable 52 if (Hint) in next() 53 return Hint; in next() 58 if (Reg != Hint) in next() 68 bool isHint(unsigned PhysReg) const { return PhysReg == Hint; } in isHint()
|
D | RegAllocFast.cpp | 163 void allocVirtReg(MachineInstr *MI, LiveRegEntry &LRE, unsigned Hint); 165 unsigned VirtReg, unsigned Hint); 167 unsigned VirtReg, unsigned Hint); 479 void RAFast::allocVirtReg(MachineInstr *MI, LiveRegEntry &LRE, unsigned Hint) { in allocVirtReg() argument 488 if (Hint && (!TargetRegisterInfo::isPhysicalRegister(Hint) || in allocVirtReg() 489 !RC->contains(Hint) || !RegClassInfo.isAllocatable(Hint))) in allocVirtReg() 490 Hint = 0; in allocVirtReg() 493 if (Hint) { in allocVirtReg() 495 unsigned Cost = calcSpillCost(Hint); in allocVirtReg() 498 definePhysReg(MI, Hint, regFree); in allocVirtReg() [all …]
|
D | VirtRegMap.cpp | 119 std::pair<unsigned, unsigned> Hint = MRI->getRegAllocationHint(virtReg); in getRegAllocPref() local 120 unsigned physReg = Hint.second; in getRegAllocPref() 123 if (Hint.first == 0) in getRegAllocPref() 126 return TRI->ResolveRegAllocHint(Hint.first, physReg, *MF); in getRegAllocPref()
|
/external/clang/lib/Frontend/Rewrite/ |
D | FixItRewriter.cpp | 151 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/ |
D | Diagnostic.h | 81 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 …]
|
D | PartialDiagnostic.h | 167 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Vectorize/ |
D | LoopVectorizationLegality.h | 62 struct Hint { struct 67 Hint(const char *Name, unsigned Value, HintKind Kind) in Hint() argument 74 Hint Width; 77 Hint Interleave; 80 Hint Force; 83 Hint IsVectorized; 104 Hint Hints[] = {IsVectorized}; in setAlreadyVectorized() 153 bool matchesHintMetadataName(MDNode *Node, ArrayRef<Hint> HintTypes); 156 void writeHintsToMetadata(ArrayRef<Hint> HintTypes);
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 56 const FixItHint &Hint = *I; in mergeFixits() local 57 if (Hint.CodeToInsert.empty()) { in mergeFixits() 58 if (Hint.InsertFromRange.isValid()) in mergeFixits() 59 commit.insertFromRange(Hint.RemoveRange.getBegin(), in mergeFixits() 60 Hint.InsertFromRange, /*afterToken=*/false, in mergeFixits() 61 Hint.BeforePreviousInsertions); in mergeFixits() 63 commit.remove(Hint.RemoveRange); in mergeFixits() 65 if (Hint.RemoveRange.isTokenRange() || in mergeFixits() 66 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in mergeFixits() 67 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in mergeFixits() [all …]
|
/external/llvm/lib/CodeGen/ |
D | VirtRegMap.cpp | 83 unsigned Hint = MRI->getSimpleHint(VirtReg); in hasPreferredPhys() local 84 if (!Hint) in hasPreferredPhys() 86 if (TargetRegisterInfo::isVirtualRegister(Hint)) in hasPreferredPhys() 87 Hint = getPhys(Hint); in hasPreferredPhys() 88 return getPhys(VirtReg) == Hint; in hasPreferredPhys() 92 std::pair<unsigned, unsigned> Hint = MRI->getRegAllocationHint(VirtReg); in hasKnownPreference() local 93 if (TargetRegisterInfo::isPhysicalRegister(Hint.second)) in hasKnownPreference() 95 if (TargetRegisterInfo::isVirtualRegister(Hint.second)) in hasKnownPreference() 96 return hasPhys(Hint.second); in hasKnownPreference()
|
D | RegAllocFast.cpp | 192 unsigned Hint); 194 unsigned VirtReg, unsigned Hint); 196 unsigned VirtReg, unsigned Hint); 526 unsigned Hint) { in allocVirtReg() argument 535 if (Hint && (!TargetRegisterInfo::isPhysicalRegister(Hint) || in allocVirtReg() 536 !RC->contains(Hint) || !MRI->isAllocatable(Hint))) in allocVirtReg() 537 Hint = 0; in allocVirtReg() 540 if (Hint) { in allocVirtReg() 542 unsigned Cost = calcSpillCost(Hint); in allocVirtReg() 545 definePhysReg(MI, Hint, regFree); in allocVirtReg() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | RegAllocFast.cpp | 211 unsigned Hint); 213 unsigned VirtReg, unsigned Hint); 215 unsigned VirtReg, unsigned Hint); 546 LiveRegMap::iterator LRI, unsigned Hint) { in allocVirtReg() argument 554 if (TargetRegisterInfo::isPhysicalRegister(Hint) && in allocVirtReg() 555 MRI->isAllocatable(Hint) && RC.contains(Hint)) { in allocVirtReg() 557 unsigned Cost = calcSpillCost(Hint); in allocVirtReg() 560 definePhysReg(MI, Hint, regFree); in allocVirtReg() 563 return assignVirtToPhysReg(VirtReg, Hint); in allocVirtReg() 615 unsigned Hint) { in defineVirtReg() argument [all …]
|
D | VirtRegMap.cpp | 104 unsigned Hint = MRI->getSimpleHint(VirtReg); in hasPreferredPhys() local 105 if (!Hint) in hasPreferredPhys() 107 if (TargetRegisterInfo::isVirtualRegister(Hint)) in hasPreferredPhys() 108 Hint = getPhys(Hint); in hasPreferredPhys() 109 return getPhys(VirtReg) == Hint; in hasPreferredPhys() 113 std::pair<unsigned, unsigned> Hint = MRI->getRegAllocationHint(VirtReg); in hasKnownPreference() local 114 if (TargetRegisterInfo::isPhysicalRegister(Hint.second)) in hasKnownPreference() 116 if (TargetRegisterInfo::isVirtualRegister(Hint.second)) in hasKnownPreference() 117 return hasPhys(Hint.second); in hasKnownPreference()
|
D | CalcSpillWeights.cpp | 276 volatile float hweight = Hint[hint] += weight; in weightCalcHelper() 282 Hint.clear(); in weightCalcHelper() 290 for (auto &Hint : CopyHints) { in weightCalcHelper() local 291 if (TargetHint.first != 0 && Hint.Reg == TargetHint.second) in weightCalcHelper() 294 mri.addRegAllocationHint(li.reg, Hint.Reg); in weightCalcHelper()
|
/external/llvm/tools/llvm-profdata/ |
D | llvm-profdata.cpp | 40 StringRef Hint = "") { in exitWithError() argument 45 if (!Hint.empty()) in exitWithError() 46 errs() << Hint << "\n"; in exitWithError() 54 StringRef Hint = ""; in exitWithError() local 57 Hint = "Perhaps you forgot to use the -sample option?"; in exitWithError() 59 exitWithError(IPE.message(), Whence, Hint); in exitWithError() 91 StringRef Hint = ""; in handleMergeWriterError() local 97 Hint = "Make sure that all profile data to be merged is generated " in handleMergeWriterError() 105 if (!Hint.empty()) in handleMergeWriterError() 106 errs() << Hint << "\n"; in handleMergeWriterError()
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseRegisterInfo.cpp | 262 std::pair<unsigned, unsigned> Hint = MRI.getRegAllocationHint(VirtReg); in getRegAllocationHints() local 265 switch (Hint.first) { in getRegAllocationHints() 280 unsigned Paired = Hint.second; in getRegAllocationHints() 313 std::pair<unsigned, unsigned> Hint = MRI->getRegAllocationHint(Reg); in updateRegAllocHint() local 314 if ((Hint.first == (unsigned)ARMRI::RegPairOdd || in updateRegAllocHint() 315 Hint.first == (unsigned)ARMRI::RegPairEven) && in updateRegAllocHint() 316 TargetRegisterInfo::isVirtualRegister(Hint.second)) { in updateRegAllocHint() 321 unsigned OtherReg = Hint.second; in updateRegAllocHint() 322 Hint = MRI->getRegAllocationHint(OtherReg); in updateRegAllocHint() 324 if (Hint.second == Reg) { in updateRegAllocHint() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMBaseRegisterInfo.cpp | 291 std::pair<unsigned, unsigned> Hint = MRI.getRegAllocationHint(VirtReg); in getRegAllocationHints() local 294 switch (Hint.first) { in getRegAllocationHints() 309 unsigned Paired = Hint.second; in getRegAllocationHints() 341 std::pair<unsigned, unsigned> Hint = MRI->getRegAllocationHint(Reg); in updateRegAllocHint() local 342 if ((Hint.first == (unsigned)ARMRI::RegPairOdd || in updateRegAllocHint() 343 Hint.first == (unsigned)ARMRI::RegPairEven) && in updateRegAllocHint() 344 TargetRegisterInfo::isVirtualRegister(Hint.second)) { in updateRegAllocHint() 349 unsigned OtherReg = Hint.second; in updateRegAllocHint() 350 Hint = MRI->getRegAllocationHint(OtherReg); in updateRegAllocHint() 352 if (Hint.second == Reg) { in updateRegAllocHint() [all …]
|
/external/clang/tools/libclang/ |
D | CXStoredDiagnostic.cpp | 105 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-profdata/ |
D | llvm-profdata.cpp | 46 std::string Hint = "") { in warn() argument 51 if (!Hint.empty()) in warn() 52 WithColor::note() << Hint << "\n"; in warn() 56 std::string Hint = "") { in exitWithError() argument 61 if (!Hint.empty()) in exitWithError() 62 WithColor::note() << Hint << "\n"; in exitWithError() 70 StringRef Hint = ""; in exitWithError() local 73 Hint = "Perhaps you forgot to use the -sample option?"; in exitWithError() 75 exitWithError(IPE.message(), Whence, Hint); in exitWithError() 107 StringRef Hint = ""; in handleMergeWriterError() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCPredicates.h | 88 inline Predicate getPredicate(unsigned Condition, unsigned Hint) { in getPredicate() argument 90 (Hint & BR_HINT_MASK)); in getPredicate()
|
/external/mesa3d/src/mesa/tnl/ |
D | t_context.c | 140 tnl->_DoVertexFog = ((tnl->AllowVertexFog && (ctx->Hint.Fog != GL_NICEST)) in _tnl_InvalidateState() 238 tnl->_DoVertexFog = ((tnl->AllowVertexFog && (ctx->Hint.Fog != GL_NICEST)) in _tnl_allow_vertex_fog() 248 tnl->_DoVertexFog = ((tnl->AllowVertexFog && (ctx->Hint.Fog != GL_NICEST)) in _tnl_allow_pixel_fog()
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | MachineRegisterInfo.h | 266 std::pair<unsigned, unsigned> Hint = getRegAllocationHint(Reg); in getSimpleHint() local 267 return Hint.first ? 0 : Hint.second; in getSimpleHint()
|
/external/swiftshader/extensions/ |
D | CHROMIUM_texture_filtering_hint.txt | 32 using a new value to Hint. 45 and by the <target> parameter of Hint:
|