1 //===-- llvm/CodeGen/PseudoSourceValue.cpp ----------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file implements the PseudoSourceValue class.
12 //===----------------------------------------------------------------------===//
14 #include "llvm/CodeGen/PseudoSourceValue.h"
15 #include "llvm/DerivedTypes.h"
18 const PseudoSourceValue PseudoSourceValue::FPRel("FPRel");
19 const PseudoSourceValue PseudoSourceValue::SPRel("SPRel");
20 const PseudoSourceValue PseudoSourceValue::GPRel("GPRel");
21 const PseudoSourceValue PseudoSourceValue::TPRel("TPRel");
22 const PseudoSourceValue PseudoSourceValue::CPRel("CPRel");
23 const PseudoSourceValue PseudoSourceValue::JTRel("JTRel");
25 PseudoSourceValue::PseudoSourceValue(const char *_name) :
26 Value(PointerType::getUnqual(Type::Int8Ty), PseudoSourceValueVal),
30 void PseudoSourceValue::print(std::ostream &OS) const {