/external/llvm/include/llvm/CodeGen/ |
AtomicExpandUtils.h | 15 class AtomicRMWInst; 56 expandAtomicRMWToCmpXchg(AtomicRMWInst *AI, CreateCmpXchgInstFun Factory);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
AtomicExpandUtils.h | 19 class AtomicRMWInst; 61 bool expandAtomicRMWToCmpXchg(AtomicRMWInst *AI, CreateCmpXchgInstFun CreateCmpXchg);
|
/external/llvm/lib/Transforms/Scalar/ |
LowerAtomic.cpp | 44 static bool LowerAtomicRMWInst(AtomicRMWInst *RMWI) { 54 case AtomicRMWInst::Xchg: 57 case AtomicRMWInst::Add: 60 case AtomicRMWInst::Sub: 63 case AtomicRMWInst::And: 66 case AtomicRMWInst::Nand: 69 case AtomicRMWInst::Or: 72 case AtomicRMWInst::Xor: 75 case AtomicRMWInst::Max: 79 case AtomicRMWInst::Min [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
LowerAtomic.cpp | 39 static bool LowerAtomicRMWInst(AtomicRMWInst *RMWI) { 49 case AtomicRMWInst::Xchg: 52 case AtomicRMWInst::Add: 55 case AtomicRMWInst::Sub: 58 case AtomicRMWInst::And: 61 case AtomicRMWInst::Nand: 64 case AtomicRMWInst::Or: 67 case AtomicRMWInst::Xor: 70 case AtomicRMWInst::Max: 74 case AtomicRMWInst::Min [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
LowerAtomic.cpp | 43 static bool LowerAtomicRMWInst(AtomicRMWInst *RMWI) { 53 case AtomicRMWInst::Xchg: 56 case AtomicRMWInst::Add: 59 case AtomicRMWInst::Sub: 62 case AtomicRMWInst::And: 65 case AtomicRMWInst::Nand: 68 case AtomicRMWInst::Or: 71 case AtomicRMWInst::Xor: 74 case AtomicRMWInst::Max: 78 case AtomicRMWInst::Min [all...] |
/external/llvm/lib/CodeGen/ |
AtomicExpandPass.cpp | 59 bool tryExpandAtomicRMW(AtomicRMWInst *AI); 68 AtomicRMWInst *I, 80 bool isIdempotentRMW(AtomicRMWInst *AI); 81 bool simplifyIdempotentRMW(AtomicRMWInst *AI); 90 void expandAtomicRMWToLibcall(AtomicRMWInst *I); 94 llvm::expandAtomicRMWToCmpXchg(AtomicRMWInst *AI, 120 unsigned getAtomicOpSize(AtomicRMWInst *RMWI) { 149 unsigned getAtomicOpAlign(AtomicRMWInst *RMWI) { 194 auto RMWI = dyn_cast<AtomicRMWInst>(I); 468 AtomicRMWInst *AI [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
AtomicExpandPass.cpp | 80 bool tryExpandAtomicRMW(AtomicRMWInst *AI); 89 AtomicRMWInst *I, 101 bool isIdempotentRMW(AtomicRMWInst *RMWI); 102 bool simplifyIdempotentRMW(AtomicRMWInst *RMWI); 111 void expandAtomicRMWToLibcall(AtomicRMWInst *I); 115 llvm::expandAtomicRMWToCmpXchg(AtomicRMWInst *AI, 141 static unsigned getAtomicOpSize(AtomicRMWInst *RMWI) { 170 static unsigned getAtomicOpAlign(AtomicRMWInst *RMWI) { 218 auto RMWI = dyn_cast<AtomicRMWInst>(I); 478 AtomicRMWInst *AI [all...] |
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
Instruction.cpp | 227 if (const AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(this)) 228 return RMWI->getOperation() == cast<AtomicRMWInst>(I)->getOperation() && 229 RMWI->isVolatile() == cast<AtomicRMWInst>(I)->isVolatile() && 230 RMWI->getOrdering() == cast<AtomicRMWInst>(I)->getOrdering() && 231 RMWI->getSynchScope() == cast<AtomicRMWInst>(I)->getSynchScope(); 283 if (const AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(this)) 284 return RMWI->getOperation() == cast<AtomicRMWInst>(I)->getOperation() && 285 RMWI->isVolatile() == cast<AtomicRMWInst>(I)->isVolatile() & [all...] |
AutoUpgrade.cpp | 243 AtomicRMWInst::BinOp Op; 245 Op = AtomicRMWInst::Xchg; 247 Op = AtomicRMWInst::Add; 249 Op = AtomicRMWInst::Sub; 251 Op = AtomicRMWInst::And; 253 Op = AtomicRMWInst::Nand; 255 Op = AtomicRMWInst::Or; 257 Op = AtomicRMWInst::Xor; 259 Op = AtomicRMWInst::Max; 261 Op = AtomicRMWInst::Min [all...] |
AsmWriter.cpp | 663 AtomicRMWInst::BinOp Op) { 666 case AtomicRMWInst::Xchg: Out << " xchg"; break; 667 case AtomicRMWInst::Add: Out << " add"; break; 668 case AtomicRMWInst::Sub: Out << " sub"; break; 669 case AtomicRMWInst::And: Out << " and"; break; 670 case AtomicRMWInst::Nand: Out << " nand"; break; 671 case AtomicRMWInst::Or: Out << " or"; break; 672 case AtomicRMWInst::Xor: Out << " xor"; break; 673 case AtomicRMWInst::Max: Out << " max"; break; 674 case AtomicRMWInst::Min: Out << " min"; break [all...] |
/external/llvm/include/llvm/Analysis/ |
MemoryLocation.h | 69 static MemoryLocation get(const AtomicRMWInst *RMWI); 79 else if (auto *I = dyn_cast<AtomicRMWInst>(Inst))
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
MemoryLocation.h | 78 static MemoryLocation get(const AtomicRMWInst *RMWI); 93 return get(cast<AtomicRMWInst>(Inst));
|
/external/llvm/lib/Transforms/Instrumentation/ |
ThreadSanitizer.cpp | 116 Function *TsanAtomicRMW[AtomicRMWInst::LAST_BINOP + 1][kNumberOfAccessSizes]; 191 for (int op = AtomicRMWInst::FIRST_BINOP; 192 op <= AtomicRMWInst::LAST_BINOP; ++op) { 195 if (op == AtomicRMWInst::Xchg) 197 else if (op == AtomicRMWInst::Add) 199 else if (op == AtomicRMWInst::Sub) 201 else if (op == AtomicRMWInst::And) 203 else if (op == AtomicRMWInst::Or) 205 else if (op == AtomicRMWInst::Xor) 207 else if (op == AtomicRMWInst::Nand [all...] |
BoundsChecking.cpp | 183 isa<AtomicRMWInst>(I)) 200 } else if (AtomicRMWInst *AI = dyn_cast<AtomicRMWInst>(Inst)) {
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
ThreadSanitizer.cpp | 124 Function *TsanAtomicRMW[AtomicRMWInst::LAST_BINOP + 1][kNumberOfAccessSizes]; 204 for (int op = AtomicRMWInst::FIRST_BINOP; 205 op <= AtomicRMWInst::LAST_BINOP; ++op) { 208 if (op == AtomicRMWInst::Xchg) 210 else if (op == AtomicRMWInst::Add) 212 else if (op == AtomicRMWInst::Sub) 214 else if (op == AtomicRMWInst::And) 216 else if (op == AtomicRMWInst::Or) 218 else if (op == AtomicRMWInst::Xor) 220 else if (op == AtomicRMWInst::Nand [all...] |
BoundsChecking.cpp | 164 } else if (AtomicRMWInst *AI = dyn_cast<AtomicRMWInst>(&I)) {
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
AliasAnalysis.h | 140 Location getLocation(const AtomicRMWInst *RMWI); 350 return getModRefInfo((const AtomicRMWInst*)I, Loc); 441 ModRefResult getModRefInfo(const AtomicRMWInst *RMW, const Location &Loc); 444 ModRefResult getModRefInfo(const AtomicRMWInst *RMW,
|
/external/llvm/lib/IR/ |
Instruction.cpp | 388 if (const AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(I1)) 389 return RMWI->getOperation() == cast<AtomicRMWInst>(I2)->getOperation() && 390 RMWI->isVolatile() == cast<AtomicRMWInst>(I2)->isVolatile() && 391 RMWI->getOrdering() == cast<AtomicRMWInst>(I2)->getOrdering() && 392 RMWI->getSynchScope() == cast<AtomicRMWInst>(I2)->getSynchScope();
|
/external/llvm/unittests/Analysis/ |
AliasAnalysisTest.cpp | 185 new AtomicRMWInst(AtomicRMWInst::Xchg, Addr, ConstantInt::get(IntType, 1),
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
AliasAnalysisTest.cpp | 186 new AtomicRMWInst(AtomicRMWInst::Xchg, Addr, ConstantInt::get(IntType, 1),
|
/external/llvm/lib/Analysis/ |
MemoryLocation.cpp | 57 MemoryLocation MemoryLocation::get(const AtomicRMWInst *RMWI) {
|
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/ |
BitcodeWriter.cpp | 103 static unsigned GetEncodedRMWOperation(AtomicRMWInst::BinOp Op) { 106 case AtomicRMWInst::Xchg: return bitc::RMW_XCHG; 107 case AtomicRMWInst::Add: return bitc::RMW_ADD; 108 case AtomicRMWInst::Sub: return bitc::RMW_SUB; 109 case AtomicRMWInst::And: return bitc::RMW_AND; 110 case AtomicRMWInst::Nand: return bitc::RMW_NAND; 111 case AtomicRMWInst::Or: return bitc::RMW_OR; 112 case AtomicRMWInst::Xor: return bitc::RMW_XOR; 113 case AtomicRMWInst::Max: return bitc::RMW_MAX; 114 case AtomicRMWInst::Min: return bitc::RMW_MIN [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
AliasAnalysis.cpp | 248 AliasAnalysis::getLocation(const AtomicRMWInst *RMWI) { 347 AliasAnalysis::getModRefInfo(const AtomicRMWInst *RMW, const Location &Loc) {
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
MergeFunctions.cpp | 335 if (const AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(I1)) 336 return RMWI->getOperation() == cast<AtomicRMWInst>(I2)->getOperation() && 337 RMWI->isVolatile() == cast<AtomicRMWInst>(I2)->isVolatile() && 338 RMWI->getOrdering() == cast<AtomicRMWInst>(I2)->getOrdering() && 339 RMWI->getSynchScope() == cast<AtomicRMWInst>(I2)->getSynchScope();
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
Instruction.cpp | 422 if (const AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(I1)) 423 return RMWI->getOperation() == cast<AtomicRMWInst>(I2)->getOperation() && 424 RMWI->isVolatile() == cast<AtomicRMWInst>(I2)->isVolatile() && 425 RMWI->getOrdering() == cast<AtomicRMWInst>(I2)->getOrdering() && 426 RMWI->getSyncScopeID() == cast<AtomicRMWInst>(I2)->getSyncScopeID();
|