Searched refs:MemType (Results 1 – 3 of 3) sorted by relevance
1053 bool needsCmpXchgNb(const Type *MemType) const;
17830 bool X86TargetLowering::needsCmpXchgNb(const Type *MemType) const { in needsCmpXchgNb()17831 unsigned OpWidth = MemType->getPrimitiveSizeInBits(); in needsCmpXchgNb()17855 const Type *MemType = AI->getType(); in shouldExpandAtomicRMWInIR() local17859 if (MemType->getPrimitiveSizeInBits() > NativeWidth) { in shouldExpandAtomicRMWInIR()17860 return needsCmpXchgNb(MemType) ? AtomicRMWExpansionKind::CmpXChg in shouldExpandAtomicRMWInIR()17901 const Type *MemType = AI->getType(); in lowerIdempotentRMWIntoFencedLoad() local17905 if (MemType->getPrimitiveSizeInBits() > NativeWidth) in lowerIdempotentRMWIntoFencedLoad()
3203 llvm::Type *MemType = ConvertTypeForMem(I->Ty)->getPointerTo(AS); in EmitCall() local3207 if (Addr->getType() != MemType) in EmitCall()3208 Addr = Builder.CreateBitCast(Addr, MemType); in EmitCall()