Home
last modified time | relevance | path

Searched refs:Hints (Results 1 – 25 of 46) sorted by relevance

12

/external/llvm/lib/CodeGen/
DAllocationOrder.h30 SmallVector<MCPhysReg, 16> Hints; variable
52 return Hints.end()[Pos++];
69 return Hints.end()[Pos++]; in nextWithDups()
76 void rewind() { Pos = -int(Hints.size()); } in rewind()
83 return std::find(Hints.begin(), Hints.end(), PhysReg) != Hints.end(); in isHint()
DAllocationOrder.cpp38 TRI->getRegAllocationHints(VirtReg, Order, Hints, MF, &VRM, Matrix); in AllocationOrder()
42 if (!Hints.empty()) { in AllocationOrder()
44 for (unsigned I = 0, E = Hints.size(); I != E; ++I) in AllocationOrder()
45 dbgs() << ' ' << PrintReg(Hints[I], TRI); in AllocationOrder()
50 for (unsigned I = 0, E = Hints.size(); I != E; ++I) in AllocationOrder()
51 assert(std::find(Order.begin(), Order.end(), Hints[I]) != Order.end() && in AllocationOrder()
DTargetRegisterInfo.cpp332 SmallVectorImpl<MCPhysReg> &Hints, in getRegAllocationHints() argument
361 Hints.push_back(Phys); in getRegAllocationHints()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DAllocationOrder.cpp38 if (TRI->getRegAllocationHints(VirtReg, Order, Hints, MF, &VRM, Matrix)) in AllocationOrder()
43 if (!Hints.empty()) { in AllocationOrder()
45 for (unsigned I = 0, E = Hints.size(); I != E; ++I) in AllocationOrder()
46 dbgs() << ' ' << printReg(Hints[I], TRI); in AllocationOrder()
51 for (unsigned I = 0, E = Hints.size(); I != E; ++I) in AllocationOrder()
52 assert(is_contained(Order, Hints[I]) && in AllocationOrder()
DAllocationOrder.h31 SmallVector<MCPhysReg, 16> Hints; variable
57 return Hints.end()[Pos++];
76 return Hints.end()[Pos++]; in nextWithDups()
85 void rewind() { Pos = -int(Hints.size()); } in rewind()
91 bool isHint(unsigned PhysReg) const { return is_contained(Hints, PhysReg); } in isHint()
DTargetRegisterInfo.cpp393 SmallVectorImpl<MCPhysReg> &Hints, in getRegAllocationHints() argument
426 Hints.push_back(Phys); in getRegAllocationHints()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp109 Hints.push_back(FixItHint::CreateRemoval( in tryToFixConversion()
113 Hints.push_back(FixItHint::CreateInsertion(Begin, "*(")); in tryToFixConversion()
114 Hints.push_back(FixItHint::CreateInsertion(End, ")")); in tryToFixConversion()
116 Hints.push_back(FixItHint::CreateInsertion(Begin, "*")); in tryToFixConversion()
143 Hints.push_back(FixItHint::CreateRemoval( in tryToFixConversion()
147 Hints.push_back(FixItHint::CreateInsertion(Begin, "&(")); in tryToFixConversion()
148 Hints.push_back(FixItHint::CreateInsertion(End, ")")); in tryToFixConversion()
150 Hints.push_back(FixItHint::CreateInsertion(Begin, "&")); in tryToFixConversion()
DDeclSpec.cpp971 FixItHint Hints[NumLocs]; in Finish() local
979 Hints[I] = FixItHint::CreateRemoval(ExtraLocs[I]); in Finish()
988 << Hints[0] << Hints[1] << Hints[2] << Hints[3] in Finish()
989 << Hints[4] << Hints[5] << Hints[6] << Hints[7]; in Finish()
/external/clang/include/clang/Frontend/
DTextDiagnostic.h93 ArrayRef<FixItHint> Hints, in emitCodeContext() argument
95 emitSnippetAndCaret(Loc, Level, Ranges, Hints, SM); in emitCodeContext()
112 ArrayRef<FixItHint> Hints,
117 void emitParseableFixits(ArrayRef<FixItHint> Hints, const SourceManager &SM);
DDiagnosticRenderer.h90 ArrayRef<FixItHint> Hints,
118 ArrayRef<CharSourceRange> Ranges, ArrayRef<FixItHint> Hints,
127 ArrayRef<FixItHint> Hints,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Vectorize/
DLoopVectorizationLegality.h104 Hint Hints[] = {IsVectorized}; in setAlreadyVectorized() local
105 writeHintsToMetadata(Hints); in setAlreadyVectorized()
189 bool doesNotMeet(Function *F, Loop *L, const LoopVectorizeHints &Hints);
221 ORE(ORE), Requirements(R), Hints(H), DB(DB), AC(AC) {} in LoopVectorizationLegality()
381 return createLVMissedAnalysis(Hints->vectorizeAnalysisPassName(),
465 LoopVectorizeHints *Hints; variable
/external/clang/lib/Frontend/
DTextDiagnostic.cpp996 ArrayRef<FixItHint> Hints, in buildFixItInsertionLine() argument
1000 if (Hints.empty() || !DiagOpts->ShowFixits) in buildFixItInsertionLine()
1004 for (ArrayRef<FixItHint>::iterator I = Hints.begin(), E = Hints.end(); in buildFixItInsertionLine()
1069 ArrayRef<FixItHint> Hints, in emitSnippetAndCaret() argument
1082 if (Loc == LastLoc && Ranges.empty() && Hints.empty() && in emitSnippetAndCaret()
1151 Hints, SM, in emitSnippetAndCaret()
1195 emitParseableFixits(Hints, SM); in emitSnippetAndCaret()
1234 void TextDiagnostic::emitParseableFixits(ArrayRef<FixItHint> Hints, in emitParseableFixits() argument
1241 for (ArrayRef<FixItHint>::iterator I = Hints.begin(), E = Hints.end(); in emitParseableFixits()
1249 for (ArrayRef<FixItHint>::iterator I = Hints.begin(), E = Hints.end(); in emitParseableFixits()
DSerializedDiagnosticPrinter.cpp88 ArrayRef<FixItHint> Hints,
208 ArrayRef<FixItHint> Hints,
712 ArrayRef<FixItHint> Hints, in EmitCodeContext() argument
725 for (ArrayRef<FixItHint>::iterator I = Hints.begin(), E = Hints.end(); in EmitCodeContext()
742 ArrayRef<FixItHint> Hints, in emitCodeContext() argument
744 Writer.EmitCodeContext(Ranges, Hints, SM); in emitCodeContext()
DDiagnosticRenderer.cpp412 ArrayRef<FixItHint> Hints, in emitCaret() argument
416 emitCodeContext(Loc, Level, SpellingRanges, Hints, SM); in emitCaret()
524 ArrayRef<FixItHint> Hints, in emitMacroExpansions() argument
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp220 Hint *Hints[] = {&Width, &Interleave, &Force, &IsVectorized}; in setHint() local
221 for (auto H : Hints) { in setHint()
284 Function *F, Loop *L, const LoopVectorizeHints &Hints) { in doesNotMeet() argument
285 const char *PassName = Hints.vectorizeAnalysisPassName(); in doesNotMeet()
287 if (UnsafeAlgebraInst && !Hints.allowReordering()) { in doesNotMeet()
303 if ((ThresholdReached && !Hints.allowReordering()) || in doesNotMeet()
714 Hints->setPotentiallyUnsafe(); in canVectorizeInstrs()
750 return OptimizationRemarkAnalysis(Hints->vectorizeAnalysisPassName(), in canVectorizeMemory()
1051 if (Hints->getForce() == LoopVectorizeHints::FK_Enabled) in canVectorize()
DLoopVectorize.cpp1180 const LoopVectorizeHints *Hints, in LoopVectorizationCostModel() argument
1183 AC(AC), ORE(ORE), TheFunction(F), Hints(Hints), InterleaveInfo(IAI) {} in LoopVectorizationCostModel()
1502 return createLVMissedAnalysis(Hints->vectorizeAnalysisPassName(), in createMissedAnalysis()
1602 const LoopVectorizeHints *Hints; member in llvm::LoopVectorizationCostModel
1634 LoopVectorizeHints Hints(OuterLp, true /*DisableInterleaving*/, *ORE); in isExplicitVecOuterLoop() local
1638 if (Hints.getForce() == LoopVectorizeHints::FK_Undefined) in isExplicitVecOuterLoop()
1642 if (!Hints.allowVectorization(Fn, OuterLp, false /*AlwaysVectorize*/)) { in isExplicitVecOuterLoop()
1647 if (!Hints.getWidth()) { in isExplicitVecOuterLoop()
1649 emitMissedWarning(Fn, OuterLp, Hints, ORE); in isExplicitVecOuterLoop()
1653 if (Hints.getInterleave() > 1) { in isExplicitVecOuterLoop()
[all …]
/external/clang/include/clang/Sema/
DSemaFixItUtils.h42 std::vector<FixItHint> Hints; member
81 Hints.clear(); in clear()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1096 Hint Hints[] = {Width, Interleave}; in setAlreadyVectorized() local
1097 writeHintsToMetadata(Hints); in setAlreadyVectorized()
1240 Hint *Hints[] = {&Width, &Interleave, &Force}; in setHint() local
1241 for (auto H : Hints) { in setHint()
1309 const LoopVectorizeHints &Hints, in emitAnalysisDiag() argument
1311 const char *Name = Hints.vectorizeAnalysisPassName(); in emitAnalysisDiag()
1357 Hints(H) {} in LoopVectorizationLegality()
1515 emitAnalysisDiag(TheFunction, TheLoop, *Hints, Message); in emitAnalysis()
1586 LoopVectorizeHints *Hints; member in __anon0b4224d80111::LoopVectorizationLegality
1607 const LoopVectorizeHints *Hints) in LoopVectorizationCostModel() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp60 SmallVectorImpl<MCPhysReg> &Hints, in getRegAllocationHints() argument
89 Hints.push_back(Reg); in getRegAllocationHints()
105 return TargetRegisterInfo::getRegAllocationHints(VirtReg, Order, Hints, MF, in getRegAllocationHints()
DSystemZRegisterInfo.h55 SmallVectorImpl<MCPhysReg> &Hints,
/external/llvm/lib/Support/
DSourceMgr.cpp236 ArrayRef<SMFixIt> Hints) in SMDiagnostic() argument
239 FixIts(Hints.begin(), Hints.end()) { in SMDiagnostic()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DSourceMgr.cpp268 ArrayRef<SMFixIt> Hints) in SMDiagnostic() argument
271 FixIts(Hints.begin(), Hints.end()) { in SMDiagnostic()
/external/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp257 SmallVectorImpl<MCPhysReg> &Hints, in getRegAllocationHints() argument
273 TargetRegisterInfo::getRegAllocationHints(VirtReg, Order, Hints, MF, VRM); in getRegAllocationHints()
294 Hints.push_back(PairedPhys); in getRegAllocationHints()
305 Hints.push_back(Reg); in getRegAllocationHints()
DARMBaseRegisterInfo.h136 SmallVectorImpl<MCPhysReg> &Hints,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp286 SmallVectorImpl<MCPhysReg> &Hints, in getRegAllocationHints() argument
302 TargetRegisterInfo::getRegAllocationHints(VirtReg, Order, Hints, MF, VRM); in getRegAllocationHints()
322 Hints.push_back(PairedPhys); in getRegAllocationHints()
332 Hints.push_back(Reg); in getRegAllocationHints()

12