summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/AsmParser
diff options
context:
space:
mode:
authorJack Carter <jack.carter@imgtec.com>2013-10-04 22:54:05 +0000
committerJack Carter <jack.carter@imgtec.com>2013-10-04 22:54:05 +0000
commit596654bd100b64cc20ef7476f5f95899bd7afdec (patch)
tree3ab63b790c77237bfb31760de4d551f6fc0b8c8e /lib/Target/Mips/AsmParser
parent6d389f5ebae9aa08309c5795234cf155054b6b39 (diff)
downloadllvm-596654bd100b64cc20ef7476f5f95899bd7afdec.tar.gz
llvm-596654bd100b64cc20ef7476f5f95899bd7afdec.tar.bz2
llvm-596654bd100b64cc20ef7476f5f95899bd7afdec.tar.xz
forgot to remove this file as well
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191993 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/AsmParser')
-rw-r--r--lib/Target/Mips/AsmParser/MipsAsmFlags.h53
1 files changed, 0 insertions, 53 deletions
diff --git a/lib/Target/Mips/AsmParser/MipsAsmFlags.h b/lib/Target/Mips/AsmParser/MipsAsmFlags.h
deleted file mode 100644
index bf141db632..0000000000
--- a/lib/Target/Mips/AsmParser/MipsAsmFlags.h
+++ /dev/null
@@ -1,53 +0,0 @@
-//=== MipsMCAsmFlags.h - MipsMCAsmFlags --------------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENCE.TXT for details.
-//
-//===-------------------------------------------------------------------===//
-#ifndef MIPSMCASMFLAGS_H_
-#define MIPSMCASMFLAGS_H_
-
-namespace llvm {
-class MipsMCAsmFlags;
-
-// We have the flags apart from the ELF defines because state will determine
-// the final values put into the ELF flag bits.
-//
-// Currently we have only Relocation Model, but will soon follow with ABI,
-// Architecture, and ASE.
-class MipsMCAsmFlags {
-public:
- // These act as bit flags because more that one can be
- // active at the same time, sometimes ;-)
- enum MAFRelocationModelTy {
- MAF_RM_DEFAULT = 0,
- MAF_RM_STATIC = 1,
- MAF_RM_CPIC = 2,
- MAF_RM_PIC = 4
- } MAFRelocationModel;
-
-public:
- MipsMCAsmFlags() : Model(MAF_RM_DEFAULT) {}
-
- ~MipsMCAsmFlags() {}
-
- // Setting a bit we can later translate to the ELF header flags.
- void setRelocationModel(unsigned RM) { (Model |= RM); }
-
- bool isModelCpic() const { return (Model & MAF_RM_CPIC) == MAF_RM_CPIC; }
- bool isModelPic() const { return (Model & MAF_RM_PIC) == MAF_RM_PIC; }
- bool isModelStatic() const {
- return (Model & MAF_RM_STATIC) == MAF_RM_STATIC;
- }
- bool isModelDefault() const {
- return (Model & MAF_RM_DEFAULT) == MAF_RM_DEFAULT;
- }
-
-private:
- unsigned Model; // pic, cpic, etc.
-};
-}
-
-#endif /* MIPSMCASMFLAGS_H_ */