Searched refs:CXI (Results 1 – 10 of 10) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
D | LowerAtomic.cpp | 23 static bool LowerAtomicCmpXchgInst(AtomicCmpXchgInst *CXI) { in LowerAtomicCmpXchgInst() argument 24 IRBuilder<> Builder(CXI->getParent(), CXI); in LowerAtomicCmpXchgInst() 25 Value *Ptr = CXI->getPointerOperand(); in LowerAtomicCmpXchgInst() 26 Value *Cmp = CXI->getCompareOperand(); in LowerAtomicCmpXchgInst() 27 Value *Val = CXI->getNewValOperand(); in LowerAtomicCmpXchgInst() 34 CXI->replaceAllUsesWith(Orig); in LowerAtomicCmpXchgInst() 35 CXI->eraseFromParent(); in LowerAtomicCmpXchgInst() 120 else if (AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(Inst)) in runOnBasicBlock() local 121 Changed |= LowerAtomicCmpXchgInst(CXI); in runOnBasicBlock()
|
/external/llvm/lib/VMCore/ |
D | Instruction.cpp | 220 if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(this)) in isIdenticalToWhenDefined() local 221 return CXI->isVolatile() == cast<AtomicCmpXchgInst>(I)->isVolatile() && in isIdenticalToWhenDefined() 222 CXI->getOrdering() == cast<AtomicCmpXchgInst>(I)->getOrdering() && in isIdenticalToWhenDefined() 223 CXI->getSynchScope() == cast<AtomicCmpXchgInst>(I)->getSynchScope(); in isIdenticalToWhenDefined() 294 if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(this)) in isSameOperationAs() local 295 return CXI->isVolatile() == cast<AtomicCmpXchgInst>(I)->isVolatile() && in isSameOperationAs() 296 CXI->getOrdering() == cast<AtomicCmpXchgInst>(I)->getOrdering() && in isSameOperationAs() 297 CXI->getSynchScope() == cast<AtomicCmpXchgInst>(I)->getSynchScope(); in isSameOperationAs()
|
D | Verifier.cpp | 286 void visitAtomicCmpXchgInst(AtomicCmpXchgInst &CXI); 1484 void Verifier::visitAtomicCmpXchgInst(AtomicCmpXchgInst &CXI) { in visitAtomicCmpXchgInst() argument 1485 Assert1(CXI.getOrdering() != NotAtomic, in visitAtomicCmpXchgInst() 1486 "cmpxchg instructions must be atomic.", &CXI); in visitAtomicCmpXchgInst() 1487 Assert1(CXI.getOrdering() != Unordered, in visitAtomicCmpXchgInst() 1488 "cmpxchg instructions cannot be unordered.", &CXI); in visitAtomicCmpXchgInst() 1489 PointerType *PTy = dyn_cast<PointerType>(CXI.getOperand(0)->getType()); in visitAtomicCmpXchgInst() 1490 Assert1(PTy, "First cmpxchg operand must be a pointer.", &CXI); in visitAtomicCmpXchgInst() 1494 &CXI, ElTy); in visitAtomicCmpXchgInst() 1498 &CXI, ElTy); in visitAtomicCmpXchgInst() [all …]
|
D | AsmWriter.cpp | 2010 } else if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(&I)) { in printInstruction() local 2011 writeAtomic(CXI->getOrdering(), CXI->getSynchScope()); in printInstruction()
|
/external/llvm/lib/Analysis/ |
D | AliasAnalysis.cpp | 245 AliasAnalysis::getLocation(const AtomicCmpXchgInst *CXI) { in getLocation() argument 246 return Location(CXI->getPointerOperand(), in getLocation() 247 getTypeStoreSize(CXI->getCompareOperand()->getType()), in getLocation() 248 CXI->getMetadata(LLVMContext::MD_tbaa)); in getLocation()
|
/external/llvm/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 331 if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(I1)) in isEquivalentOperation() local 332 return CXI->isVolatile() == cast<AtomicCmpXchgInst>(I2)->isVolatile() && in isEquivalentOperation() 333 CXI->getOrdering() == cast<AtomicCmpXchgInst>(I2)->getOrdering() && in isEquivalentOperation() 334 CXI->getSynchScope() == cast<AtomicCmpXchgInst>(I2)->getSynchScope(); in isEquivalentOperation()
|
/external/llvm/include/llvm/Analysis/ |
D | AliasAnalysis.h | 147 Location getLocation(const AtomicCmpXchgInst *CXI);
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 2888 llvm::AtomicCmpXchgInst *CXI = in EmitAtomicOp() local 2890 CXI->setVolatile(E->isVolatile()); in EmitAtomicOp() 2891 llvm::StoreInst *StoreVal1 = CGF.Builder.CreateStore(CXI, Val1); in EmitAtomicOp() 2893 llvm::Value *Cmp = CGF.Builder.CreateICmpEQ(CXI, LoadVal1); in EmitAtomicOp()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 3849 AtomicCmpXchgInst *CXI = in ParseCmpXchg() local 3851 CXI->setVolatile(isVolatile); in ParseCmpXchg() 3852 Inst = CXI; in ParseCmpXchg()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 2697 } else if (AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(BBI)) { in SimplifyUnreachable() local 2698 if (CXI->isVolatile()) in SimplifyUnreachable()
|