Home
last modified time | relevance | path

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

1234

/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLowerAtomicPass.cpp50 if (LI->isAtomic()) in runOnBasicBlock()
53 if (SI->isAtomic()) in runOnBasicBlock()
H A DEarlyCSE.cpp747 bool isAtomic() const { in isAtomic() function in __anon939f15580311::EarlyCSE::ParseMemoryInst
750 return Inst->isAtomic(); in isAtomic()
763 return !Inst->isAtomic(); in isUnordered()
1155 if (MemInst.isLoad() && !InVal.IsAtomic && MemInst.isAtomic()) in getMatchingValue()
1493 MemInst.isAtomic())); in processNode()
1617 MemInst.isAtomic())); in processNode()
H A DGVN.cpp1150 if (Address && Load->isAtomic() <= DepSI->isAtomic()) { in AnalyzeLoadAvailability()
1167 Load->isAtomic() <= DepLoad->isAtomic()) { in AnalyzeLoadAvailability()
1191 if (Address && !Load->isAtomic()) { in AnalyzeLoadAvailability()
1229 if (S->isAtomic() < Load->isAtomic()) in AnalyzeLoadAvailability()
1243 if (LD->isAtomic() < Load->isAtomic()) in AnalyzeLoadAvailability()
H A DLICM.cpp1172 if (LI->isAtomic() && !TargetExecutesOncePerLoop) in canSinkOrHoistInst()
2069 SawUnorderedAtomic |= Load->isAtomic(); in promoteLoopAccessesToScalars()
2070 SawNotAtomic |= !Load->isAtomic(); in promoteLoopAccessesToScalars()
2094 SawUnorderedAtomic |= Store->isAtomic(); in promoteLoopAccessesToScalars()
2095 SawNotAtomic |= !Store->isAtomic(); in promoteLoopAccessesToScalars()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DLoads.cpp439 return findAvailablePtrLoadStore(Loc, Load->getType(), Load->isAtomic(), in FindAvailableLoadedValue()
477 if (LI->isAtomic() < AtLeastAtomic) in getAvailableLoadStore()
497 if (SI->isAtomic() < AtLeastAtomic) in getAvailableLoadStore()
649 bool AtLeastAtomic = Load->isAtomic(); in FindAvailableLoadedValue()
/openbsd/gnu/llvm/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.cpp940 if (!isLoad() && !isStore() && !isAtomic()) { in getPredCode()
960 if (isLoad() + isStore() + isAtomic() > 1) in getPredCode()
979 if (!isAtomic()) { in getPredCode()
1004 if (isAtomic()) { in getPredCode()
1044 if (isLoad() || isStore() || isAtomic()) { in getPredCode()
1080 if (isAtomic() && isAtomicOrderingMonotonic()) in getPredCode()
1083 if (isAtomic() && isAtomicOrderingAcquire()) in getPredCode()
1086 if (isAtomic() && isAtomicOrderingRelease()) in getPredCode()
1089 if (isAtomic() && isAtomicOrderingAcquireRelease()) in getPredCode()
1096 if (isAtomic() && isAtomicOrderingAcquireOrStronger()) in getPredCode()
[all …]
H A DGlobalISelEmitter.cpp352 if (Predicate.isLoad() || Predicate.isStore() || Predicate.isAtomic()) { in isTrivialOperatorNode()
361 if (Predicate.isAtomic() && Predicate.getMemoryVT()) in isTrivialOperatorNode()
364 if (Predicate.isAtomic() && in isTrivialOperatorNode()
3796 (Predicate.isLoad() || Predicate.isAtomic()) && in getEquivNode()
3800 (Predicate.isLoad() || Predicate.isAtomic()) && in getEquivNode()
3842 if (Predicate.isLoad() || Predicate.isStore() || Predicate.isAtomic()) { in addBuiltinPredicates()
3917 if (Predicate.isLoad() || Predicate.isStore() || Predicate.isAtomic()) { in addBuiltinPredicates()
3935 if (Predicate.isAtomic()) { in addBuiltinPredicates()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DInstruction.cpp666 bool Instruction::isAtomic() const { in isAtomic() function in Instruction
682 assert(isAtomic()); in hasAtomicLoad()
694 assert(isAtomic()); in hasAtomicStore()
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp554 assert((!LI.isAtomic() || isSupportedAtomicType(NewTy)) && in combineLoadToNewType()
577 assert((!SI.isAtomic() || isSupportedAtomicType(V->getType())) && in combineStoreToNewValue()
701 (!Load.isAtomic() || isSupportedAtomicType(DestTy))) { in combineLoadToOperationType()
1222 if (!SI.isAtomic() || isSupportedAtomicType(V->getType())) { in combineStoreToValueType()
1229 if (!SI.isAtomic() || isSupportedAtomicType(U->getType())) { in combineStoreToValueType()
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h296 bool isAtomic() const { in isAtomic() function
H A DSelectionDAGNodes.h1344 bool isAtomic() const { return MMO->isAtomic(); }
1352 bool isSimple() const { return !isAtomic() && !isVolatile(); }
1450 MMO->isAtomic()) && "then why are we using an AtomicSDNode?");
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIMemoryLegalizer.cpp206 bool isAtomic() const { in isAtomic() function in __anon6318f0340111::SIMemOpInfo
2132 if (MOI.isAtomic()) { in expandLoad()
2177 if (MOI.isAtomic()) { in expandStore()
2211 if (MOI.isAtomic()) { in expandAtomicFence()
2252 if (MOI.isAtomic()) { in expandAtomicCmpxchgOrRmw()
H A DSIFormMemoryClauses.cpp113 if (SIInstrInfo::isAtomic(MI)) in isValidClauseInst()
H A DSIInstrInfo.h587 static bool isAtomic(const MachineInstr &MI) { in isAtomic() function
592 bool isAtomic(uint16_t Opcode) const { in isAtomic() function
/openbsd/gnu/llvm/llvm/lib/Target/Lanai/
H A DLanaiMemAluCombiner.cpp162 if (MemOperand->isVolatile() || MemOperand->isAtomic()) in isNonVolatileMemoryOp()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypesGeneric.cpp253 assert(!LD->isAtomic() && "Atomics can not be split"); in ExpandRes_NormalLoad()
462 assert(!St->isAtomic() && "Atomics can not be split"); in ExpandOp_NormalStore()
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DMemoryOpRemark.cpp170 bool Atomic = SI.isAtomic(); in visitStore()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaConcept.cpp1107 if (!N.isAtomic()) { in substituteParameterMappings()
1251 if (Normalized.isAtomic()) in makeCNF()
1280 if (Normalized.isAtomic()) in makeDNF()
/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetMachine.cpp262 if (I.isAtomic()) { in stripAtomics()
/openbsd/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp94 if (I->isAtomic()) in isSourceOfDivergence()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGObjC.cpp819 bool isAtomic, bool hasStrong) { in emitStructGetterCall() argument
839 args.add(RValue::get(CGF.Builder.getInt1(isAtomic)), Context.BoolTy); in emitStructGetterCall()
895 bool isAtomic() const { return IsAtomic; } in isAtomic() function in __anon9ec9bd330211::PropertyImplStrategy
922 IsAtomic = prop->isAtomic(); in PropertyImplStrategy()
1236 args.add(RValue::get(Builder.getInt1(strategy.isAtomic())), in generateObjCGetterBody()
1264 emitStructGetterCall(*this, ivar, strategy.isAtomic(), in generateObjCGetterBody()
1514 strategy.isAtomic(), strategy.isCopy()); in generateObjCSetterBody()
1551 args.add(RValue::get(Builder.getInt1(strategy.isAtomic())), in generateObjCSetterBody()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DInstruction.h628 bool isAtomic() const LLVM_READONLY;
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp215 return {LS->isVolatile(), LS->isAtomic(), BaseReg, in instMayAlias()

1234