reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/AtomicExpandPass.cpp
  205   TLI = TM.getSubtargetImpl(F)->getTargetLowering();
  227       if (!atomicSizeSupported(TLI, LI)) {
  233       if (!atomicSizeSupported(TLI, SI)) {
  239       if (!atomicSizeSupported(TLI, RMWI)) {
  245       if (!atomicSizeSupported(TLI, CASI)) {
  252     if (TLI->shouldInsertFencesForAtomic(I)) {
  265                  TLI->shouldExpandAtomicCmpXchgInIR(CASI) ==
  303       if (TLI->shouldExpandAtomicStoreInIR(SI))
  314         unsigned MinCASSize = TLI->getMinCmpXchgSizeInBits() / 8;
  349   auto LeadingFence = TLI->emitLeadingFence(Builder, I, Order);
  351   auto TrailingFence = TLI->emitTrailingFence(Builder, I, Order);
  363   EVT VT = TLI->getMemValueType(DL, T);
  397   switch (TLI->shouldExpandAtomicLoadInIR(LI)) {
  421       TLI->emitLoadLinked(Builder, LI->getPointerOperand(), LI->getOrdering());
  422   TLI->emitAtomicCmpXchgNoStoreLLBalance(Builder);
  565   switch (TLI->shouldExpandAtomicRMWInIR(AI)) {
  569     unsigned MinCASSize = TLI->getMinCmpXchgSizeInBits() / 8;
  585     unsigned MinCASSize = TLI->getMinCmpXchgSizeInBits() / 8;
  752                        TLI->getMinCmpXchgSizeInBits() / 8);
  785                        TLI->getMinCmpXchgSizeInBits() / 8);
  854   const int WordSize = TLI->getMinCmpXchgSizeInBits() / 8;
  951                        TLI->getMinCmpXchgSizeInBits() / 8);
  964   Value *OldResult = TLI->emitMaskedAtomicRMWIntrinsic(
  978       TLI->getMinCmpXchgSizeInBits() / 8);
  986   Value *OldVal = TLI->emitMaskedAtomicCmpXchgIntrinsic(
 1034   Value *Loaded = TLI->emitLoadLinked(Builder, Addr, MemOpOrder);
 1039       TLI->emitStoreConditional(Builder, NewVal, Addr, MemOpOrder);
 1102   bool ShouldInsertFencesForAtomic = TLI->shouldInsertFencesForAtomic(CI);
 1188     TLI->emitLeadingFence(Builder, CI, SuccessOrder);
 1193   Value *UnreleasedLoad = TLI->emitLoadLinked(Builder, Addr, MemOpOrder);
 1203     TLI->emitLeadingFence(Builder, CI, SuccessOrder);
 1207   Value *StoreSuccess = TLI->emitStoreConditional(
 1218     SecondLoad = TLI->emitLoadLinked(Builder, Addr, MemOpOrder);
 1232     TLI->emitTrailingFence(Builder, CI, SuccessOrder);
 1239   TLI->emitAtomicCmpXchgNoStoreLLBalance(Builder);
 1244     TLI->emitTrailingFence(Builder, CI, FailureOrder);
 1337   if (auto ResultingLoad = TLI->lowerIdempotentRMWIntoFencedLoad(RMWI)) {
 1408   unsigned MinCASSize = TLI->getMinCmpXchgSizeInBits() / 8;
 1411   switch (TLI->shouldExpandAtomicCmpXchgInIR(CI)) {
 1775       M->getOrInsertFunction(TLI->getLibcallName(RTLibType), FnType, Attr);