llvm-6502/include/llvm/Target
Richard Sandiford 086791eca2 Add TargetLowering::prepareVolatileOrAtomicLoad
One unusual feature of the z architecture is that the result of a
previous load can be reused indefinitely for subsequent loads, even if
a cache-coherent store to that location is performed by another CPU.
A special serializing instruction must be used if you want to force
a load to be reattempted.

Since volatile loads are not supposed to be omitted in this way,
we should insert a serializing instruction before each such load.
The same goes for atomic loads.

The patch implements this at the IR->DAG boundary, in a similar way
to atomic fences.  It is a no-op for targets other than SystemZ.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196905 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-10 10:36:34 +00:00
..
CostTable.h
Mangler.h Remove the isImplicitlyPrivate argument of getNameWithPrefix. 2013-12-05 05:53:12 +00:00
Target.td Remove dead code. 2013-12-02 05:10:04 +00:00
TargetCallingConv.h SelectionDAG: Pass along the original argument/element type in ISD::InputArg 2013-10-23 00:44:24 +00:00
TargetCallingConv.td
TargetFrameLowering.h
TargetInstrInfo.h Added a size field to the stack map record to handle subregister spills. 2013-11-17 01:36:23 +00:00
TargetIntrinsicInfo.h
TargetItinerary.td
TargetJITInfo.h
TargetLibraryInfo.h Convert calls to __sinpi and __cospi into __sincospi_stret 2013-11-03 06:48:38 +00:00
TargetLowering.h Add TargetLowering::prepareVolatileOrAtomicLoad 2013-12-10 10:36:34 +00:00
TargetLoweringObjectFile.h Move getSymbolWithGlobalValueBase to TargetLoweringObjectFile. 2013-12-02 16:25:47 +00:00
TargetMachine.h Add a RequireStructuredCFG Field to TargetMachine. 2013-12-07 01:49:19 +00:00
TargetOpcodes.h Lower stackmap intrinsics directly to their target opcode in the DAG builder. 2013-10-31 17:18:24 +00:00
TargetOptions.h
TargetRegisterInfo.h
TargetSchedule.td Machine model comments. Explain a ProcessorUnit's BufferSize. 2013-12-05 17:55:53 +00:00
TargetSelectionDAG.td
TargetSelectionDAGInfo.h
TargetSubtargetInfo.h Added temp flag -misched-bench for staging in default changes. 2013-09-26 05:53:35 +00:00