Home
last modified time | relevance | path

Searched refs:isAtomic (Results 1 – 25 of 81) sorted by relevance

1234

/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSemaConcept.h100 if (Other.isAtomic()) { in NormalizedConstraint()
124 assert(!isAtomic() && "getCompoundKind called on atomic constraint."); in getCompoundKind()
128 bool isAtomic() const { return Constraint.is<AtomicConstraint *>(); } in isAtomic() function
131 assert(!isAtomic() && "getLHS called on atomic constraint."); in getLHS()
136 assert(!isAtomic() && "getRHS called on atomic constraint."); in getRHS()
141 assert(isAtomic() && in getAtomicConstraint()
/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DMemTransferLowering.cpp210 EXPECT_TRUE(LoadInst->isAtomic()); in TEST_F()
214 EXPECT_TRUE(StoreInst->isAtomic()); in TEST_F()
255 EXPECT_TRUE(LoadInst->isAtomic()); in TEST_F()
259 EXPECT_TRUE(StoreInst->isAtomic()); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLowerAtomicPass.cpp50 if (LI->isAtomic()) in runOnBasicBlock()
53 if (SI->isAtomic()) in runOnBasicBlock()
H A DEarlyCSE.cpp723 bool isAtomic() const { in isAtomic() function in __anon5cb5eb3b0311::EarlyCSE::ParseMemoryInst
726 return Inst->isAtomic(); in isAtomic()
739 return !Inst->isAtomic(); in isUnordered()
1128 if (MemInst.isLoad() && !InVal.IsAtomic && MemInst.isAtomic()) in getMatchingValue()
1459 MemInst.isAtomic())); in processNode()
1583 MemInst.isAtomic())); in processNode()
H A DGVN.cpp1163 if (Address && Load->isAtomic() <= DepSI->isAtomic()) { in AnalyzeLoadAvailability()
1182 Load->isAtomic() <= DepLoad->isAtomic()) { in AnalyzeLoadAvailability()
1206 if (Address && !Load->isAtomic()) { in AnalyzeLoadAvailability()
1250 if (S->isAtomic() < Load->isAtomic()) in AnalyzeLoadAvailability()
1265 if (LD->isAtomic() < Load->isAtomic()) in AnalyzeLoadAvailability()
H A DLICM.cpp1159 if (LI->isAtomic() && !TargetExecutesOncePerLoop) in canSinkOrHoistInst()
2008 SawUnorderedAtomic |= Load->isAtomic(); in promoteLoopAccessesToScalars()
2009 SawNotAtomic |= !Load->isAtomic(); in promoteLoopAccessesToScalars()
2033 SawUnorderedAtomic |= Store->isAtomic(); in promoteLoopAccessesToScalars()
2034 SawNotAtomic |= !Store->isAtomic(); in promoteLoopAccessesToScalars()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DGenericMachineInstrs.h50 bool isAtomic() const { return getMMO().isAtomic(); } in isAtomic() function
54 bool isSimple() const { return !isAtomic() && !isVolatile(); } in isSimple()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinaryData.h96 bool isAtomic() const { return isTopLevelJumpTable() || !Parent; } in isAtomic() function
158 while (!BD->isAtomic() && BD->Parent) in getAtomicRoot()
165 while (!BD->isAtomic() && BD->Parent) in getAtomicRoot()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLoads.cpp438 return findAvailablePtrLoadStore(Loc, Load->getType(), Load->isAtomic(), in FindAvailableLoadedValue()
476 if (LI->isAtomic() < AtLeastAtomic) in getAvailableLoadStore()
496 if (SI->isAtomic() < AtLeastAtomic) in getAvailableLoadStore()
611 bool AtLeastAtomic = Load->isAtomic(); in FindAvailableLoadedValue()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.cpp942 if (!isLoad() && !isStore() && !isAtomic()) { in getPredCode()
962 if (isLoad() + isStore() + isAtomic() > 1) in getPredCode()
981 if (!isAtomic()) { in getPredCode()
1006 if (isAtomic()) { in getPredCode()
1046 if (isLoad() || isStore() || isAtomic()) { in getPredCode()
1082 if (isAtomic() && isAtomicOrderingMonotonic()) in getPredCode()
1085 if (isAtomic() && isAtomicOrderingAcquire()) in getPredCode()
1088 if (isAtomic() && isAtomicOrderingRelease()) in getPredCode()
1091 if (isAtomic() && isAtomicOrderingAcquireRelease()) in getPredCode()
1098 if (isAtomic() && isAtomicOrderingAcquireOrStronger()) in getPredCode()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp462 assert((!LI.isAtomic() || isSupportedAtomicType(NewTy)) && in combineLoadToNewType()
485 assert((!SI.isAtomic() || isSupportedAtomicType(V->getType())) && in combineStoreToNewValue()
609 if (!LI.isAtomic() || isSupportedAtomicType(CI->getDestTy())) { in combineLoadToOperationType()
1126 if (!SI.isAtomic() || isSupportedAtomicType(V->getType())) { in combineStoreToValueType()
1133 if (!SI.isAtomic() || isSupportedAtomicType(U->getType())) { in combineStoreToValueType()
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstruction.cpp616 bool Instruction::isAtomic() const { in isAtomic() function in Instruction
632 assert(isAtomic()); in hasAtomicLoad()
644 assert(isAtomic()); in hasAtomicStore()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DReorderData.cpp105 if (!BD->isAtomic() || BD->isJumpTable() || !BD->isMoveable()) in filterSymbol()
168 if (!BD->isAtomic()) // skip sub-symbols in baseOrder()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIMemoryLegalizer.cpp206 bool isAtomic() const { in isAtomic() function in __anon363febf70111::SIMemOpInfo
2143 if (MOI.isAtomic()) { in expandLoad()
2188 if (MOI.isAtomic()) { in expandStore()
2222 if (MOI.isAtomic()) { in expandAtomicFence()
2263 if (MOI.isAtomic()) { in expandAtomicCmpxchgOrRmw()
H A DSIFormMemoryClauses.cpp113 if (SIInstrInfo::isAtomic(MI)) in isValidClauseInst()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h296 bool isAtomic() const { in isAtomic() function
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaConcept.cpp727 if (!N.isAtomic()) { in substituteParameterMappings()
856 if (Normalized.isAtomic()) in makeCNF()
885 if (Normalized.isAtomic()) in makeDNF()
/llvm-project-15.0.7/llvm/lib/Target/Lanai/
H A DLanaiMemAluCombiner.cpp162 if (MemOperand->isVolatile() || MemOperand->isAtomic()) in isNonVolatileMemoryOp()
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinarySection.cpp238 assert(BD->isAtomic() && BD->isMoveable()); in reorderContents()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DMemoryOpRemark.cpp168 bool Atomic = SI.isAtomic(); in visitStore()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypesGeneric.cpp255 assert(!LD->isAtomic() && "Atomics can not be split"); in ExpandRes_NormalLoad()
465 assert(!St->isAtomic() && "Atomics can not be split"); in ExpandOp_NormalStore()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetMachine.cpp258 if (I.isAtomic()) { in stripAtomics()
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp93 if (I->isAtomic()) in isSourceOfDivergence()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGObjC.cpp817 bool isAtomic, bool hasStrong) { in emitStructGetterCall() argument
837 args.add(RValue::get(CGF.Builder.getInt1(isAtomic)), Context.BoolTy); in emitStructGetterCall()
893 bool isAtomic() const { return IsAtomic; } in isAtomic() function in __anona2ef92f60211::PropertyImplStrategy
920 IsAtomic = prop->isAtomic(); in PropertyImplStrategy()
1201 args.add(RValue::get(Builder.getInt1(strategy.isAtomic())), in generateObjCGetterBody()
1229 emitStructGetterCall(*this, ivar, strategy.isAtomic(), in generateObjCGetterBody()
1461 strategy.isAtomic(), strategy.isCopy()); in generateObjCSetterBody()
1499 args.add(RValue::get(Builder.getInt1(strategy.isAtomic())), in generateObjCSetterBody()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstruction.h590 bool isAtomic() const;

1234