Home
last modified time | relevance | path

Searched refs:mri (Results 1 – 25 of 60) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-ar/
Dmri-delete.test4 RUN: echo "create %t.ar" > %t.mri
5 RUN: echo "addmod %t.o" >> %t.mri
6 RUN: echo "addmod %S/Inputs/elf.yaml" >> %t.mri
7 RUN: echo "delete %t.o" >> %t.mri
8 RUN: echo "save" >> %t.mri
9 RUN: echo "end" >> %t.mri
11 RUN: llvm-ar -M < %t.mri
14 CHECK-NOT: mri-delete.test{{.*}}.o
/external/llvm/test/Object/
Dmri-addmod.test1 ; RUN: echo create %t.a > %t.mri
2 ; RUN: echo "addmod \"%p/Inputs/trivial-object-test.elf-x86-64\" " >> %t.mri
3 ; RUN: echo save >> %t.mri
4 ; RUN: echo end >> %t.mri
6 ; RUN: llvm-ar -M < %t.mri
18 ; RUN: echo create %t.a > %t2.mri
19 ; RUN: echo addmod %p/Inputs/trivial-object-test2.elf-x86-64 >> %t2.mri
20 ; RUN: echo save >> %t2.mri
21 ; RUN: echo end >> %t2.mri
23 ; RUN: llvm-ar -M < %t2.mri
Dmri-addlib.test1 ; RUN: echo create %t.a > %t.mri
2 ; RUN: echo addlib %p/Inputs/GNU.a >> %t.mri
3 ; RUN: echo addlib %p/Inputs/archive-test.a-gnu-minimal >> %t.mri
4 ; RUN: echo save >> %t.mri
5 ; RUN: echo end >> %t.mri
7 ; RUN: llvm-ar -M < %t.mri
Dmri2.test1 ; RUN: echo create %t.a > %t.mri
2 ; RUN: echo create %t.a >> %t.mri
3 ; RUN: echo save >> %t.mri
4 ; RUN: echo end >> %t.mri
6 ; RUN: not llvm-ar -M < %t.mri 2>&1 | FileCheck %s
Dpr25877.test1 ; RUN: echo create %t.a > %t.mri
2 ; RUN: echo addlib %p/Inputs/pr25877.lib >> %t.mri
3 ; RUN: echo save >> %t.mri
4 ; RUN: echo end >> %t.mri
6 ; RUN: llvm-ar -M < %t.mri
Dmri1.test1 ; RUN: echo create %t.a > %t.mri
2 ; RUN: echo save >> %t.mri
3 ; RUN: echo end >> %t.mri
5 ; RUN: llvm-ar -M < %t.mri
Dmri3.test1 ; RUN: echo save > %t.mri
2 ; RUN: echo create %t.a >> %t.mri
3 ; RUN: echo end >> %t.mri
5 ; RUN: not llvm-ar -M < %t.mri 2>&1 | FileCheck %s
/external/swiftshader/third_party/llvm-7.0/llvm/test/Object/
Dmri-addmod.test1 ; RUN: echo create %t.a > %t.mri
2 ; RUN: echo "addmod \"%p/Inputs/trivial-object-test.elf-x86-64\" " >> %t.mri
3 ; RUN: echo save >> %t.mri
4 ; RUN: echo end >> %t.mri
6 ; RUN: llvm-ar -M < %t.mri
18 ; RUN: echo create %t.a > %t2.mri
19 ; RUN: echo addmod %p/Inputs/trivial-object-test2.elf-x86-64 >> %t2.mri
20 ; RUN: echo save >> %t2.mri
21 ; RUN: echo end >> %t2.mri
23 ; RUN: llvm-ar -M < %t2.mri
Dmri-addlib.test1 ; RUN: echo create %t.a > %t.mri
2 ; RUN: echo addlib %p/Inputs/GNU.a >> %t.mri
3 ; RUN: echo addlib %p/Inputs/archive-test.a-gnu-minimal >> %t.mri
4 ; RUN: echo save >> %t.mri
5 ; RUN: echo end >> %t.mri
7 ; RUN: llvm-ar -M < %t.mri
Dmri2.test1 ; RUN: echo create %t.a > %t.mri
2 ; RUN: echo create %t.a >> %t.mri
3 ; RUN: echo save >> %t.mri
4 ; RUN: echo end >> %t.mri
6 ; RUN: not llvm-ar -M < %t.mri 2>&1 | FileCheck %s
Dpr25877.test1 ; RUN: echo create %t.a > %t.mri
2 ; RUN: echo addlib %p/Inputs/pr25877.lib >> %t.mri
3 ; RUN: echo save >> %t.mri
4 ; RUN: echo end >> %t.mri
6 ; RUN: llvm-ar -M < %t.mri
Dmri1.test1 ; RUN: echo create %t.a > %t.mri
2 ; RUN: echo save >> %t.mri
3 ; RUN: echo end >> %t.mri
5 ; RUN: llvm-ar -M < %t.mri
Dmri3.test1 ; RUN: echo save > %t.mri
2 ; RUN: echo create %t.a >> %t.mri
3 ; RUN: echo end >> %t.mri
5 ; RUN: not llvm-ar -M < %t.mri 2>&1 | FileCheck %s
/external/capstone/arch/XCore/
DXCoreModule.c14 MCRegisterInfo *mri; in init() local
16 mri = cs_mem_malloc(sizeof(*mri)); in init()
18 XCore_init(mri); in init()
20 ud->printer_info = mri; in init()
21 ud->getinsn_info = mri; in init()
/external/capstone/arch/SystemZ/
DSystemZModule.c14 MCRegisterInfo *mri; in init() local
16 mri = cs_mem_malloc(sizeof(*mri)); in init()
18 SystemZ_init(mri); in init()
20 ud->printer_info = mri; in init()
21 ud->getinsn_info = mri; in init()
/external/capstone/arch/AArch64/
DAArch64Module.c14 MCRegisterInfo *mri; in init() local
20 mri = cs_mem_malloc(sizeof(*mri)); in init()
22 AArch64_init(mri); in init()
24 ud->printer_info = mri; in init()
25 ud->getinsn_info = mri; in init()
/external/capstone/arch/Sparc/
DSparcModule.c14 MCRegisterInfo *mri; in init() local
20 mri = cs_mem_malloc(sizeof(*mri)); in init()
22 Sparc_init(mri); in init()
24 ud->printer_info = mri; in init()
25 ud->getinsn_info = mri; in init()
/external/capstone/arch/PowerPC/
DPPCModule.c14 MCRegisterInfo *mri; in init() local
21 mri = (MCRegisterInfo *) cs_mem_malloc(sizeof(*mri)); in init()
23 PPC_init(mri); in init()
25 ud->printer_info = mri; in init()
26 ud->getinsn_info = mri; in init()
/external/capstone/arch/Mips/
DMipsModule.c14 MCRegisterInfo *mri; in init() local
22 mri = cs_mem_malloc(sizeof(*mri)); in init()
24 Mips_init(mri); in init()
26 ud->printer_info = mri; in init()
27 ud->getinsn_info = mri; in init()
/external/llvm/lib/CodeGen/
DCalcSpillWeights.cpp48 const MachineRegisterInfo &mri) { in copyHint() argument
66 const TargetRegisterClass *rc = mri.getRegClass(reg); in copyHint()
132 MachineRegisterInfo &mri = MF.getRegInfo(); in calculateSpillWeightAndHint() local
146 bool noHint = mri.getRegAllocationHint(li.reg).first != 0; in calculateSpillWeightAndHint()
152 I = mri.reg_instr_begin(li.reg), E = mri.reg_instr_end(); in calculateSpillWeightAndHint()
185 unsigned hint = copyHint(mi, li.reg, tri, mri); in calculateSpillWeightAndHint()
194 if (hweight > bestPhys && mri.isAllocatable(hint)) { in calculateSpillWeightAndHint()
210 mri.setRegAllocationHint(li.reg, 0, hint); in calculateSpillWeightAndHint()
/external/capstone/arch/ARM/
DARMModule.c14 MCRegisterInfo *mri; in init() local
21 mri = cs_mem_malloc(sizeof(*mri)); in init()
23 ARM_init(mri); in init()
27 ud->printer_info = mri; in init()
/external/capstone/arch/X86/
DX86Module.c14 MCRegisterInfo *mri; in init() local
20 mri = cs_mem_malloc(sizeof(*mri)); in init()
22 X86_init(mri); in init()
27 ud->printer_info = mri; in init()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCalcSpillWeights.cpp54 const MachineRegisterInfo &mri) { in copyHint() argument
72 const TargetRegisterClass *rc = mri.getRegClass(reg); in copyHint()
162 MachineRegisterInfo &mri = MF.getRegInfo(); in weightCalcHelper() local
171 std::pair<unsigned, unsigned> TargetHint = mri.getRegAllocationHint(li.reg); in weightCalcHelper()
228 I = mri.reg_instr_begin(li.reg), E = mri.reg_instr_end(); in weightCalcHelper()
269 unsigned hint = copyHint(mi, li.reg, tri, mri); in weightCalcHelper()
277 if (TargetRegisterInfo::isVirtualRegister(hint) || mri.isAllocatable(hint)) in weightCalcHelper()
288 mri.clearSimpleHint(li.reg); in weightCalcHelper()
294 mri.addRegAllocationHint(li.reg, Hint.Reg); in weightCalcHelper()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DRDFDeadCode.h36 DeadCodeElimination(DataFlowGraph &dfg, MachineRegisterInfo &mri) in DeadCodeElimination()
37 : Trace(false), DFG(dfg), MRI(mri), LV(mri, dfg) {} in DeadCodeElimination()
/external/llvm/lib/Target/Hexagon/
DRDFDeadCode.h36 DeadCodeElimination(DataFlowGraph &dfg, MachineRegisterInfo &mri) in DeadCodeElimination()
37 : Trace(false), DFG(dfg), MRI(mri), LV(mri, dfg) {} in DeadCodeElimination()

123