LLVM 20.0.0git
|
#include "llvm/Transforms/Scalar/LowerAtomicPass.h"
#include "llvm/IR/Function.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/LowerAtomic.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "lower-atomic" |
Functions | |
static bool | LowerFenceInst (FenceInst *FI) |
static bool | LowerLoadInst (LoadInst *LI) |
static bool | LowerStoreInst (StoreInst *SI) |
static bool | runOnBasicBlock (BasicBlock &BB) |
static bool | lowerAtomics (Function &F) |
INITIALIZE_PASS (LowerAtomicLegacyPass, "loweratomic", "Lower atomic intrinsics to non-atomic form", false, false) Pass *llvm | |
#define DEBUG_TYPE "lower-atomic" |
Definition at line 22 of file LowerAtomicPass.cpp.
INITIALIZE_PASS | ( | LowerAtomicLegacyPass | , |
"loweratomic" | , | ||
"Lower atomic intrinsics to non-atomic form" | , | ||
false | , | ||
false | |||
) |
Definition at line 95 of file LowerAtomicPass.cpp.
Definition at line 59 of file LowerAtomicPass.cpp.
References F, and runOnBasicBlock().
Referenced by llvm::LowerAtomicPass::run().
Definition at line 24 of file LowerAtomicPass.cpp.
References llvm::Instruction::eraseFromParent().
Referenced by runOnBasicBlock().
Definition at line 29 of file LowerAtomicPass.cpp.
References llvm::LoadInst::setAtomic().
Referenced by runOnBasicBlock().
Definition at line 34 of file LowerAtomicPass.cpp.
Referenced by runOnBasicBlock().
|
static |
Definition at line 39 of file LowerAtomicPass.cpp.
References llvm::lowerAtomicCmpXchgInst(), llvm::lowerAtomicRMWInst(), LowerFenceInst(), LowerLoadInst(), LowerStoreInst(), and llvm::make_early_inc_range().
Referenced by lowerAtomics().