LLVM API Documentation

Defines | Functions
FunctionLoweringInfo.cpp File Reference
#include "llvm/CodeGen/FunctionLoweringInfo.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/CodeGen/Analysis.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Target/TargetFrameLowering.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetLowering.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Target/TargetSubtargetInfo.h"
#include <algorithm>
Include dependency graph for FunctionLoweringInfo.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "function-lowering-info"

Functions

static bool isUsedOutsideOfDefiningBlock (const Instruction *I)

Define Documentation

#define DEBUG_TYPE   "function-lowering-info"

Definition at line 43 of file FunctionLoweringInfo.cpp.


Function Documentation

isUsedOutsideOfDefiningBlock - Return true if this instruction is used by PHI nodes or outside of the basic block that defines it, or used by a switch or atomic instruction, which may expand to multiple basic blocks.

Definition at line 48 of file FunctionLoweringInfo.cpp.

References llvm::Instruction::getParent(), llvm::Value::use_empty(), and llvm::Value::users().

Referenced by llvm::FunctionLoweringInfo::set().