/external/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/llvm/lib/Transforms/Instrumentation/ |
ThreadSanitizer.cpp | 106 Function *TsanAtomicRMW[AtomicRMWInst::LAST_BINOP + 1][kNumberOfAccessSizes]; 166 for (int op = AtomicRMWInst::FIRST_BINOP; 167 op <= AtomicRMWInst::LAST_BINOP; ++op) { 170 if (op == AtomicRMWInst::Xchg) 172 else if (op == AtomicRMWInst::Add) 174 else if (op == AtomicRMWInst::Sub) 176 else if (op == AtomicRMWInst::And) 178 else if (op == AtomicRMWInst::Or) 180 else if (op == AtomicRMWInst::Xor) 182 else if (op == AtomicRMWInst::Nand [all...] |
BoundsChecking.cpp | 185 isa<AtomicRMWInst>(I)) 201 } else if (AtomicRMWInst *AI = dyn_cast<AtomicRMWInst>(Inst)) {
|
/external/llvm/lib/IR/ |
Instruction.cpp | 314 if (const AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(this)) 315 return RMWI->getOperation() == cast<AtomicRMWInst>(I)->getOperation() && 316 RMWI->isVolatile() == cast<AtomicRMWInst>(I)->isVolatile() && 317 RMWI->getOrdering() == cast<AtomicRMWInst>(I)->getOrdering() && 318 RMWI->getSynchScope() == cast<AtomicRMWInst>(I)->getSynchScope(); 388 if (const AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(this)) 389 return RMWI->getOperation() == cast<AtomicRMWInst>(I)->getOperation() && 390 RMWI->isVolatile() == cast<AtomicRMWInst>(I)->isVolatile() & [all...] |
AsmWriter.cpp | 740 AtomicRMWInst::BinOp Op) { 743 case AtomicRMWInst::Xchg: Out << " xchg"; break; 744 case AtomicRMWInst::Add: Out << " add"; break; 745 case AtomicRMWInst::Sub: Out << " sub"; break; 746 case AtomicRMWInst::And: Out << " and"; break; 747 case AtomicRMWInst::Nand: Out << " nand"; break; 748 case AtomicRMWInst::Or: Out << " or"; break; 749 case AtomicRMWInst::Xor: Out << " xor"; break; 750 case AtomicRMWInst::Max: Out << " max"; break; 751 case AtomicRMWInst::Min: Out << " min"; break [all...] |
Instructions.cpp | [all...] |
Verifier.cpp | 291 void visitAtomicRMWInst(AtomicRMWInst &RMWI); [all...] |
/external/clang/lib/CodeGen/ |
CGAtomic.cpp | 187 llvm::AtomicRMWInst::BinOp Op = llvm::AtomicRMWInst::Add; 242 Op = llvm::AtomicRMWInst::Xchg; 250 Op = llvm::AtomicRMWInst::Add; 258 Op = llvm::AtomicRMWInst::Sub; 266 Op = llvm::AtomicRMWInst::And; 274 Op = llvm::AtomicRMWInst::Or; 282 Op = llvm::AtomicRMWInst::Xor; 289 Op = llvm::AtomicRMWInst::Nand; 295 llvm::AtomicRMWInst *RMWI [all...] |
CGBuiltin.cpp | 80 llvm::AtomicRMWInst::BinOp Kind, 113 llvm::AtomicRMWInst::BinOp Kind, [all...] |
CGExprScalar.cpp | [all...] |
/external/llvm/include/llvm/Analysis/ |
AliasAnalysis.h | 148 Location getLocation(const AtomicRMWInst *RMWI); 363 return getModRefInfo((const AtomicRMWInst*)I, Loc); 454 ModRefResult getModRefInfo(const AtomicRMWInst *RMW, const Location &Loc); 457 ModRefResult getModRefInfo(const AtomicRMWInst *RMW,
|
/external/llvm/lib/Bitcode/Writer/ |
BitcodeWriter.cpp | 111 static unsigned GetEncodedRMWOperation(AtomicRMWInst::BinOp Op) { 114 case AtomicRMWInst::Xchg: return bitc::RMW_XCHG; 115 case AtomicRMWInst::Add: return bitc::RMW_ADD; 116 case AtomicRMWInst::Sub: return bitc::RMW_SUB; 117 case AtomicRMWInst::And: return bitc::RMW_AND; 118 case AtomicRMWInst::Nand: return bitc::RMW_NAND; 119 case AtomicRMWInst::Or: return bitc::RMW_OR; 120 case AtomicRMWInst::Xor: return bitc::RMW_XOR; 121 case AtomicRMWInst::Max: return bitc::RMW_MAX; 122 case AtomicRMWInst::Min: return bitc::RMW_MIN [all...] |
/frameworks/compile/slang/BitWriter_2_9_func/ |
BitcodeWriter.cpp | 104 static unsigned GetEncodedRMWOperation(AtomicRMWInst::BinOp Op) { 107 case AtomicRMWInst::Xchg: return bitc::RMW_XCHG; 108 case AtomicRMWInst::Add: return bitc::RMW_ADD; 109 case AtomicRMWInst::Sub: return bitc::RMW_SUB; 110 case AtomicRMWInst::And: return bitc::RMW_AND; 111 case AtomicRMWInst::Nand: return bitc::RMW_NAND; 112 case AtomicRMWInst::Or: return bitc::RMW_OR; 113 case AtomicRMWInst::Xor: return bitc::RMW_XOR; 114 case AtomicRMWInst::Max: return bitc::RMW_MAX; 115 case AtomicRMWInst::Min: return bitc::RMW_MIN [all...] |
/frameworks/compile/slang/BitWriter_3_2/ |
BitcodeWriter.cpp | 113 static unsigned GetEncodedRMWOperation(AtomicRMWInst::BinOp Op) { 116 case AtomicRMWInst::Xchg: return bitc::RMW_XCHG; 117 case AtomicRMWInst::Add: return bitc::RMW_ADD; 118 case AtomicRMWInst::Sub: return bitc::RMW_SUB; 119 case AtomicRMWInst::And: return bitc::RMW_AND; 120 case AtomicRMWInst::Nand: return bitc::RMW_NAND; 121 case AtomicRMWInst::Or: return bitc::RMW_OR; 122 case AtomicRMWInst::Xor: return bitc::RMW_XOR; 123 case AtomicRMWInst::Max: return bitc::RMW_MAX; 124 case AtomicRMWInst::Min: return bitc::RMW_MIN [all...] |
/external/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/llvm/lib/Target/CppBackend/ |
CPPBackend.cpp | [all...] |
/external/llvm/lib/Analysis/ |
AliasAnalysis.cpp | 252 AliasAnalysis::getLocation(const AtomicRMWInst *RMWI) { 351 AliasAnalysis::getModRefInfo(const AtomicRMWInst *RMW, const Location &Loc) {
|
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.cpp | 155 static AtomicRMWInst::BinOp GetDecodedRMWOperation(unsigned Val) { 157 default: return AtomicRMWInst::BAD_BINOP; 158 case bitc::RMW_XCHG: return AtomicRMWInst::Xchg; 159 case bitc::RMW_ADD: return AtomicRMWInst::Add; 160 case bitc::RMW_SUB: return AtomicRMWInst::Sub; 161 case bitc::RMW_AND: return AtomicRMWInst::And; 162 case bitc::RMW_NAND: return AtomicRMWInst::Nand; 163 case bitc::RMW_OR: return AtomicRMWInst::Or; 164 case bitc::RMW_XOR: return AtomicRMWInst::Xor; 165 case bitc::RMW_MAX: return AtomicRMWInst::Max [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
BitcodeReader.cpp | 451 static AtomicRMWInst::BinOp GetDecodedRMWOperation(unsigned Val) { 453 default: return AtomicRMWInst::BAD_BINOP; 454 case bitc::RMW_XCHG: return AtomicRMWInst::Xchg; 455 case bitc::RMW_ADD: return AtomicRMWInst::Add; 456 case bitc::RMW_SUB: return AtomicRMWInst::Sub; 457 case bitc::RMW_AND: return AtomicRMWInst::And; 458 case bitc::RMW_NAND: return AtomicRMWInst::Nand; 459 case bitc::RMW_OR: return AtomicRMWInst::Or; 460 case bitc::RMW_XOR: return AtomicRMWInst::Xor; 461 case bitc::RMW_MAX: return AtomicRMWInst::Max [all...] |
/external/llvm/include/llvm/ |
InstVisitor.h | 178 RetTy visitAtomicRMWInst(AtomicRMWInst &I) { DELEGATE(Instruction);}
|
/external/llvm/include/llvm/IR/ |
Instructions.h | 551 // AtomicRMWInst Class 554 /// AtomicRMWInst - an instruction that atomically reads a memory location, 558 class AtomicRMWInst : public Instruction { 561 virtual AtomicRMWInst *clone_impl() const; 600 AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val, 603 AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val, 690 struct OperandTraits<AtomicRMWInst> 691 : public FixedNumOperandTraits<AtomicRMWInst,2> { 694 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(AtomicRMWInst, Value) [all...] |
IRBuilder.h | [all...] |
/external/llvm/lib/AsmParser/ |
LLParser.cpp | [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAGBuilder.h | 523 void visitAtomicRMW(const AtomicRMWInst &I);
|
SelectionDAGBuilder.cpp | [all...] |