HomeSort by: relevance | last modified time | path
    Searched refs:Hint (Results 1 - 25 of 53) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/
ErrorHandling.h 23 StringRef Hint = StringRef()) {
28 if (!Hint.empty())
29 WithColor::note() << Hint.str() << "\n";
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
FixItRewriter.cpp 157 const FixItHint &Hint = Info.getFixItHint(Idx);
159 if (Hint.CodeToInsert.empty()) {
160 if (Hint.InsertFromRange.isValid())
161 commit.insertFromRange(Hint.RemoveRange.getBegin(),
162 Hint.InsertFromRange, /*afterToken=*/false,
163 Hint.BeforePreviousInsertions);
165 commit.remove(Hint.RemoveRange);
167 if (Hint.RemoveRange.isTokenRange() ||
168 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/
PPCPredicates.h 61 // Bit for branch taken (plus) or not-taken (minus) hint
76 /// Return the condition without hint bits.
81 /// Return the hint bits of the predicate.
86 /// Return predicate consisting of specified condition and hint bits.
87 inline Predicate getPredicate(unsigned Condition, unsigned Hint) {
89 (Hint & BR_HINT_MASK));
  /src/external/apache2/llvm/dist/llvm/tools/llvm-cxxmap/
llvm-cxxmap.cpp 47 std::string Hint = "") {
53 if (!Hint.empty())
54 WithColor::note() << Hint << "\n";
58 std::string Hint = "") {
64 if (!Hint.empty())
65 WithColor::note() << Hint << "\n";
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CXStoredDiagnostic.cpp 101 const FixItHint &Hint = Diag.fixit_begin()[FixIt];
107 LangOpts, Hint.RemoveRange);
109 return cxstring::createDup(Hint.CodeToInsert);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Vectorize/
LoopVectorizationLegality.h 56 /// Hint - associates name and validation with the hint value.
57 struct Hint {
62 Hint(const char *Name, unsigned Value, HintKind Kind)
69 Hint Width;
72 Hint Interleave;
75 Hint Force;
78 Hint IsVectorized;
81 Hint Predicate;
84 Hint Scalable
    [all...]
  /src/external/apache2/llvm/dist/libcxx/benchmarks/
map.bench.cpp 38 // - Correct contains the correct hint.
39 // - End contains a hint to the end of the map.
40 enum class Hint { Begin, Third, Correct, End };
41 struct AllHints : EnumValuesAsTuple<AllHints, Hint, 4> {
276 template <class Mode, class Hint>
280 template < ::Hint hint>
281 typename std::enable_if<hint == ::Hint::Correct>::type
311 template < ::Hint hint
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
DiagnosticRenderer.cpp 63 for (const auto &Hint : FixItHints)
64 if (Hint.CodeToInsert.empty()) {
65 if (Hint.InsertFromRange.isValid())
66 commit.insertFromRange(Hint.RemoveRange.getBegin(),
67 Hint.InsertFromRange, /*afterToken=*/false,
68 Hint.BeforePreviousInsertions);
70 commit.remove(Hint.RemoveRange);
72 if (Hint.RemoveRange.isTokenRange() ||
73 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Basic/
Diagnostic.h 64 /// This kind of hint should be used when we are certain that the
73 /// insertion hint.
86 /// Empty code modification hint, indicating that no code
94 /// Create a code modification hint that inserts the given
99 FixItHint Hint;
100 Hint.RemoveRange =
102 Hint.CodeToInsert = std::string(Code);
103 Hint.BeforePreviousInsertions = BeforePreviousInsertions;
104 return Hint;
107 /// Create a code modification hint that inserts the give
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
TextDiagnostics.cpp 79 for (const FixItHint &Hint : Fixits) {
80 Replacement Repl(SM, Hint.RemoveRange, Hint.CodeToInsert);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
CalcSpillWeights.cpp 201 // CopyHint is a sortable hint derived from a COPY instruction.
207 // Always prefer any physreg hint.
217 DenseMap<unsigned, float> Hint;
274 volatile float HWeight = Hint[HintReg] += Weight;
281 // Remove a generic hint if previously added by target.
286 for (auto &Hint : CopyHints) {
287 if (!HintedRegs.insert(Hint.Reg).second ||
288 (TargetHint.first != 0 && Hint.Reg == TargetHint.second))
289 // Don't add the same reg twice or the target-type hint again.
291 MRI.addRegAllocationHint(LI.reg(), Hint.Reg)
    [all...]
VirtRegMap.cpp 103 Register Hint = MRI->getSimpleHint(VirtReg);
104 if (!Hint.isValid())
106 if (Hint.isVirtual())
107 Hint = getPhys(Hint);
108 return Register(getPhys(VirtReg)) == Hint;
112 std::pair<unsigned, unsigned> Hint = MRI->getRegAllocationHint(VirtReg);
113 if (Register::isPhysicalRegister(Hint.second))
115 if (Register::isVirtualRegister(Hint.second))
116 return hasPhys(Hint.second)
    [all...]
RegAllocFast.cpp 253 void allocVirtReg(MachineInstr &MI, LiveReg &LR, Register Hint,
737 << " with hint " << printReg(Hint0, TRI) << '\n');
739 // Take hint when possible.
742 // Take hint if the register is currently free.
757 // Try other hint.
761 // Take hint if the register is currently free.
952 Register Hint;
954 Hint = MI.getOperand(0).getReg();
955 assert(Hint.isPhysical() &&
958 allocVirtReg(MI, *LRI, Hint, false)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMBaseRegisterInfo.cpp 323 std::pair<Register, Register> Hint = MRI.getRegAllocationHint(VirtReg);
326 switch (Hint.first) {
344 // the paired register as the first hint.
345 Register Paired = Hint.second;
376 std::pair<Register, Register> Hint = MRI->getRegAllocationHint(Reg);
377 if ((Hint.first == ARMRI::RegPairOdd || Hint.first == ARMRI::RegPairEven) &&
378 Hint.second.isVirtual()) {
381 // pair allocation hint must be updated to reflect the relationship
383 Register OtherReg = Hint.second
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
SourceMgr.h 285 void addFixIt(const SMFixIt &Hint) { FixIts.push_back(Hint); }
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86RegisterInfo.cpp 938 for (auto Hint : CopyHints) {
939 if (RC.contains(Hint) && !MRI->isReserved(Hint))
940 AddHint(Hint);
948 #define DEBUG_TYPE "tile-hint"
951 for (auto Hint : Hints) {
952 dbgs() << "tmm" << Hint << ",";
  /src/external/apache2/llvm/dist/llvm/tools/llvm-profdata/
llvm-profdata.cpp 48 std::string Hint = "") {
53 if (!Hint.empty())
54 WithColor::note() << Hint << "\n";
66 std::string Hint = "") {
71 if (!Hint.empty())
72 WithColor::note() << Hint << "\n";
80 StringRef Hint = "";
82 // Hint for common error of forgetting --sample for sample profiles.
83 Hint = "Perhaps you forgot to use the --sample option?";
85 exitWithError(IPE.message(), std::string(Whence), std::string(Hint));
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
COFFDump.cpp 369 outs() << " Hint/Ord Name\n";
384 uint16_t Hint;
386 if (Obj->getHintName(HintNameRVA, Hint, Name))
388 outs() << format(" % 6d ", Hint) << Name << "\n";
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParseStmt.cpp 2228 LoopHint Hint;
2229 if (!HandlePragmaLoopHint(Hint))
2232 ArgsUnion ArgHints[] = {Hint.PragmaNameLoc, Hint.OptionLoc, Hint.StateLoc,
2233 ArgsUnion(Hint.ValueExpr)};
2234 TempAttrs.addNew(Hint.PragmaNameLoc->Ident, Hint.Range, nullptr,
2235 Hint.PragmaNameLoc->Loc, ArgHints, 4,
ParsePragma.cpp 1103 bool Parser::HandlePragmaLoopHint(LoopHint &Hint) {
1109 Hint.PragmaNameLoc = IdentifierLoc::create(
1112 // It is possible that the loop hint has no option identifier, such as
1117 Hint.OptionLoc = IdentifierLoc::create(
1122 // Return a valid hint if pragma unroll or nounroll were specified
1131 Hint.Range = Info->PragmaName.getLocation();
1162 // Verify loop hint has an argument.
1198 Hint.StateLoc = IdentifierLoc::create(Actions.Context, StateLoc, StateInfo);
1219 Hint.StateLoc =
1243 Hint.StateLoc
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/Disassembler/
MipsDisassembler.cpp 1598 unsigned Hint = fieldFromInstruction(Insn, 16, 5);
1605 Inst.addOperand(MCOperand::createImm(Hint));
1616 unsigned Hint = fieldFromInstruction(Insn, 21, 5);
1622 Inst.addOperand(MCOperand::createImm(Hint));
1633 unsigned Hint = fieldFromInstruction(Insn, 21, 5);
1639 Inst.addOperand(MCOperand::createImm(Hint));
1649 unsigned Hint = fieldFromInstruction(Insn, 16, 5);
1656 Inst.addOperand(MCOperand::createImm(Hint));
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGOpenMPRuntimeGPU.h 308 /// \param Hint Value of the 'hint' clause (optional).
312 const Expr *Hint = nullptr) override;
CGExprConstant.cpp 96 bool split(size_t Index, CharUnits Hint);
313 /// Hint indicates the location at which we'd like to split, but may be
315 bool ConstantAggregateBuilder::split(size_t Index, CharUnits Hint) {
354 // FIXME: If possible, split into two ConstantDataSequentials at Hint.
371 assert(Hint > Offset && Hint < Offset + ElemSize && "nothing to split");
373 {getZeroes(Hint - Offset), getZeroes(Offset + ElemSize - Hint)});
374 replace(Offsets, Index, Index + 1, {Offset, Hint});
  /src/external/apache2/llvm/dist/clang/lib/Sema/
DeclSpec.cpp 1406 FixItHint Hint;
1412 Hint = FixItHint::CreateRemoval(SCLoc);
1416 Hint = FixItHint::CreateRemoval(getExplicitSpecRange());
1420 << Keyword << Hint;
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
MachineRegisterInfo.h 95 /// virtual registers. For each virtual register, it keeps a pair of hint
97 /// hint may be target specific, and in that case this is reflected by the
762 /// setRegAllocationHint - Specify a register allocation hint for the
764 /// of an earlier hint it will be overwritten.
772 /// addRegAllocationHint - Add a register allocation hint to the hints
779 /// Specify the preferred (target independent) register allocation hint for
787 "Expected to clear a non-target hint!");
791 /// getRegAllocationHint - Return the register allocation hint for the
804 /// a target independent hint.
807 std::pair<Register, Register> Hint = getRegAllocationHint(VReg)
    [all...]

Completed in 36 milliseconds

1 2 3