LLVM API Documentation
#include "llvm/CodeGen/LiveInterval.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Target/MRegisterInfo.h"
#include <algorithm>
#include <iostream>
#include <map>
Include dependency graph for LiveInterval.cpp:
Go to the source code of this file.
Functions | |
static bool | NontrivialOverlap (const LiveRange &I, const LiveRange &J, unsigned iIdx, unsigned jIdx) |
std::ostream & | llvm::operator<< (std::ostream &os, const LiveRange &LR) |
static bool NontrivialOverlap | ( | const LiveRange & | I, | |
const LiveRange & | J, | |||
unsigned | iIdx, | |||
unsigned | jIdx | |||
) | [inline, static] |
NontrivialOverlap - Check to see if the two live ranges specified by i and j overlap. If so, check to see if they have value numbers that are not iIdx/jIdx respectively. If both conditions are true, return true.
Definition at line 107 of file LiveInterval.cpp.
References llvm::LiveRange::end, llvm::LiveRange::start, and llvm::LiveRange::ValId.
Referenced by llvm::LiveInterval::getOverlapingRanges(), and llvm::LiveInterval::joinable().