/external/llvm/include/llvm/Support/ |
D | AtomicOrdering.h | 57 enum class AtomicOrdering { enum 68 bool operator<(AtomicOrdering, AtomicOrdering) = delete; 69 bool operator>(AtomicOrdering, AtomicOrdering) = delete; 70 bool operator<=(AtomicOrdering, AtomicOrdering) = delete; 71 bool operator>=(AtomicOrdering, AtomicOrdering) = delete; 76 return (Int)AtomicOrdering::NotAtomic <= I && in isValidAtomicOrdering() 77 I <= (Int)AtomicOrdering::SequentiallyConsistent; in isValidAtomicOrdering() 81 static inline const char *toIRString(AtomicOrdering ao) { in toIRString() 90 static inline bool isStrongerThan(AtomicOrdering ao, AtomicOrdering other) { in isStrongerThan() 105 static inline bool isAtLeastOrStrongerThan(AtomicOrdering ao, in isAtLeastOrStrongerThan() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | AtomicOrdering.h | 57 enum class AtomicOrdering { enum 68 bool operator<(AtomicOrdering, AtomicOrdering) = delete; 69 bool operator>(AtomicOrdering, AtomicOrdering) = delete; 70 bool operator<=(AtomicOrdering, AtomicOrdering) = delete; 71 bool operator>=(AtomicOrdering, AtomicOrdering) = delete; 76 return static_cast<Int>(AtomicOrdering::NotAtomic) <= I && in isValidAtomicOrdering() 77 I <= static_cast<Int>(AtomicOrdering::SequentiallyConsistent); in isValidAtomicOrdering() 81 inline const char *toIRString(AtomicOrdering ao) { in toIRString() 90 inline bool isStrongerThan(AtomicOrdering ao, AtomicOrdering other) { in isStrongerThan() 105 inline bool isAtLeastOrStrongerThan(AtomicOrdering ao, AtomicOrdering other) { in isAtLeastOrStrongerThan() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIMemoryLegalizer.cpp | 123 AtomicOrdering Ordering = AtomicOrdering::NotAtomic; 124 AtomicOrdering FailureOrdering = AtomicOrdering::NotAtomic; 131 SIMemOpInfo(AtomicOrdering Ordering = AtomicOrdering::SequentiallyConsistent, in SIMemOpInfo() 136 AtomicOrdering FailureOrdering = in SIMemOpInfo() 137 AtomicOrdering::SequentiallyConsistent, in SIMemOpInfo() 161 AtomicOrdering getOrdering() const { in getOrdering() 167 AtomicOrdering getFailureOrdering() const { in getFailureOrdering() 198 return Ordering != AtomicOrdering::NotAtomic; in isAtomic() 480 AtomicOrdering Ordering = AtomicOrdering::NotAtomic; in constructFromMIWithMMO() 481 AtomicOrdering FailureOrdering = AtomicOrdering::NotAtomic; in constructFromMIWithMMO() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | GlobalStatus.cpp | 22 static AtomicOrdering strongerOrdering(AtomicOrdering X, AtomicOrdering Y) { in strongerOrdering() 23 if (X == AtomicOrdering::Acquire && Y == AtomicOrdering::Release) in strongerOrdering() 24 return AtomicOrdering::AcquireRelease; in strongerOrdering() 25 if (Y == AtomicOrdering::Acquire && X == AtomicOrdering::Release) in strongerOrdering() 26 return AtomicOrdering::AcquireRelease; in strongerOrdering() 27 return (AtomicOrdering)std::max((unsigned)X, (unsigned)Y); in strongerOrdering() 188 Ordering(AtomicOrdering::NotAtomic) {} in GlobalStatus()
|
/external/clang/lib/CodeGen/ |
D | CGAtomic.cpp | 213 bool AsValue, llvm::AtomicOrdering AO, 226 llvm::AtomicOrdering Success = 227 llvm::AtomicOrdering::SequentiallyConsistent, 228 llvm::AtomicOrdering Failure = 229 llvm::AtomicOrdering::SequentiallyConsistent, 235 void EmitAtomicUpdate(llvm::AtomicOrdering AO, 240 void EmitAtomicUpdate(llvm::AtomicOrdering AO, RValue UpdateRVal, 254 llvm::AtomicOrdering AO, bool IsVolatile); 256 llvm::Value *EmitAtomicLoadOp(llvm::AtomicOrdering AO, bool IsVolatile); 260 llvm::AtomicOrdering Success = [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | GlobalStatus.cpp | 35 static AtomicOrdering strongerOrdering(AtomicOrdering X, AtomicOrdering Y) { in strongerOrdering() 36 if ((X == AtomicOrdering::Acquire && Y == AtomicOrdering::Release) || in strongerOrdering() 37 (Y == AtomicOrdering::Acquire && X == AtomicOrdering::Release)) in strongerOrdering() 38 return AtomicOrdering::AcquireRelease; in strongerOrdering() 39 return (AtomicOrdering)std::max((unsigned)X, (unsigned)Y); in strongerOrdering()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | MachineMemOperand.h | 191 AtomicOrdering Ordering = AtomicOrdering::NotAtomic, 192 AtomicOrdering FailureOrdering = AtomicOrdering::NotAtomic); 248 AtomicOrdering getOrdering() const { in getOrdering() 249 return static_cast<AtomicOrdering>(AtomicInfo.Ordering); in getOrdering() 254 AtomicOrdering getFailureOrdering() const { in getFailureOrdering() 255 return static_cast<AtomicOrdering>(AtomicInfo.FailureOrdering); in getFailureOrdering() 267 bool isAtomic() const { return getOrdering() != AtomicOrdering::NotAtomic; } in isAtomic()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 72 bool bracketInstWithFences(Instruction *I, AtomicOrdering Order); 83 AtomicOrdering MemOpOrder, 86 Instruction *I, Type *ResultTy, Value *Addr, AtomicOrdering MemOpOrder, 96 AtomicOrdering MemOpOrder, 106 Value *CASExpected, AtomicOrdering Ordering, 107 AtomicOrdering Ordering2, 250 auto FenceOrdering = AtomicOrdering::Monotonic; in runOnFunction() 253 LI->setOrdering(AtomicOrdering::Monotonic); in runOnFunction() 256 SI->setOrdering(AtomicOrdering::Monotonic); in runOnFunction() 260 RMWI->setOrdering(AtomicOrdering::Monotonic); in runOnFunction() [all …]
|
/external/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 50 bool bracketInstWithFences(Instruction *I, AtomicOrdering Order, 62 AtomicOrdering MemOpOrder, 65 Instruction *I, Type *ResultTy, Value *Addr, AtomicOrdering MemOpOrder, 75 AtomicOrdering MemOpOrder, 85 Value *CASExpected, AtomicOrdering Ordering, 86 AtomicOrdering Ordering2, 226 auto FenceOrdering = AtomicOrdering::Monotonic; in runOnFunction() 230 LI->setOrdering(AtomicOrdering::Monotonic); in runOnFunction() 235 SI->setOrdering(AtomicOrdering::Monotonic); in runOnFunction() 241 RMWI->setOrdering(AtomicOrdering::Monotonic); in runOnFunction() [all …]
|
/external/llvm/include/llvm/IR/ |
D | Instructions.h | 192 AtomicOrdering Order, SynchronizationScope SynchScope = CrossThread, 197 unsigned Align, AtomicOrdering Order, 201 unsigned Align, AtomicOrdering Order, 238 AtomicOrdering getOrdering() const { in getOrdering() 239 return AtomicOrdering((getSubclassDataFromInstruction() >> 7) & 7); in getOrdering() 244 void setOrdering(AtomicOrdering Ordering) { in setOrdering() 261 void setAtomic(AtomicOrdering Ordering, 269 return (getOrdering() == AtomicOrdering::NotAtomic || in isUnordered() 270 getOrdering() == AtomicOrdering::Unordered) && in isUnordered() 329 unsigned Align, AtomicOrdering Order, [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Instructions.h | 197 AtomicOrdering Order, SyncScope::ID SSID = SyncScope::System, 202 unsigned Align, AtomicOrdering Order, 206 unsigned Align, AtomicOrdering Order, SyncScope::ID SSID, 237 AtomicOrdering getOrdering() const { in getOrdering() 238 return AtomicOrdering((getSubclassDataFromInstruction() >> 7) & 7); in getOrdering() 243 void setOrdering(AtomicOrdering Ordering) { in setOrdering() 260 void setAtomic(AtomicOrdering Ordering, 269 return (getOrdering() == AtomicOrdering::NotAtomic || in isUnordered() 270 getOrdering() == AtomicOrdering::Unordered) && in isUnordered() 330 unsigned Align, AtomicOrdering Order, [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | GlobalStatus.h | 73 AtomicOrdering Ordering = AtomicOrdering::NotAtomic;
|
D | FunctionComparator.h | 332 int cmpOrderings(AtomicOrdering L, AtomicOrdering R) const;
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Instructions.h | 35 enum AtomicOrdering { enum 152 unsigned Align, AtomicOrdering Order, 156 unsigned Align, AtomicOrdering Order, 188 AtomicOrdering getOrdering() const { in getOrdering() 189 return AtomicOrdering((getSubclassDataFromInstruction() >> 7) & 7); in getOrdering() 194 void setOrdering(AtomicOrdering Ordering) { in setOrdering() 212 void setAtomic(AtomicOrdering Ordering, 275 unsigned Align, AtomicOrdering Order, 279 unsigned Align, AtomicOrdering Order, 308 AtomicOrdering getOrdering() const { in getOrdering() [all …]
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 508 static ConstantInt *createOrdering(IRBuilder<> *IRB, AtomicOrdering ord) { in createOrdering() 511 case AtomicOrdering::NotAtomic: in createOrdering() 513 case AtomicOrdering::Unordered: // Fall-through. in createOrdering() 514 case AtomicOrdering::Monotonic: v = 0; break; in createOrdering() 517 case AtomicOrdering::Acquire: v = 2; break; in createOrdering() 518 case AtomicOrdering::Release: v = 3; break; in createOrdering() 519 case AtomicOrdering::AcquireRelease: v = 4; break; in createOrdering() 520 case AtomicOrdering::SequentiallyConsistent: v = 5; break; in createOrdering()
|
D | MemorySanitizer.cpp | 1232 AtomicOrdering addReleaseOrdering(AtomicOrdering a) { in addReleaseOrdering() 1234 case AtomicOrdering::NotAtomic: in addReleaseOrdering() 1235 return AtomicOrdering::NotAtomic; in addReleaseOrdering() 1236 case AtomicOrdering::Unordered: in addReleaseOrdering() 1237 case AtomicOrdering::Monotonic: in addReleaseOrdering() 1238 case AtomicOrdering::Release: in addReleaseOrdering() 1239 return AtomicOrdering::Release; in addReleaseOrdering() 1240 case AtomicOrdering::Acquire: in addReleaseOrdering() 1241 case AtomicOrdering::AcquireRelease: in addReleaseOrdering() 1242 return AtomicOrdering::AcquireRelease; in addReleaseOrdering() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 544 static ConstantInt *createOrdering(IRBuilder<> *IRB, AtomicOrdering ord) { in createOrdering() 547 case AtomicOrdering::NotAtomic: in createOrdering() 549 case AtomicOrdering::Unordered: LLVM_FALLTHROUGH; in createOrdering() 550 case AtomicOrdering::Monotonic: v = 0; break; in createOrdering() 553 case AtomicOrdering::Acquire: v = 2; break; in createOrdering() 554 case AtomicOrdering::Release: v = 3; break; in createOrdering() 555 case AtomicOrdering::AcquireRelease: v = 4; break; in createOrdering() 556 case AtomicOrdering::SequentiallyConsistent: v = 5; break; in createOrdering()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | AliasAnalysisTest.cpp | 183 AtomicOrdering::Monotonic, AtomicOrdering::Monotonic, in TEST_F() 187 AtomicOrdering::Monotonic, SyncScope::System, BB); in TEST_F()
|
/external/llvm/unittests/Analysis/ |
D | AliasAnalysisTest.cpp | 183 AtomicOrdering::Monotonic, AtomicOrdering::Monotonic, CrossThread, BB); in TEST_F() 186 AtomicOrdering::Monotonic, CrossThread, BB); in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/ |
D | RISCVISelLowering.h | 76 AtomicOrdering Ord) const override; 78 AtomicOrdering Ord) const override;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Instructions.cpp | 1108 : LoadInst(Ty, Ptr, Name, isVolatile, Align, AtomicOrdering::NotAtomic, in LoadInst() 1113 : LoadInst(Ptr, Name, isVolatile, Align, AtomicOrdering::NotAtomic, in LoadInst() 1117 unsigned Align, AtomicOrdering Order, in LoadInst() 1129 unsigned Align, AtomicOrdering Order, in LoadInst() 1146 setAtomic(AtomicOrdering::NotAtomic); in LoadInst() 1156 setAtomic(AtomicOrdering::NotAtomic); in LoadInst() 1167 setAtomic(AtomicOrdering::NotAtomic); in LoadInst() 1178 setAtomic(AtomicOrdering::NotAtomic); in LoadInst() 1223 : StoreInst(val, addr, isVolatile, Align, AtomicOrdering::NotAtomic, in StoreInst() 1228 : StoreInst(val, addr, isVolatile, Align, AtomicOrdering::NotAtomic, in StoreInst() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | ir_emitter.cc | 199 store->setAtomic(llvm::AtomicOrdering::Unordered); in MaybeEmitDirectAtomicOperation() 218 llvm::AtomicOrdering::SequentiallyConsistent); in MaybeEmitDirectAtomicOperation() 230 llvm::AtomicOrdering::SequentiallyConsistent); in MaybeEmitDirectAtomicOperation() 240 llvm::AtomicOrdering::SequentiallyConsistent); in MaybeEmitDirectAtomicOperation() 382 llvm::AtomicOrdering::SequentiallyConsistent, in EmitAtomicOperationUsingCAS() 383 llvm::AtomicOrdering::SequentiallyConsistent); in EmitAtomicOperationUsingCAS()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LowerAtomic.cpp | 103 LI->setAtomic(AtomicOrdering::NotAtomic); in LowerLoadInst() 108 SI->setAtomic(AtomicOrdering::NotAtomic); in LowerStoreInst()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LowerAtomic.cpp | 104 LI->setAtomic(AtomicOrdering::NotAtomic); in LowerLoadInst() 109 SI->setAtomic(AtomicOrdering::NotAtomic); in LowerStoreInst()
|
/external/llvm/include/llvm/CodeGen/ |
D | AtomicExpandUtils.h | 22 AtomicOrdering, Value *&, Value *&)> CreateCmpXchgInstFun;
|