MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / convertAtomicStoreToIntegerType

Method convertAtomicStoreToIntegerType

lib/CodeGen/AtomicExpandPass.cpp:439–458  ·  view source on GitHub ↗

Convert an atomic store of a non-integral type to an integer store of the equivalent bitwidth. We used to not support floating point or vector atomics in the IR at all. The backends learned to deal with the bitcast idiom because that was the only way of expressing the notion of a atomic float or vector store. The long term plan is to teach each backend to instruction select from the original at

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

DEBUGFunction · 0.85
getValueOperandMethod · 0.80
getFunction · 0.50
getModuleMethod · 0.45
getTypeMethod · 0.45
CreateBitCastMethod · 0.45
getPointerOperandMethod · 0.45
CreateStoreMethod · 0.45
setAlignmentMethod · 0.45
getAlignmentMethod · 0.45
setVolatileMethod · 0.45

Tested by

no test coverage detected