mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
- Eliminate the last traces of the 'analysis' namespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3550 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -10,11 +10,6 @@
|
||||
#include "llvm/Analysis/Expressions.h"
|
||||
#include "llvm/ConstantHandling.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/Instruction.h"
|
||||
#include <iostream>
|
||||
|
||||
using namespace analysis;
|
||||
|
||||
ExprType::ExprType(Value *Val) {
|
||||
if (Val)
|
||||
@ -233,7 +228,7 @@ static inline ExprType negate(const ExprType &E, Value *V) {
|
||||
// Note that this analysis cannot get into infinite loops because it treats PHI
|
||||
// nodes as being an unknown linear expression.
|
||||
//
|
||||
ExprType analysis::ClassifyExpression(Value *Expr) {
|
||||
ExprType ClassifyExpression(Value *Expr) {
|
||||
assert(Expr != 0 && "Can't classify a null expression!");
|
||||
if (Expr->getType() == Type::FloatTy || Expr->getType() == Type::DoubleTy)
|
||||
return Expr; // FIXME: Can't handle FP expressions
|
||||
|
Reference in New Issue
Block a user