Home
last modified time | relevance | path

Searched refs:CXI (Results 1 – 25 of 27) sorted by relevance

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp24 static bool LowerAtomicCmpXchgInst(AtomicCmpXchgInst *CXI) { in LowerAtomicCmpXchgInst() argument
25 IRBuilder<> Builder(CXI); in LowerAtomicCmpXchgInst()
26 Value *Ptr = CXI->getPointerOperand(); in LowerAtomicCmpXchgInst()
27 Value *Cmp = CXI->getCompareOperand(); in LowerAtomicCmpXchgInst()
28 Value *Val = CXI->getNewValOperand(); in LowerAtomicCmpXchgInst()
35 Res = Builder.CreateInsertValue(UndefValue::get(CXI->getType()), Orig, 0); in LowerAtomicCmpXchgInst()
38 CXI->replaceAllUsesWith(Res); in LowerAtomicCmpXchgInst()
39 CXI->eraseFromParent(); in LowerAtomicCmpXchgInst()
124 else if (AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(Inst)) in runOnBasicBlock() local
125 Changed |= LowerAtomicCmpXchgInst(CXI); in runOnBasicBlock()
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp25 static bool LowerAtomicCmpXchgInst(AtomicCmpXchgInst *CXI) { in LowerAtomicCmpXchgInst() argument
26 IRBuilder<> Builder(CXI); in LowerAtomicCmpXchgInst()
27 Value *Ptr = CXI->getPointerOperand(); in LowerAtomicCmpXchgInst()
28 Value *Cmp = CXI->getCompareOperand(); in LowerAtomicCmpXchgInst()
29 Value *Val = CXI->getNewValOperand(); in LowerAtomicCmpXchgInst()
36 Res = Builder.CreateInsertValue(UndefValue::get(CXI->getType()), Orig, 0); in LowerAtomicCmpXchgInst()
39 CXI->replaceAllUsesWith(Res); in LowerAtomicCmpXchgInst()
40 CXI->eraseFromParent(); in LowerAtomicCmpXchgInst()
119 else if (AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(Inst)) in runOnBasicBlock() local
120 Changed |= LowerAtomicCmpXchgInst(CXI); in runOnBasicBlock()
/external/llvm/lib/Analysis/
DMemoryLocation.cpp47 MemoryLocation MemoryLocation::get(const AtomicCmpXchgInst *CXI) { in get() argument
49 CXI->getAAMetadata(AATags); in get()
50 const auto &DL = CXI->getModule()->getDataLayout(); in get()
53 CXI->getPointerOperand(), in get()
54 DL.getTypeStoreSize(CXI->getCompareOperand()->getType()), AATags); in get()
DValueTracking.cpp3487 if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(I)) in isGuaranteedToTransferExecutionToSuccessor() local
3488 return !CXI->isVolatile(); in isGuaranteedToTransferExecutionToSuccessor()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemoryLocation.cpp64 MemoryLocation MemoryLocation::get(const AtomicCmpXchgInst *CXI) { in get() argument
66 CXI->getAAMetadata(AATags); in get()
67 const auto &DL = CXI->getModule()->getDataLayout(); in get()
69 return MemoryLocation(CXI->getPointerOperand(), in get()
71 CXI->getCompareOperand()->getType())), in get()
/external/llvm/lib/IR/
DInstruction.cpp380 if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(I1)) in haveSameSpecialState() local
381 return CXI->isVolatile() == cast<AtomicCmpXchgInst>(I2)->isVolatile() && in haveSameSpecialState()
382 CXI->isWeak() == cast<AtomicCmpXchgInst>(I2)->isWeak() && in haveSameSpecialState()
383 CXI->getSuccessOrdering() == in haveSameSpecialState()
385 CXI->getFailureOrdering() == in haveSameSpecialState()
387 CXI->getSynchScope() == cast<AtomicCmpXchgInst>(I2)->getSynchScope(); in haveSameSpecialState()
DVerifier.cpp423 void visitAtomicCmpXchgInst(AtomicCmpXchgInst &CXI);
3087 void Verifier::visitAtomicCmpXchgInst(AtomicCmpXchgInst &CXI) { in visitAtomicCmpXchgInst() argument
3090 Assert(CXI.getSuccessOrdering() != AtomicOrdering::NotAtomic, in visitAtomicCmpXchgInst()
3091 "cmpxchg instructions must be atomic.", &CXI); in visitAtomicCmpXchgInst()
3092 Assert(CXI.getFailureOrdering() != AtomicOrdering::NotAtomic, in visitAtomicCmpXchgInst()
3093 "cmpxchg instructions must be atomic.", &CXI); in visitAtomicCmpXchgInst()
3094 Assert(CXI.getSuccessOrdering() != AtomicOrdering::Unordered, in visitAtomicCmpXchgInst()
3095 "cmpxchg instructions cannot be unordered.", &CXI); in visitAtomicCmpXchgInst()
3096 Assert(CXI.getFailureOrdering() != AtomicOrdering::Unordered, in visitAtomicCmpXchgInst()
3097 "cmpxchg instructions cannot be unordered.", &CXI); in visitAtomicCmpXchgInst()
[all …]
DAsmWriter.cpp3177 } else if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(&I)) { in printInstruction() local
3178 writeAtomicCmpXchg(CXI->getSuccessOrdering(), CXI->getFailureOrdering(), in printInstruction()
3179 CXI->getSynchScope()); in printInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstruction.cpp423 if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(I1)) in haveSameSpecialState() local
424 return CXI->isVolatile() == cast<AtomicCmpXchgInst>(I2)->isVolatile() && in haveSameSpecialState()
425 CXI->isWeak() == cast<AtomicCmpXchgInst>(I2)->isWeak() && in haveSameSpecialState()
426 CXI->getSuccessOrdering() == in haveSameSpecialState()
428 CXI->getFailureOrdering() == in haveSameSpecialState()
430 CXI->getSyncScopeID() == in haveSameSpecialState()
DVerifier.cpp482 void visitAtomicCmpXchgInst(AtomicCmpXchgInst &CXI);
3513 void Verifier::visitAtomicCmpXchgInst(AtomicCmpXchgInst &CXI) { in visitAtomicCmpXchgInst() argument
3516 Assert(CXI.getSuccessOrdering() != AtomicOrdering::NotAtomic, in visitAtomicCmpXchgInst()
3517 "cmpxchg instructions must be atomic.", &CXI); in visitAtomicCmpXchgInst()
3518 Assert(CXI.getFailureOrdering() != AtomicOrdering::NotAtomic, in visitAtomicCmpXchgInst()
3519 "cmpxchg instructions must be atomic.", &CXI); in visitAtomicCmpXchgInst()
3520 Assert(CXI.getSuccessOrdering() != AtomicOrdering::Unordered, in visitAtomicCmpXchgInst()
3521 "cmpxchg instructions cannot be unordered.", &CXI); in visitAtomicCmpXchgInst()
3522 Assert(CXI.getFailureOrdering() != AtomicOrdering::Unordered, in visitAtomicCmpXchgInst()
3523 "cmpxchg instructions cannot be unordered.", &CXI); in visitAtomicCmpXchgInst()
[all …]
DAsmWriter.cpp4076 } else if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(&I)) { in printInstruction() local
4077 writeAtomicCmpXchg(CXI->getContext(), CXI->getSuccessOrdering(), in printInstruction()
4078 CXI->getFailureOrdering(), CXI->getSyncScopeID()); in printInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp615 if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(L)) { in cmpOperations() local
616 if (int Res = cmpNumbers(CXI->isVolatile(), in cmpOperations()
619 if (int Res = cmpNumbers(CXI->isWeak(), in cmpOperations()
623 cmpOrderings(CXI->getSuccessOrdering(), in cmpOperations()
627 cmpOrderings(CXI->getFailureOrdering(), in cmpOperations()
630 return cmpNumbers(CXI->getSyncScopeID(), in cmpOperations()
DInlineFunction.cpp991 else if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(I)) in AddAliasScopeMetadata() local
992 PtrArgs.push_back(CXI->getPointerOperand()); in AddAliasScopeMetadata()
DSimplifyCFG.cpp4247 } else if (auto *CXI = dyn_cast<AtomicCmpXchgInst>(BBI)) { in SimplifyUnreachable() local
4248 if (CXI->isVolatile()) in SimplifyUnreachable()
/external/llvm/include/llvm/Analysis/
DMemoryLocation.h68 static MemoryLocation get(const AtomicCmpXchgInst *CXI);
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp1022 if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(L)) { in cmpOperations() local
1023 if (int Res = cmpNumbers(CXI->isVolatile(), in cmpOperations()
1026 if (int Res = cmpNumbers(CXI->isWeak(), in cmpOperations()
1030 cmpOrderings(CXI->getSuccessOrdering(), in cmpOperations()
1034 cmpOrderings(CXI->getFailureOrdering(), in cmpOperations()
1037 return cmpNumbers(CXI->getSynchScope(), in cmpOperations()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DMemoryLocation.h202 static MemoryLocation get(const AtomicCmpXchgInst *CXI);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DAttributor.h848 if (auto *CXI = dyn_cast<AtomicCmpXchgInst>(I)) {
849 if (!AllowVolatile && CXI->isVolatile())
851 return CXI->getPointerOperand();
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp904 else if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(I)) in AddAliasScopeMetadata() local
905 PtrArgs.push_back(CXI->getPointerOperand()); in AddAliasScopeMetadata()
DSimplifyCFG.cpp3741 } else if (auto *CXI = dyn_cast<AtomicCmpXchgInst>(BBI)) { in SimplifyUnreachable() local
3742 if (CXI->isVolatile()) in SimplifyUnreachable()
/external/llvm/lib/AsmParser/
DLLParser.cpp6136 AtomicCmpXchgInst *CXI = new AtomicCmpXchgInst( in ParseCmpXchg() local
6138 CXI->setVolatile(isVolatile); in ParseCmpXchg()
6139 CXI->setWeak(isWeak); in ParseCmpXchg()
6140 Inst = CXI; in ParseCmpXchg()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.cpp7087 AtomicCmpXchgInst *CXI = new AtomicCmpXchgInst( in ParseCmpXchg() local
7089 CXI->setVolatile(isVolatile); in ParseCmpXchg()
7090 CXI->setWeak(isWeak); in ParseCmpXchg()
7091 Inst = CXI; in ParseCmpXchg()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp1942 AtomicCmpXchgInst *CXI = Builder.CreateAtomicCmpXchg( in EmitBuiltinExpr() local
1948 CXI->setVolatile(true); in EmitBuiltinExpr()
1949 return RValue::get(Builder.CreateExtractValue(CXI, 0)); in EmitBuiltinExpr()
/external/kotlinx.coroutines/benchmarks/src/jmh/resources/
Dwords.shakespeare.txt.gz1a 2A 3Aaron 4AARON 5abaissiez 6abandon 7abandoned 8abase 9Abase 10 ...
/external/cldr/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/external/
D2013-1_UNLOCODE_CodeListPart2.csv11298 ,"IT","CXI","Cameri","Cameri",,"--3-----","RL","0201",,"4530N 00839E",
17616 ,"KI","CXI","Christmas Island","Christmas Island",,"---4----","AI","9506",,,

12