/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LowerAtomicPass.cpp | 25 static bool LowerFenceInst(FenceInst *FI) { in LowerFenceInst() 43 if (FenceInst *FI = dyn_cast<FenceInst>(&Inst)) in runOnBasicBlock()
|
H A D | LICM.cpp | 1113 isa<FenceInst>(I) || isa<CastInst>(I) || isa<UnaryOperator>(I) || in isHoistableAndSinkableInst() 1265 } else if (auto *FI = dyn_cast<FenceInst>(&I)) { in canSinkOrHoistInst()
|
H A D | EarlyCSE.cpp | 1680 if (auto *FI = dyn_cast<FenceInst>(&Inst)) in processNode()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | MemoryModelRelaxationAnnotations.cpp | 169 isa<AtomicRMWInst>(I) || isa<FenceInst>(I) || isReadWriteMemCall(I); in canInstructionHaveMMRAs()
|
H A D | Instruction.cpp | 828 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 D | Core.cpp | 4040 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 D | Instructions.cpp | 1445 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 D | FunctionComparator.cpp | 734 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 D | AMDGPUMemoryUtils.cpp | 287 if (isa<FenceInst>(DefInst)) in isReallyAClobber()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | AliasAnalysis.h | 62 class FenceInst; variable 595 ModRefInfo getModRefInfo(const FenceInst *S, const MemoryLocation &Loc,
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | AliasAnalysis.cpp | 512 ModRefInfo AAResults::getModRefInfo(const FenceInst *S, in getModRefInfo() 622 return getModRefInfo((const FenceInst *)I, Loc, AAQIP); in getModRefInfo()
|
H A D | MemoryDependenceAnalysis.cpp | 646 if (FenceInst *FI = dyn_cast<FenceInst>(Inst)) in getSimplePointerDependencyFrom()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.h | 64 class FenceInst; variable 603 void visitFence(const FenceInst &I);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | ThreadSanitizer.cpp | 792 } else if (FenceInst *FI = dyn_cast<FenceInst>(I)) { in instrumentAtomic()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | InstVisitor.h | 173 RetTy visitFenceInst(FenceInst &I) { DELEGATE(Instruction);} in visitFenceInst()
|
H A D | Instruction.def | 175 HANDLE_MEMORY_INST(35, Fence , FenceInst )
|
H A D | Instructions.h | 420 class FenceInst : public Instruction { 429 FenceInst *cloneImpl() const; 434 FenceInst(LLVMContext &C, AtomicOrdering Ordering, 4936 if (auto *AI = dyn_cast<FenceInst>(I))
|
H A D | IRBuilder.h | 1839 FenceInst *CreateFence(AtomicOrdering Ordering, 1842 return Insert(new FenceInst(Context, Ordering, SSID), Name);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
H A D | X86AsmParser.cpp | 3953 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 D | InstCombineCalls.cpp | 3628 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 D | InstCombineInternal.h | 167 Instruction *visitFenceInst(FenceInst &FI);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | OpenMPOpt.cpp | 2800 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 D | FunctionAttrs.cpp | 1530 if (auto *FI = dyn_cast<FenceInst>(I)) in isOrderedAtomic()
|
H A D | AttributorAttributes.cpp | 2134 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 D | DXILBitcodeWriter.cpp | 2505 Vals.push_back(getEncodedOrdering(cast<FenceInst>(I).getOrdering())); in writeInstruction() 2506 Vals.push_back(getEncodedSyncScopeID(cast<FenceInst>(I).getSyncScopeID())); in writeInstruction()
|