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

/external/llvm/lib/Transforms/Scalar/
H A DLowerAtomic.cpp24 static bool LowerAtomicCmpXchgInst(AtomicCmpXchgInst *CXI) { argument
25 IRBuilder<> Builder(CXI->getParent(), CXI);
26 Value *Ptr = CXI->getPointerOperand();
27 Value *Cmp = CXI->getCompareOperand();
28 Value *Val = CXI->getNewValOperand();
35 Res = Builder.CreateInsertValue(UndefValue::get(CXI->getType()), Orig, 0);
38 CXI->replaceAllUsesWith(Res);
39 CXI->eraseFromParent();
126 else if (AtomicCmpXchgInst *CXI
[all...]
/external/llvm/lib/Analysis/
H A DAliasAnalysis.cpp294 AliasAnalysis::getLocation(const AtomicCmpXchgInst *CXI) { argument
296 CXI->getAAMetadata(AATags);
298 return Location(CXI->getPointerOperand(),
299 getTypeStoreSize(CXI->getCompareOperand()->getType()),
/external/clang/lib/CodeGen/
H A DCGBuiltin.cpp1640 AtomicCmpXchgInst *CXI = Builder.CreateAtomicCmpXchg( local
1646 CXI->setVolatile(true);
1647 return RValue::get(Builder.CreateExtractValue(CXI, 0));
/external/llvm/lib/IR/
H A DVerifier.cpp380 void visitAtomicCmpXchgInst(AtomicCmpXchgInst &CXI);
2611 void Verifier::visitAtomicCmpXchgInst(AtomicCmpXchgInst &CXI) { argument
2614 Assert(CXI.getSuccessOrdering() != NotAtomic,
2615 "cmpxchg instructions must be atomic.", &CXI);
2616 Assert(CXI.getFailureOrdering() != NotAtomic,
2617 "cmpxchg instructions must be atomic.", &CXI);
2618 Assert(CXI.getSuccessOrdering() != Unordered,
2619 "cmpxchg instructions cannot be unordered.", &CXI);
2620 Assert(CXI.getFailureOrdering() != Unordered,
2621 "cmpxchg instructions cannot be unordered.", &CXI);
[all...]

Completed in 197 milliseconds