reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
939 assert(N->getOpcode() == ISD::ATOMIC_LOAD && "Bad Atomic OP"); 940 assert((N->getOrdering() == AtomicOrdering::Unordered || 941 N->getOrdering() == AtomicOrdering::Monotonic) && 943 if (N->getMemoryVT() == MVT::i32) { 944 if (N->getAlignment() < 4) 947 N->getChain(), N->getBasePtr(), N->getPointerInfo(), 947 N->getChain(), N->getBasePtr(), N->getPointerInfo(), 947 N->getChain(), N->getBasePtr(), N->getPointerInfo(), 948 N->getAlignment(), N->getMemOperand()->getFlags(), 948 N->getAlignment(), N->getMemOperand()->getFlags(), 949 N->getAAInfo(), N->getRanges()); 949 N->getAAInfo(), N->getRanges()); 951 if (N->getMemoryVT() == MVT::i16) { 952 if (N->getAlignment() < 2) 954 return DAG.getExtLoad(ISD::EXTLOAD, SDLoc(Op), MVT::i32, N->getChain(), 955 N->getBasePtr(), N->getPointerInfo(), MVT::i16, 955 N->getBasePtr(), N->getPointerInfo(), MVT::i16, 956 N->getAlignment(), N->getMemOperand()->getFlags(), 956 N->getAlignment(), N->getMemOperand()->getFlags(), 957 N->getAAInfo()); 959 if (N->getMemoryVT() == MVT::i8) 960 return DAG.getExtLoad(ISD::EXTLOAD, SDLoc(Op), MVT::i32, N->getChain(), 961 N->getBasePtr(), N->getPointerInfo(), MVT::i8, 961 N->getBasePtr(), N->getPointerInfo(), MVT::i8, 962 N->getAlignment(), N->getMemOperand()->getFlags(), 962 N->getAlignment(), N->getMemOperand()->getFlags(), 963 N->getAAInfo());