2222using namespace llvm ;
2323
2424RISCVConstantPoolValue::RISCVConstantPoolValue (LLVMContext &C,
25- RISCVCP:: RISCVCPKind Kind)
25+ RISCVCPKind Kind)
2626 : MachineConstantPoolValue((Type *)Type::getInt64Ty(C)), Kind(Kind) {}
2727
2828RISCVConstantPoolValue::RISCVConstantPoolValue (Type *Ty,
29- RISCVCP:: RISCVCPKind Kind)
29+ RISCVCPKind Kind)
3030 : MachineConstantPoolValue(Ty), Kind(Kind) {}
3131
3232int RISCVConstantPoolValue::getExistingMachineCPValue (MachineConstantPool *CP,
@@ -36,18 +36,18 @@ int RISCVConstantPoolValue::getExistingMachineCPValue(MachineConstantPool *CP,
3636
3737RISCVConstantPoolConstant::RISCVConstantPoolConstant (Type *Ty,
3838 const Constant *GV,
39- RISCVCP:: RISCVCPKind Kind)
39+ RISCVCPKind Kind)
4040 : RISCVConstantPoolValue(Ty, Kind), CVal(GV) {}
4141
4242RISCVConstantPoolConstant *
4343RISCVConstantPoolConstant::Create (const GlobalValue *GV) {
44- return new RISCVConstantPoolConstant (GV->getType (), GV, RISCVCP ::GlobalValue);
44+ return new RISCVConstantPoolConstant (GV->getType (), GV, RISCVCPKind ::GlobalValue);
4545}
4646
4747RISCVConstantPoolConstant *
4848RISCVConstantPoolConstant::Create (const BlockAddress *BA) {
4949 return new RISCVConstantPoolConstant (BA->getType (), BA,
50- RISCVCP ::BlockAddress);
50+ RISCVCPKind ::BlockAddress);
5151}
5252
5353int RISCVConstantPoolConstant::getExistingMachineCPValue (
@@ -73,7 +73,7 @@ const BlockAddress *RISCVConstantPoolConstant::getBlockAddress() const {
7373}
7474
7575RISCVConstantPoolSymbol::RISCVConstantPoolSymbol (LLVMContext &C, StringRef s)
76- : RISCVConstantPoolValue(C, RISCVCP ::ExtSymbol), S(s) {}
76+ : RISCVConstantPoolValue(C, RISCVCPKind ::ExtSymbol), S(s) {}
7777
7878RISCVConstantPoolSymbol *RISCVConstantPoolSymbol::Create (LLVMContext &C,
7979 StringRef s) {
0 commit comments