Searched refs:SP32 (Results 1 – 7 of 7) sorted by relevance
/external/llvm/unittests/Support/ |
D | ScaledNumberTest.cpp | 39 typedef ScaledPair<uint32_t> SP32; typedef 43 EXPECT_EQ(getRounded32(0, 0, false), SP32(0, 0)); in TEST() 44 EXPECT_EQ(getRounded32(0, 0, true), SP32(1, 0)); in TEST() 45 EXPECT_EQ(getRounded32(20, 21, true), SP32(21, 21)); in TEST() 46 EXPECT_EQ(getRounded32(UINT32_MAX, 0, false), SP32(UINT32_MAX, 0)); in TEST() 47 EXPECT_EQ(getRounded32(UINT32_MAX, 0, true), SP32(1 << 31, 1)); in TEST() 60 EXPECT_EQ(getAdjusted32(0), SP32(0, 0)); in TEST() 61 EXPECT_EQ(getAdjusted32(0, 5), SP32(0, 5)); in TEST() 62 EXPECT_EQ(getAdjusted32(UINT32_MAX), SP32(UINT32_MAX, 0)); in TEST() 63 EXPECT_EQ(getAdjusted32(Max32In64 << 1), SP32(UINT32_MAX, 1)); in TEST() [all …]
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyRegisterInfo.cpp | 48 for (auto Reg : {WebAssembly::SP32, WebAssembly::SP64, WebAssembly::FP32, in getReservedRegs() 76 .ChangeToRegister(WebAssembly::SP32, /*IsDef=*/false); in eliminateFrameIndex() 97 .ChangeToRegister(WebAssembly::SP32, /*IsDef=*/false); in eliminateFrameIndex() 107 unsigned FIRegOperand = WebAssembly::SP32; in eliminateFrameIndex() 119 .addReg(WebAssembly::SP32) in eliminateFrameIndex() 129 /* !hasFP */ {WebAssembly::SP32, WebAssembly::SP64}, in getFrameRegister()
|
D | WebAssemblyFrameLowering.cpp | 117 writeSPToMemory(WebAssembly::SP32, MF, MBB, I, I, DL); in eliminateCallFramePseudoInstr() 151 StackSize ? SPReg : (unsigned)WebAssembly::SP32) in emitPrologue() 163 WebAssembly::SP32) in emitPrologue() 173 .addReg(WebAssembly::SP32); in emitPrologue() 176 writeSPToMemory(WebAssembly::SP32, MF, MBB, InsertPt, InsertPt, DL); in emitPrologue() 208 .addReg(hasFP(MF) ? WebAssembly::FP32 : WebAssembly::SP32) in emitEpilogue() 211 SPReg = hasFP(MF) ? WebAssembly::FP32 : WebAssembly::SP32; in emitEpilogue()
|
D | WebAssemblyInstrCall.td | 21 let Uses = [SP32, SP64], Defs = [SP32, SP64], isCodeGenOnly = 1 in { 36 let Uses = [SP32, SP64], isCall = 1 in { 48 } // Uses = [SP32,SP64], isCall = 1
|
D | WebAssemblyRegisterInfo.td | 33 def SP32 : WebAssemblyReg<"%SP32">; 55 def I32 : WebAssemblyRegClass<[i32], 32, (add FP32, SP32)>;
|
D | WebAssemblyISelLowering.cpp | 51 Subtarget->hasAddr64() ? WebAssembly::SP64 : WebAssembly::SP32); in WebAssemblyTargetLowering()
|
/external/llvm/lib/Target/Mips/ |
D | MipsRegisterInfo.td | 458 def SP32 : RegisterClass<"Mips", [i32], 32, (add SP)>, Unallocatable;
|