LLVM  6.0.0svn
Macros | Functions
FunctionLoweringInfo.cpp File Reference
#include "llvm/CodeGen/FunctionLoweringInfo.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/CodeGen/WinEHFuncInfo.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/Support/raw_ostream.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.

Macros

#define DEBUG_TYPE   "function-lowering-info"
 

Functions

static bool isUsedOutsideOfDefiningBlock (const Instruction *I)
 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. More...
 
static ISD::NodeType getPreferredExtendForValue (const Value *V)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "function-lowering-info"

Definition at line 44 of file FunctionLoweringInfo.cpp.

Function Documentation

◆ getPreferredExtendForValue()

static ISD::NodeType getPreferredExtendForValue ( const Value V)
static

◆ isUsedOutsideOfDefiningBlock()

static bool isUsedOutsideOfDefiningBlock ( const Instruction I)
static

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 49 of file FunctionLoweringInfo.cpp.

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

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