LLVM 20.0.0git
|
#include "llvm/Transforms/Scalar/LowerAtomicPass.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/IRBuilder.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 23 of file LowerAtomicPass.cpp.
INITIALIZE_PASS | ( | LowerAtomicLegacyPass | , |
"loweratomic" | , | ||
"Lower atomic intrinsics to non-atomic form" | , | ||
false | , | ||
false | |||
) |
Definition at line 96 of file LowerAtomicPass.cpp.
Definition at line 60 of file LowerAtomicPass.cpp.
References F, and runOnBasicBlock().
Referenced by llvm::LowerAtomicPass::run().
Definition at line 25 of file LowerAtomicPass.cpp.
References llvm::Instruction::eraseFromParent().
Referenced by runOnBasicBlock().
Definition at line 30 of file LowerAtomicPass.cpp.
References llvm::LoadInst::setAtomic().
Referenced by runOnBasicBlock().
Definition at line 35 of file LowerAtomicPass.cpp.
Referenced by runOnBasicBlock().
|
static |
Definition at line 40 of file LowerAtomicPass.cpp.
References llvm::lowerAtomicCmpXchgInst(), llvm::lowerAtomicRMWInst(), LowerFenceInst(), LowerLoadInst(), LowerStoreInst(), and llvm::make_early_inc_range().
Referenced by lowerAtomics().