Home
last modified time | relevance | path

Searched refs:AtomicExpansionKind (Results 1 – 25 of 34) sorted by relevance

12

/freebsd-head/contrib/llvm-project/llvm/lib/CodeGen/
HDAtomicExpandPass.cpp90 AtomicRMWInst *I, TargetLoweringBase::AtomicExpansionKind ExpansionKind);
257 TargetLoweringBase::AtomicExpansionKind::CastToInteger) { in run()
262 TargetLoweringBase::AtomicExpansionKind::CastToInteger) { in run()
267 TargetLoweringBase::AtomicExpansionKind::CastToInteger) { in run()
295 TargetLoweringBase::AtomicExpansionKind::None && in run()
319 TargetLoweringBase::AtomicExpansionKind::LLSC) in run()
454 case TargetLoweringBase::AtomicExpansionKind::None: in tryExpandAtomicLoad()
456 case TargetLoweringBase::AtomicExpansionKind::LLSC: in tryExpandAtomicLoad()
462 case TargetLoweringBase::AtomicExpansionKind::LLOnly: in tryExpandAtomicLoad()
464 case TargetLoweringBase::AtomicExpansionKind::CmpXChg: in tryExpandAtomicLoad()
[all …]
/freebsd-head/contrib/llvm-project/llvm/lib/Target/AMDGPU/
HDAMDGPUISelLowering.h235 AtomicExpansionKind shouldCastAtomicLoadInIR(LoadInst *LI) const override { in shouldCastAtomicLoadInIR()
236 return AtomicExpansionKind::None; in shouldCastAtomicLoadInIR()
239 AtomicExpansionKind shouldCastAtomicStoreInIR(StoreInst *SI) const override { in shouldCastAtomicStoreInIR()
240 return AtomicExpansionKind::None; in shouldCastAtomicStoreInIR()
243 AtomicExpansionKind shouldCastAtomicRMWIInIR(AtomicRMWInst *) const override { in shouldCastAtomicRMWIInIR()
244 return AtomicExpansionKind::None; in shouldCastAtomicRMWIInIR()
391 AtomicExpansionKind shouldExpandAtomicRMWInIR(AtomicRMWInst *) const override;
HDSIISelLowering.h543 AtomicExpansionKind shouldExpandAtomicRMWInIR(AtomicRMWInst *) const override;
544 AtomicExpansionKind shouldExpandAtomicLoadInIR(LoadInst *LI) const override;
545 AtomicExpansionKind shouldExpandAtomicStoreInIR(StoreInst *SI) const override;
546 AtomicExpansionKind
HDR600ISelLowering.h118 TargetLowering::AtomicExpansionKind
HDSIISelLowering.cpp16117 TargetLowering::AtomicExpansionKind
16121 return AtomicExpansionKind::NotAtomic; in shouldExpandAtomicRMWInIR()
16123 auto ReportUnsafeHWInst = [=](TargetLowering::AtomicExpansionKind Kind) { in shouldExpandAtomicRMWInIR()
16145 return AtomicExpansionKind::Expand; in shouldExpandAtomicRMWInIR()
16165 return Subtarget->hasLDSFPAtomicAddF32() ? AtomicExpansionKind::None in shouldExpandAtomicRMWInIR()
16166 : AtomicExpansionKind::CmpXChg; in shouldExpandAtomicRMWInIR()
16171 return Subtarget->hasLDSFPAtomicAddF64() ? AtomicExpansionKind::None in shouldExpandAtomicRMWInIR()
16172 : AtomicExpansionKind::CmpXChg; in shouldExpandAtomicRMWInIR()
16176 return AtomicExpansionKind::None; in shouldExpandAtomicRMWInIR()
16178 return AtomicExpansionKind::CmpXChg; in shouldExpandAtomicRMWInIR()
[all …]
/freebsd-head/contrib/llvm-project/llvm/lib/Target/NVPTX/
HDNVPTXISelLowering.h591 AtomicExpansionKind shouldCastAtomicLoadInIR(LoadInst *LI) const override { in shouldCastAtomicLoadInIR()
592 return AtomicExpansionKind::None; in shouldCastAtomicLoadInIR()
595 AtomicExpansionKind shouldCastAtomicStoreInIR(StoreInst *SI) const override { in shouldCastAtomicStoreInIR()
596 return AtomicExpansionKind::None; in shouldCastAtomicStoreInIR()
599 AtomicExpansionKind
HDNVPTXISelLowering.cpp6375 NVPTXTargetLowering::AtomicExpansionKind
6383 return AtomicExpansionKind::None; in shouldExpandAtomicRMWInIR()
6386 return AtomicExpansionKind::None; in shouldExpandAtomicRMWInIR()
6388 return AtomicExpansionKind::None; in shouldExpandAtomicRMWInIR()
6390 return AtomicExpansionKind::None; in shouldExpandAtomicRMWInIR()
6392 return AtomicExpansionKind::CmpXChg; in shouldExpandAtomicRMWInIR()
6400 return AtomicExpansionKind::CmpXChg; in shouldExpandAtomicRMWInIR()
6408 return AtomicExpansionKind::CmpXChg; in shouldExpandAtomicRMWInIR()
6410 return AtomicExpansionKind::None; in shouldExpandAtomicRMWInIR()
6413 return AtomicExpansionKind::None; in shouldExpandAtomicRMWInIR()
[all …]
/freebsd-head/contrib/llvm-project/llvm/include/llvm/CodeGen/
HDTargetLowering.h253 enum class AtomicExpansionKind { enum
2283 virtual AtomicExpansionKind shouldExpandAtomicLoadInIR(LoadInst *LI) const { in shouldExpandAtomicLoadInIR()
2284 return AtomicExpansionKind::None; in shouldExpandAtomicLoadInIR()
2289 virtual AtomicExpansionKind shouldCastAtomicLoadInIR(LoadInst *LI) const { in shouldCastAtomicLoadInIR()
2291 return AtomicExpansionKind::CastToInteger; in shouldCastAtomicLoadInIR()
2292 return AtomicExpansionKind::None; in shouldCastAtomicLoadInIR()
2298 virtual AtomicExpansionKind shouldExpandAtomicStoreInIR(StoreInst *SI) const { in shouldExpandAtomicStoreInIR()
2299 return AtomicExpansionKind::None; in shouldExpandAtomicStoreInIR()
2305 virtual AtomicExpansionKind shouldCastAtomicStoreInIR(StoreInst *SI) const { in shouldCastAtomicStoreInIR()
2307 return AtomicExpansionKind::CastToInteger; in shouldCastAtomicStoreInIR()
[all …]
/freebsd-head/contrib/llvm-project/llvm/lib/Target/Hexagon/
HDHexagonISelLowering.h356 AtomicExpansionKind shouldExpandAtomicLoadInIR(LoadInst *LI) const override;
357 AtomicExpansionKind shouldExpandAtomicStoreInIR(StoreInst *SI) const override;
358 AtomicExpansionKind
361 AtomicExpansionKind
363 return AtomicExpansionKind::LLSC; in shouldExpandAtomicRMWInIR()
HDHexagonISelLowering.cpp3903 TargetLowering::AtomicExpansionKind
3907 ? AtomicExpansionKind::LLOnly in shouldExpandAtomicLoadInIR()
3908 : AtomicExpansionKind::None; in shouldExpandAtomicLoadInIR()
3911 TargetLowering::AtomicExpansionKind
3915 ? AtomicExpansionKind::Expand in shouldExpandAtomicStoreInIR()
3916 : AtomicExpansionKind::None; in shouldExpandAtomicStoreInIR()
3919 TargetLowering::AtomicExpansionKind
3922 return AtomicExpansionKind::LLSC; in shouldExpandAtomicCmpXchgInIR()
/freebsd-head/contrib/llvm-project/llvm/lib/Target/LoongArch/
HDLoongArchISelLowering.h188 TargetLowering::AtomicExpansionKind
198 TargetLowering::AtomicExpansionKind
HDLoongArchISelLowering.cpp5649 TargetLowering::AtomicExpansionKind
5658 return AtomicExpansionKind::CmpXChg; in shouldExpandAtomicRMWInIR()
5662 return AtomicExpansionKind::MaskedIntrinsic; in shouldExpandAtomicRMWInIR()
5663 return AtomicExpansionKind::None; in shouldExpandAtomicRMWInIR()
5712 TargetLowering::AtomicExpansionKind
5717 return AtomicExpansionKind::MaskedIntrinsic; in shouldExpandAtomicCmpXchgInIR()
5718 return AtomicExpansionKind::None; in shouldExpandAtomicCmpXchgInIR()
/freebsd-head/contrib/llvm-project/llvm/lib/Target/ARM/
HDARMISelLowering.h671 TargetLoweringBase::AtomicExpansionKind
673 TargetLoweringBase::AtomicExpansionKind
675 TargetLoweringBase::AtomicExpansionKind
677 TargetLoweringBase::AtomicExpansionKind
/freebsd-head/contrib/llvm-project/llvm/lib/Target/SystemZ/
HDSystemZISelLowering.h480 AtomicExpansionKind shouldCastAtomicLoadInIR(LoadInst *LI) const override;
481 AtomicExpansionKind shouldCastAtomicStoreInIR(StoreInst *SI) const override;
482 AtomicExpansionKind
/freebsd-head/contrib/llvm-project/llvm/lib/Target/X86/
HDX86ISelLowering.h1744 TargetLoweringBase::AtomicExpansionKind
1746 TargetLoweringBase::AtomicExpansionKind
1748 TargetLoweringBase::AtomicExpansionKind
1750 TargetLoweringBase::AtomicExpansionKind
/freebsd-head/contrib/llvm-project/llvm/lib/Target/AArch64/
HDAArch64ISelLowering.h798 TargetLoweringBase::AtomicExpansionKind
800 TargetLoweringBase::AtomicExpansionKind
802 TargetLoweringBase::AtomicExpansionKind
805 TargetLoweringBase::AtomicExpansionKind
HDAArch64ISelLowering.cpp26525 TargetLoweringBase::AtomicExpansionKind
26529 return AtomicExpansionKind::None; in shouldExpandAtomicStoreInIR()
26531 return AtomicExpansionKind::None; in shouldExpandAtomicStoreInIR()
26533 return AtomicExpansionKind::Expand; in shouldExpandAtomicStoreInIR()
26535 return AtomicExpansionKind::None; in shouldExpandAtomicStoreInIR()
26536 return AtomicExpansionKind::Expand; in shouldExpandAtomicStoreInIR()
26542 TargetLowering::AtomicExpansionKind
26547 return AtomicExpansionKind::None; in shouldExpandAtomicLoadInIR()
26549 return AtomicExpansionKind::None; in shouldExpandAtomicLoadInIR()
26552 return AtomicExpansionKind::None; in shouldExpandAtomicLoadInIR()
[all …]
/freebsd-head/contrib/llvm-project/llvm/lib/Target/WebAssembly/
HDWebAssemblyISelLowering.h56 AtomicExpansionKind shouldExpandAtomicRMWInIR(AtomicRMWInst *) const override;
HDWebAssemblyISelLowering.cpp395 TargetLowering::AtomicExpansionKind
405 return AtomicExpansionKind::None; in shouldExpandAtomicRMWInIR()
409 return AtomicExpansionKind::CmpXChg; in shouldExpandAtomicRMWInIR()
/freebsd-head/contrib/llvm-project/llvm/lib/Target/Sparc/
HDSparcISelLowering.h217 AtomicExpansionKind shouldExpandAtomicRMWInIR(AtomicRMWInst *AI) const override;
/freebsd-head/contrib/llvm-project/llvm/lib/Target/M68k/
HDM68kISelLowering.h177 AtomicExpansionKind
/freebsd-head/contrib/llvm-project/llvm/lib/Target/VE/
HDVEISelLowering.h209 TargetLoweringBase::AtomicExpansionKind
HDVEISelLowering.cpp1144 TargetLowering::AtomicExpansionKind
1148 return AtomicExpansionKind::None; in shouldExpandAtomicRMWInIR()
1154 return AtomicExpansionKind::CmpXChg; in shouldExpandAtomicRMWInIR()
/freebsd-head/contrib/llvm-project/llvm/lib/Target/RISCV/
HDRISCVISelLowering.h761 TargetLowering::AtomicExpansionKind
767 TargetLowering::AtomicExpansionKind
/freebsd-head/contrib/llvm-project/llvm/lib/Target/PowerPC/
HDPPCISelLowering.h924 TargetLowering::AtomicExpansionKind
927 TargetLowering::AtomicExpansionKind

12