HomeSort by relevance Sort by last modified time
    Searched refs:Hint (Results 1 - 25 of 34) sorted by null

1 2

  /external/llvm/lib/CodeGen/
AllocationOrder.h 30 unsigned Hint;
49 // First take the hint.
52 if (Hint)
53 return Hint;
58 if (Reg != Hint)
68 bool isHint(unsigned PhysReg) const { return PhysReg == Hint; }
AllocationOrder.cpp 34 Hint = HintPair.second;
37 if (TargetRegisterInfo::isVirtualRegister(Hint))
38 Hint = VRM.getPhys(Hint);
40 // The first hint pair component indicates a target-specific hint.
43 // The remaining allocation order may depend on the hint.
45 TRI.getRawAllocationOrder(RC, HintPair.first, Hint,
60 Hint = TRI.ResolveRegAllocHint(HintPair.first, Hint,
    [all...]
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) {
488 if (Hint && (!TargetRegisterInfo::isPhysicalRegister(Hint) ||
489 !RC->contains(Hint) || !RegClassInfo.isAllocatable(Hint)))
490 Hint = 0;
492 // Take hint when possible
    [all...]
CalcSpillWeights.cpp 99 // Find the best physreg hist and the best virtreg hint.
103 // Don't recompute a target specific hint.
141 unsigned hint = copyHint(mi, li.reg, tri, mri); local
142 if (!hint)
144 float hweight = Hint[hint] += weight;
145 if (TargetRegisterInfo::isPhysicalRegister(hint)) {
146 if (hweight > bestPhys && LIS.isAllocatable(hint))
147 bestPhys = hweight, hintPhys = hint;
150 bestVirt = hweight, hintVirt = hint;
    [all...]
VirtRegMap.cpp 119 std::pair<unsigned, unsigned> Hint = MRI->getRegAllocationHint(virtReg);
120 unsigned physReg = Hint.second;
123 if (Hint.first == 0)
126 return TRI->ResolveRegAllocHint(Hint.first, physReg, *MF);
RegAllocGreedy.cpp 422 // Boost ranges that have a physical register hint.
457 // If we missed a simple hint, try to cheaply evict interference from the
459 if (unsigned Hint = MRI->getSimpleHint(VirtReg.reg))
460 if (Order.isHint(Hint)) {
461 DEBUG(dbgs() << "missed hint " << PrintReg(Hint, TRI) << '\n');
463 if (canEvictInterference(VirtReg, Hint, true, MaxCost)) {
464 evictInterference(VirtReg, Hint, NewVRegs);
465 return Hint;
562 // Would this break a satisfied hint
    [all...]
LiveInterval.cpp 93 StartPos != other.end() && "Bogus start position hint!");
557 std::pair<unsigned, unsigned> Hint = MRI->getRegAllocationHint(RHS.reg);
558 MRI->setRegAllocationHint(reg, Hint.first, Hint.second);
  /external/clang/lib/Rewrite/
FixItRewriter.cpp 97 const FixItHint &Hint = Info.getFixItHint(Idx);
98 if (Hint.RemoveRange.isValid() &&
99 Rewrite.getRangeSize(Hint.RemoveRange) == -1) {
121 const FixItHint &Hint = Info.getFixItHint(Idx);
123 if (Hint.CodeToInsert.empty()) {
125 if (Rewrite.RemoveText(Hint.RemoveRange))
131 if (Rewrite.ReplaceText(Hint.RemoveRange.getBegin(),
132 Rewrite.getRangeSize(Hint.RemoveRange),
133 Hint.CodeToInsert))
  /external/llvm/include/llvm/CodeGen/
CalcSpillWeights.h 41 /// register such as its spill weight and allocation hint.
46 DenseMap<unsigned, float> Hint;
53 /// hint.
MachineRegisterInfo.h 42 /// registers. For each virtual register, it keeps a register and hint type
43 /// pair making up the allocation hint. Hint type is target specific except
45 /// register for allocation. For example, if the hint is <0, 1024>, it means
47 /// register of the hint.
257 /// setRegAllocationHint - Specify a register allocation hint for the
264 /// getRegAllocationHint - Return the register allocation hint for the
271 /// getSimpleHint - Return the preferred register allocation hint, or 0 if a
272 /// standard simple hint (Type == 0) is not set.
274 std::pair<unsigned, unsigned> Hint = getRegAllocationHint(Reg)
    [all...]
  /external/v8/src/mips/
jump-target-mips.cc 57 // void JumpTarget::DoBranch(Condition cc, Hint ignored,
59 void JumpTarget::DoBranch(Condition cc, Hint ignored) {
constants-mips.h 475 enum Hint {
480 inline Hint NegateHint(Hint hint) {
  /external/clang/include/clang/Basic/
Diagnostic.h 41 /// This kind of hint should be used when we are certain that the
50 /// insertion hint.
57 /// \brief Empty code modification hint, indicating that no code
65 /// \brief Create a code modification hint that inserts the given
69 FixItHint Hint;
70 Hint.RemoveRange =
72 Hint.CodeToInsert = Code;
73 return Hint;
76 /// \brief Create a code modification hint that removes the given
79 FixItHint Hint;
    [all...]
PartialDiagnostic.h 70 /// FixItHints - If valid, provides a hint with some code
159 void AddFixItHint(const FixItHint &Hint) const {
160 if (Hint.isNull())
171 = Hint;
327 const FixItHint &Hint) {
328 PD.AddFixItHint(Hint);
  /external/clang/lib/StaticAnalyzer/Core/
HTMLDiagnostics.cpp 487 // If there is a code insertion hint, insert that code.
491 for (const FixItHint *Hint = P.fixit_begin(), *HintEnd = P.fixit_end();
492 Hint != HintEnd; ++Hint) {
493 if (Hint->RemoveRange.isValid()) {
494 HighlightRange(R, LPosInfo.first, Hint->RemoveRange,
497 if (Hint->InsertionLoc.isValid()) {
498 std::string EscapedCode = html::EscapeText(Hint->CodeToInsert, true);
501 R.InsertTextBefore(Hint->InsertionLoc, EscapedCode);
PathDiagnostic.cpp 47 Kind k, DisplayHint hint)
48 : str(StripTrailingDots(s)), kind(k), Hint(hint) {}
50 PathDiagnosticPiece::PathDiagnosticPiece(Kind k, DisplayHint hint)
51 : kind(k), Hint(hint) {}
  /external/clang/tools/libclang/
CIndexDiagnostic.cpp 295 const FixItHint &Hint = StoredDiag->Diag.fixit_begin()[FixIt];
303 Hint.RemoveRange);
306 return createCXString(Hint.CodeToInsert);
  /external/v8/src/arm/
constants-arm.h 434 enum Hint { no_hint };
437 inline Hint NegateHint(Hint ignored) { return no_hint; }
  /external/v8/src/ia32/
assembler-ia32.h 252 enum Hint {
259 // The result of negating a hint is as if the corresponding condition
262 inline Hint NegateHint(Hint hint) {
263 return (hint == no_hint)
265 : ((hint == not_taken) ? taken : not_taken);
864 void j(Condition cc, Label* L, Hint hint = no_hint);
865 void j(Condition cc, byte* entry, RelocInfo::Mode rmode, Hint hint = no_hint)
    [all...]
regexp-macro-assembler-ia32.h 171 void BranchOrBacktrack(Condition condition, Label* to, Hint hint = no_hint);
  /external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
PathDiagnostic.h 272 const DisplayHint Hint;
281 PathDiagnosticPiece(StringRef s, Kind k, DisplayHint hint = Below);
283 PathDiagnosticPiece(Kind k, DisplayHint hint = Below);
290 /// getDisplayHint - Return a hint indicating where the diagnostic should
292 DisplayHint getDisplayHint() const { return Hint; }
311 void addFixItHint(const FixItHint& Hint) {
312 FixItHints.push_back(Hint);
  /external/llvm/lib/Target/ARM/
ARMBaseRegisterInfo.cpp 405 /// specified register class with a target-dependent hint.
490 // It's no longer possible to fulfill this hint. Return the default
512 // It's no longer possible to fulfill this hint. Return the default
536 /// ResolveRegAllocHint - Resolves the specified register allocation hint
558 std::pair<unsigned, unsigned> Hint = MRI->getRegAllocationHint(Reg);
559 if ((Hint.first == (unsigned)ARMRI::RegPairOdd ||
560 Hint.first == (unsigned)ARMRI::RegPairEven) &&
561 TargetRegisterInfo::isVirtualRegister(Hint.second)) {
564 // pair allocation hint must be updated to reflect the relationship
566 unsigned OtherReg = Hint.second
    [all...]
  /external/chromium/base/win/
pe_image.cc 281 UINT hint; local
282 for (hint = 0; hint < num_names; hint++) {
283 if (ordinals[hint] == count) {
284 name = reinterpret_cast<LPCSTR>(RVAToAddr(names[hint]));
290 hint = 0;
301 if (!callback(*this, ordinal_base + count, hint, name, func, forward,
370 WORD hint = 0; local
378 hint = import->Hint
463 WORD hint = 0; local
    [all...]
  /external/ppp/pppd/plugins/radius/etc/
dictionary 105 ATTRIBUTE Hint 1040 string
  /external/v8/src/x64/
assembler-x64.h 330 enum Hint {
336 // The result of negating a hint is as if the corresponding condition
339 inline Hint NegateHint(Hint hint) {
340 return (hint == no_hint)
342 : ((hint == not_taken) ? taken : not_taken);
    [all...]

Completed in 754 milliseconds

1 2