Home
last modified time | relevance | path

Searched refs:FenceInst (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerAtomicPass.cpp25 static bool LowerFenceInst(FenceInst *FI) { in LowerFenceInst()
43 if (FenceInst *FI = dyn_cast<FenceInst>(&Inst)) in runOnBasicBlock()
H A DLICM.cpp1113 isa<FenceInst>(I) || isa<CastInst>(I) || isa<UnaryOperator>(I) || in isHoistableAndSinkableInst()
1265 } else if (auto *FI = dyn_cast<FenceInst>(&I)) { in canSinkOrHoistInst()
H A DEarlyCSE.cpp1680 if (auto *FI = dyn_cast<FenceInst>(&Inst)) in processNode()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DMemoryModelRelaxationAnnotations.cpp169 isa<AtomicRMWInst>(I) || isa<FenceInst>(I) || isReadWriteMemCall(I); in canInstructionHaveMMRAs()
H A DInstruction.cpp828 if (const FenceInst *FI = dyn_cast<FenceInst>(I1)) in hasSameSpecialState()
829 return FI->getOrdering() == cast<FenceInst>(I2)->getOrdering() && in hasSameSpecialState()
830 FI->getSyncScopeID() == cast<FenceInst>(I2)->getSyncScopeID(); in hasSameSpecialState()
H A DCore.cpp4040 else if (FenceInst *FI = dyn_cast<FenceInst>(P)) in LLVMGetOrdering()
4053 else if (FenceInst *FI = dyn_cast<FenceInst>(P)) in LLVMSetOrdering()
4342 else if (FenceInst *FI = dyn_cast<FenceInst>(P)) in LLVMIsAtomicSingleThread()
4358 else if (FenceInst *FI = dyn_cast<FenceInst>(P)) in LLVMSetAtomicSingleThread()
H A DInstructions.cpp1445 FenceInst::FenceInst(LLVMContext &C, AtomicOrdering Ordering, in FenceInst() function in FenceInst
4254 FenceInst *FenceInst::cloneImpl() const { in cloneImpl()
4255 return new FenceInst(getContext(), getOrdering(), getSyncScopeID()); in cloneImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp734 if (const FenceInst *FI = dyn_cast<FenceInst>(L)) { in cmpOperations()
736 cmpOrderings(FI->getOrdering(), cast<FenceInst>(R)->getOrdering())) in cmpOperations()
739 cast<FenceInst>(R)->getSyncScopeID()); in cmpOperations()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUMemoryUtils.cpp287 if (isa<FenceInst>(DefInst)) in isReallyAClobber()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DAliasAnalysis.h62 class FenceInst; variable
595 ModRefInfo getModRefInfo(const FenceInst *S, const MemoryLocation &Loc,
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasAnalysis.cpp512 ModRefInfo AAResults::getModRefInfo(const FenceInst *S, in getModRefInfo()
622 return getModRefInfo((const FenceInst *)I, Loc, AAQIP); in getModRefInfo()
H A DMemoryDependenceAnalysis.cpp646 if (FenceInst *FI = dyn_cast<FenceInst>(Inst)) in getSimplePointerDependencyFrom()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h64 class FenceInst; variable
603 void visitFence(const FenceInst &I);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp792 } else if (FenceInst *FI = dyn_cast<FenceInst>(I)) { in instrumentAtomic()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstVisitor.h173 RetTy visitFenceInst(FenceInst &I) { DELEGATE(Instruction);} in visitFenceInst()
H A DInstruction.def175 HANDLE_MEMORY_INST(35, Fence , FenceInst )
H A DInstructions.h420 class FenceInst : public Instruction {
429 FenceInst *cloneImpl() const;
434 FenceInst(LLVMContext &C, AtomicOrdering Ordering,
4936 if (auto *AI = dyn_cast<FenceInst>(I))
H A DIRBuilder.h1839 FenceInst *CreateFence(AtomicOrdering Ordering,
1842 return Insert(new FenceInst(Context, Ordering, SSID), Name);
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp3953 MCInst ShlInst, FenceInst; in applyLVICFIMitigation() local
3964 FenceInst.setOpcode(X86::LFENCE); in applyLVICFIMitigation()
3966 Out.emitInstruction(FenceInst, getSTI()); in applyLVICFIMitigation()
4023 MCInst FenceInst; in applyLVILoadHardeningMitigation() local
4024 FenceInst.setOpcode(X86::LFENCE); in applyLVILoadHardeningMitigation()
4025 Out.emitInstruction(FenceInst, getSTI()); in applyLVILoadHardeningMitigation()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3628 Instruction *InstCombinerImpl::visitFenceInst(FenceInst &FI) { in visitFenceInst()
3629 auto *NFI = dyn_cast<FenceInst>(FI.getNextNonDebugInstruction()); in visitFenceInst()
3636 auto isIdenticalOrStrongerFence = [](FenceInst *FI1, FenceInst *FI2) { in visitFenceInst()
3649 if (auto *PFI = dyn_cast_or_null<FenceInst>(FI.getPrevNonDebugInstruction())) in visitFenceInst()
H A DInstCombineInternal.h167 Instruction *visitFenceInst(FenceInst &FI);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp2800 bool isNoOpFence(const FenceInst &FI) const override { in isNoOpFence()
2983 SmallPtrSet<const FenceInst *, 8> NonNoOpFences;
3152 if (auto *FI = dyn_cast<FenceInst>(&I)) { in updateImpl()
5584 if (auto *FI = dyn_cast<FenceInst>(&I)) { in registerAAsForFunction()
H A DFunctionAttrs.cpp1530 if (auto *FI = dyn_cast<FenceInst>(I)) in isOrderedAtomic()
H A DAttributorAttributes.cpp2134 if (auto *FI = dyn_cast<FenceInst>(I)) in isNonRelaxedAtomic()
4158 if (!isa_and_nonnull<StoreInst>(I) && !isa_and_nonnull<FenceInst>(I)) in initialize()
4165 bool isDeadFence(Attributor &A, FenceInst &FI) { in isDeadFence()
4227 if (isa_and_nonnull<FenceInst>(I)) in getAsStr()
4239 } else if (auto *FI = dyn_cast_or_null<FenceInst>(I)) { in updateImpl()
4277 if (auto *FI = dyn_cast<FenceInst>(I)) { in manifest()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp2505 Vals.push_back(getEncodedOrdering(cast<FenceInst>(I).getOrdering())); in writeInstruction()
2506 Vals.push_back(getEncodedSyncScopeID(cast<FenceInst>(I).getSyncScopeID())); in writeInstruction()

12