Searched refs:SP32 (Results 1 - 5 of 5) sorted by relevance

/external/llvm/unittests/Support/
H A DScaledNumberTest.cpp39 typedef ScaledPair<uint32_t> SP32; typedef in namespace:__anon12814
43 EXPECT_EQ(getRounded32(0, 0, false), SP32(0, 0));
44 EXPECT_EQ(getRounded32(0, 0, true), SP32(1, 0));
45 EXPECT_EQ(getRounded32(20, 21, true), SP32(21, 21));
46 EXPECT_EQ(getRounded32(UINT32_MAX, 0, false), SP32(UINT32_MAX, 0));
47 EXPECT_EQ(getRounded32(UINT32_MAX, 0, true), SP32(1 << 31, 1));
60 EXPECT_EQ(getAdjusted32(0), SP32(0, 0));
61 EXPECT_EQ(getAdjusted32(0, 5), SP32(0, 5));
62 EXPECT_EQ(getAdjusted32(UINT32_MAX), SP32(UINT32_MAX, 0));
63 EXPECT_EQ(getAdjusted32(Max32In64 << 1), SP32(UINT32_MA
[all...]
/external/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegisterInfo.cpp48 for (auto Reg : {WebAssembly::SP32, WebAssembly::SP64, WebAssembly::FP32,
72 MI.getOperand(2).ChangeToRegister(WebAssembly::SP32, /*IsDef=*/false);
82 .addReg(WebAssembly::SP32)
92 /* !hasFP */ {WebAssembly::SP32, WebAssembly::SP64},
H A DWebAssemblyFrameLowering.cpp94 WebAssembly::SP32)
97 // The SP32 register now has the new stacktop. Also write it back to memory.
102 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::STORE_I32), WebAssembly::SP32)
105 .addReg(WebAssembly::SP32)
158 // Restore the stack pointer. Without FP its value is just SP32 - stacksize
162 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::ADD_I32), WebAssembly::SP32)
163 .addReg(WebAssembly::SP32)
170 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::STORE_I32), WebAssembly::SP32)
173 .addReg(WebAssembly::SP32)
H A DWebAssemblyRegNumbering.cpp105 MFI.addPReg(WebAssembly::SP32, CurReg++);
H A DWebAssemblyISelLowering.cpp107 Subtarget->hasAddr64() ? WebAssembly::SP64 : WebAssembly::SP32);

Completed in 76 milliseconds