Searched defs:RMWI (Results 1 - 4 of 4) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
H A DLowerAtomic.cpp39 static bool LowerAtomicRMWInst(AtomicRMWInst *RMWI) { argument
40 IRBuilder<> Builder(RMWI->getParent(), RMWI);
41 Value *Ptr = RMWI->getPointerOperand();
42 Value *Val = RMWI->getValOperand();
47 switch (RMWI->getOperation()) {
88 RMWI->replaceAllUsesWith(Orig);
89 RMWI->eraseFromParent();
122 else if (AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(Inst))
123 Changed |= LowerAtomicRMWInst(RMWI);
[all...]
/external/llvm/lib/Analysis/
H A DAliasAnalysis.cpp252 AliasAnalysis::getLocation(const AtomicRMWInst *RMWI) { argument
253 return Location(RMWI->getPointerOperand(),
254 getTypeStoreSize(RMWI->getValOperand()->getType()),
255 RMWI->getMetadata(LLVMContext::MD_tbaa));
/external/llvm/lib/VMCore/
H A DVerifier.cpp287 void visitAtomicRMWInst(AtomicRMWInst &RMWI);
1508 void Verifier::visitAtomicRMWInst(AtomicRMWInst &RMWI) { argument
1509 Assert1(RMWI.getOrdering() != NotAtomic,
1510 "atomicrmw instructions must be atomic.", &RMWI);
1511 Assert1(RMWI.getOrdering() != Unordered,
1512 "atomicrmw instructions cannot be unordered.", &RMWI);
1513 PointerType *PTy = dyn_cast<PointerType>(RMWI.getOperand(0)->getType());
1514 Assert1(PTy, "First atomicrmw operand must be a pointer.", &RMWI);
1518 &RMWI, ElTy);
1522 &RMWI, ElT
[all...]
/external/clang/lib/CodeGen/
H A DCGExpr.cpp2979 llvm::AtomicRMWInst *RMWI = local
2981 RMWI->setVolatile(E->isVolatile());
2985 llvm::Value *Result = RMWI;
2987 Result = CGF.Builder.CreateBinOp(PostOp, RMWI, LoadVal1);

Completed in 320 milliseconds