llvm.org GIT mirror llvm / 68c7a1c
Clean up language and grammar. Based on a patch by jfcaron3@gmail.com! PR19806 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209216 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 5 years ago
10 changed file(s) with 12 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
335335 ---------------------
336336
337337 When a developer begins a major new project with the aim of contributing it back
338 to LLVM, s/he should inform the community with an email to the `llvmdev
338 to LLVM, they should inform the community with an email to the `llvmdev
339339 `_ email list, to the extent
340340 possible. The reason for this is to:
341341
226226 bool isReg() const { return OpKind == MO_Register; }
227227 /// isImm - Tests if this is a MO_Immediate operand.
228228 bool isImm() const { return OpKind == MO_Immediate; }
229 /// isCImm - Test if t his is a MO_CImmediate operand.
229 /// isCImm - Test if this is a MO_CImmediate operand.
230230 bool isCImm() const { return OpKind == MO_CImmediate; }
231231 /// isFPImm - Tests if this is a MO_FPImmediate operand.
232232 bool isFPImm() const { return OpKind == MO_FPImmediate; }
147147
148148 /// viewCFGOnly - This function is meant for use from the debugger. It works
149149 /// just like viewCFG, but it does not include the contents of basic blocks
150 /// into the nodes, just the label. If you are only interested in the CFG t
151 /// his can make the graph smaller.
150 /// into the nodes, just the label. If you are only interested in the CFG
151 /// this can make the graph smaller.
152152 ///
153153 void Function::viewCFGOnly() const {
154154 ViewGraph(this, "cfg" + getName(), true);
404404
405405 // We have a live DomainValue from more than one predecessor.
406406 if (LiveRegs[rx].Value->isCollapsed()) {
407 // We are already collapsed, but predecessor is not. Force him.
407 // We are already collapsed, but predecessor is not. Force it.
408408 unsigned Domain = LiveRegs[rx].Value->getFirstDomain();
409409 if (!pdv->isCollapsed() && pdv->hasDomain(Domain))
410410 collapse(pdv, Domain);
376376 SlotIndex enterIntvAfter(SlotIndex Idx);
377377
378378 /// enterIntvAtEnd - Enter the open interval at the end of MBB.
379 /// Use the open interval from he inserted copy to the MBB end.
379 /// Use the open interval from the inserted copy to the MBB end.
380380 /// Return the beginning of the new live range.
381381 SlotIndex enterIntvAtEnd(MachineBasicBlock &MBB);
382382
5757 stricmp(ModuleName, "msvcr70") != 0 &&
5858 #ifndef __MINGW32__
5959 // Mingw32 uses msvcrt.dll by default. Don't ignore it.
60 // Otherwise, user should be aware, what he's doing :)
60 // Otherwise the user should be aware what they are doing.
6161 stricmp(ModuleName, "msvcrt") != 0 &&
6262 #endif
6363 stricmp(ModuleName, "msvcrt20") != 0 &&
204204 if (nmatch == 1 && !g->backrefs)
205205 break; /* no further info needed */
206206
207 /* oh my, he wants the subexpressions... */
207 /* oh my, they want the subexpressions... */
208208 if (m->pmatch == NULL)
209209 m->pmatch = (llvm_regmatch_t *)malloc((m->g->nsub + 1) *
210210 sizeof(llvm_regmatch_t));
515515 //
516516 // Binary:
517517 // One register output operand and two input operands. The first
518 // input operand is always a register and he second may be a register,
518 // input operand is always a register and the second may be a register,
519519 // immediate or memory.
520520 //
521521 // Shift:
19171917 DEBUG(dbgs() << "SLP: Analyzing blocks in " << F.getName() << ".\n");
19181918
19191919 // Use the bottom up slp vectorizer to construct chains that start with
1920 // he store instructions.
1920 // store instructions.
19211921 BoUpSLP R(&F, SE, DL, TTI, TLI, AA, LI, DT);
19221922
19231923 // Scan the blocks in the function in post order.
192192 /// parsing on the operand.
193193 std::string ParserMethod;
194194
195 /// For register classes, the records for all the registers in this class.
195 /// For register classes: the records for all the registers in this class.
196196 RegisterSet Registers;
197197
198 /// For custom match classes, he diagnostic kind for when the predicate fails.
198 /// For custom match classes: the diagnostic kind for when the predicate fails.
199199 std::string DiagnosticType;
200200 public:
201201 /// isRegisterClass() - Check if this is a register class.