llvm.org GIT mirror llvm / 19a5621
[NFC] Fix typos: preceeding -> preceding git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354715 91177308-0d34-0410-b5e6-96231b3b80d8 Jordan Rupprecht 1 year, 9 months ago
9 changed file(s) with 16 addition(s) and 16 deletion(s). Raw diff Collapse all Expand all
543543 Custom SDNodes should be mapped to Target Pseudos using ``GINodeEquiv``. This
544544 will cause the instruction selector to import them but you will also need to
545545 ensure the target pseudo is introduced to the MIR before the instruction
546 selector. Any preceeding pass is suitable but the legalizer will be a
546 selector. Any preceding pass is suitable but the legalizer will be a
547547 particularly common choice.
548548
549549 ComplexPatterns
9191 /// example, throwing calls and guards do not always do this. If we need to know
9292 /// for sure that some instruction is guaranteed to execute if the given block
9393 /// is reached, then we need to make sure that there is no implicit control flow
94 /// instruction (ICFI) preceeding it. For example, this check is required if we
94 /// instruction (ICFI) preceding it. For example, this check is required if we
9595 /// perform PRE moving non-speculable instruction to other place.
9696 class ImplicitControlFlowTracking : public InstructionPrecedenceTracking {
9797 public:
175175 };
176176 static_assert(sizeof(DbiStreamHeader) == 64, "Invalid DbiStreamHeader size!");
177177
178 /// The header preceeding the File Info Substream of the DBI stream.
178 /// The header preceding the File Info Substream of the DBI stream.
179179 struct FileInfoSubstreamHeader {
180180 /// Total # of modules, should match number of records in the ModuleInfo
181181 /// substream.
206206 static const uint16_t TypeServerIndexShift = 8;
207207 };
208208
209 /// The header preceeding each entry in the Module Info substream of the DBI
209 /// The header preceding each entry in the Module Info substream of the DBI
210210 /// stream. Corresponds to the type MODI in the reference implementation.
211211 struct ModuleInfoHeader {
212212 /// Currently opened module. This field is a pointer in the reference
271271 support::ulittle32_t NumSections;
272272 };
273273
274 // The header preceeding the global TPI stream.
274 // The header preceding the global TPI stream.
275275 // This corresponds to `HDR` in PDB/dbi/tpi.h.
276276 struct TpiStreamHeader {
277277 struct EmbeddedBuf {
299299 const uint32_t MinTpiHashBuckets = 0x1000;
300300 const uint32_t MaxTpiHashBuckets = 0x40000;
301301
302 /// The header preceeding the global PDB Stream (Stream 1)
302 /// The header preceding the global PDB Stream (Stream 1)
303303 struct InfoStreamHeader {
304304 support::ulittle32_t Version;
305305 support::ulittle32_t Signature;
307307 codeview::GUID Guid;
308308 };
309309
310 /// The header preceeding the /names stream.
310 /// The header preceding the /names stream.
311311 struct PDBStringTableHeader {
312312 support::ulittle32_t Signature; // PDBStringTableSignature
313313 support::ulittle32_t HashVersion; // 1 or 2
671671 // A release fence requires that all stores complete before it, but does
672672 // not prevent the reordering of following loads or stores 'before' the
673673 // fence. As a result, we look past it when finding a dependency for
674 // loads. DSE uses this to find preceeding stores to delete and thus we
674 // loads. DSE uses this to find preceding stores to delete and thus we
675675 // can't bypass the fence if the query instruction is a store.
676676 if (FenceInst *FI = dyn_cast(Inst))
677677 if (isLoad && FI->getOrdering() == AtomicOrdering::Release)
618618 } else {
619619 // The DBG_VALUE is only valid if either Reg is live out from Idx, or Reg
620620 // is defined dead at Idx (where Idx is the slot index for the instruction
621 // preceeding the DBG_VALUE).
621 // preceding the DBG_VALUE).
622622 const LiveInterval &LI = LIS->getInterval(Reg);
623623 LiveQueryResult LRQ = LI.Query(Idx);
624624 if (!LRQ.valueOutOrDead()) {
1397713977 if (NotMaskTZ && NotMaskTZ/8 % MaskedBytes) return Result;
1397813978
1397913979 // For narrowing to be valid, it must be the case that the load the
13980 // immediately preceeding memory operation before the store.
13980 // immediately preceding memory operation before the store.
1398113981 if (LD == Chain.getNode())
1398213982 ; // ok.
1398313983 else if (Chain->getOpcode() == ISD::TokenFactor &&
1542815428 const BaseIndexOffset ChainBase = BaseIndexOffset::match(ST1, DAG);
1542915429 unsigned STByteSize = ST->getMemoryVT().getSizeInBits() / 8;
1543015430 unsigned ChainByteSize = ST1->getMemoryVT().getSizeInBits() / 8;
15431 // If this is a store who's preceeding store to a subset of the current
15431 // If this is a store who's preceding store to a subset of the current
1543215432 // location and no one other node is chained to that store we can
1543315433 // effectively drop the store. Do not remove stores to undef as they may
1543415434 // be used as data sinks.
1543715437 return SDValue();
1543815438 }
1543915439
15440 // If ST stores to a subset of preceeding store's write set, we may be
15441 // able to fold ST's value into the preceeding stored value. As we know
15440 // If ST stores to a subset of preceding store's write set, we may be
15441 // able to fold ST's value into the preceding stored value. As we know
1544215442 // the other uses of ST1's chain are unconcerned with ST, this folding
1544315443 // will not affect those nodes.
1544415444 int64_t Offset;
39173917 }
39183918
39193919 // Quick check whether the def has already been encountered in the same block.
3920 // PHI nodes are not checked to prevent accepting preceeding PHIs, because PHI
3920 // PHI nodes are not checked to prevent accepting preceding PHIs, because PHI
39213921 // uses are defined to happen on the incoming edge, not at the instruction.
39223922 //
39233923 // FIXME: If this operand is a MetadataAsValue (wrapping a LocalAsMetadata)
555555 AsmToken TokenBuf[2];
556556 MutableArrayRef Buf(TokenBuf, 2);
557557 size_t num = peekTokens(Buf, true);
558 // There cannot be a space preceeding this
558 // There cannot be a space preceding this
559559 if (IsAtStartOfLine && num == 2 && TokenBuf[0].is(AsmToken::Integer) &&
560560 TokenBuf[1].is(AsmToken::String)) {
561561 CurPtr = TokStart; // reset curPtr;
15011501 for (unsigned j = 0, je = VTs.size(); j != je; ++j) {
15021502 // New store.
15031503 if (VectorInfo[j] & PVF_FIRST) {
1504 assert(StoreOperands.empty() && "Unfinished preceeding store.");
1504 assert(StoreOperands.empty() && "Unfinished preceding store.");
15051505 StoreOperands.push_back(Chain);
15061506 StoreOperands.push_back(DAG.getConstant(paramCount, dl, MVT::i32));
15071507 StoreOperands.push_back(DAG.getConstant(Offsets[j], dl, MVT::i32));