Home
last modified time | relevance | path

Searched refs:BMI (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Di128-mul.ll45 ; X86-BMI-LABEL: foo:
46 ; X86-BMI: # %bb.0:
65 ; X86-BMI-NEXT: setb %cl
75 ; X86-BMI-NEXT: retl
84 ; X64-BMI-LABEL: foo:
85 ; X64-BMI: # %bb.0:
88 ; X64-BMI-NEXT: retq
181 ; X86-BMI-LABEL: mul1:
256 ; X86-BMI-NEXT: retl
283 ; X64-BMI-LABEL: mul1:
[all …]
H A Dunfold-masked-merge-scalar-constmask-innerouter.ll22 ; CHECK-BMI: # %bb.0:
29 ; CHECK-BMI-NEXT: retq
48 ; CHECK-BMI: # %bb.0:
55 ; CHECK-BMI-NEXT: retq
79 ; CHECK-BMI-NEXT: retq
103 ; CHECK-BMI-NEXT: retq
131 ; CHECK-BMI-NEXT: retq
155 ; CHECK-BMI-NEXT: retq
177 ; CHECK-BMI-NEXT: retq
199 ; CHECK-BMI-NEXT: retq
[all …]
H A Dunfold-masked-merge-scalar-constmask-interleavedbits.ll22 ; CHECK-BMI: # %bb.0:
29 ; CHECK-BMI-NEXT: retq
48 ; CHECK-BMI: # %bb.0:
55 ; CHECK-BMI-NEXT: retq
79 ; CHECK-BMI-NEXT: retq
103 ; CHECK-BMI-NEXT: retq
131 ; CHECK-BMI-NEXT: retq
155 ; CHECK-BMI-NEXT: retq
177 ; CHECK-BMI-NEXT: retq
199 ; CHECK-BMI-NEXT: retq
[all …]
H A Dunfold-masked-merge-scalar-constmask-interleavedbytehalves.ll22 ; CHECK-BMI: # %bb.0:
29 ; CHECK-BMI-NEXT: retq
48 ; CHECK-BMI: # %bb.0:
55 ; CHECK-BMI-NEXT: retq
79 ; CHECK-BMI-NEXT: retq
103 ; CHECK-BMI-NEXT: retq
131 ; CHECK-BMI-NEXT: retq
155 ; CHECK-BMI-NEXT: retq
177 ; CHECK-BMI-NEXT: retq
199 ; CHECK-BMI-NEXT: retq
[all …]
H A Dunfold-masked-merge-scalar-constmask-lowhigh.ll22 ; CHECK-BMI: # %bb.0:
29 ; CHECK-BMI-NEXT: retq
46 ; CHECK-BMI: # %bb.0:
51 ; CHECK-BMI-NEXT: retq
67 ; CHECK-BMI: # %bb.0:
71 ; CHECK-BMI-NEXT: retq
93 ; CHECK-BMI-NEXT: retq
121 ; CHECK-BMI-NEXT: retq
143 ; CHECK-BMI-NEXT: retq
163 ; CHECK-BMI-NEXT: retq
[all …]
H A Dunfold-masked-merge-scalar-variablemask.ll17 ; CHECK-BMI-LABEL: out8:
18 ; CHECK-BMI: # %bb.0:
25 ; CHECK-BMI-NEXT: retq
44 ; CHECK-BMI-LABEL: out16:
50 ; CHECK-BMI-NEXT: retq
67 ; CHECK-BMI-LABEL: out32:
72 ; CHECK-BMI-NEXT: retq
89 ; CHECK-BMI-LABEL: out64:
115 ; CHECK-BMI-LABEL: in8:
138 ; CHECK-BMI-LABEL: in16:
[all …]
H A Dfold-masked-merge.ll18 ; BMI: # %bb.0:
22 ; BMI-NEXT: retq
42 ; BMI: # %bb.0:
47 ; BMI-NEXT: retq
65 ; BMI: # %bb.0:
71 ; BMI-NEXT: retq
96 ; BMI-NEXT: retq
139 ; BMI-NEXT: retq
163 ; BMI-NEXT: retq
204 ; BMI-NEXT: retq
[all …]
H A Dsub-of-bias.ll28 ; BMI-X86-LABEL: t0_32:
29 ; BMI-X86: # %bb.0:
32 ; BMI-X86-NEXT: retl
41 ; BMI-X64-LABEL: t0_32:
44 ; BMI-X64-NEXT: retq
60 ; BMI-X86-LABEL: t1_64:
66 ; BMI-X86-NEXT: retl
75 ; BMI-X64-LABEL: t1_64:
78 ; BMI-X64-NEXT: retq
96 ; BMI-X86-NEXT: retl
[all …]
H A Dor-lea.ll148 ; BMI: # %bb.0: # %entry
150 ; BMI-NEXT: andl %esi, %edx
153 ; BMI-NEXT: retq
174 ; BMI: # %bb.0: # %entry
179 ; BMI-NEXT: retq
205 ; BMI-NEXT: retq
231 ; BMI-NEXT: retq
255 ; BMI-NEXT: retq
279 ; BMI-NEXT: retq
303 ; BMI-NEXT: retq
[all …]
H A Ddagcombine-select.ll291 ; BMI: # %bb.0:
296 ; BMI-NEXT: retq
315 ; BMI: # %bb.0:
320 ; BMI-NEXT: retq
340 ; BMI: # %bb.0:
345 ; BMI-NEXT: retq
369 ; BMI-NEXT: retq
394 ; BMI-NEXT: retq
418 ; BMI-NEXT: retq
441 ; BMI-NEXT: retq
[all …]
H A Dselect-smin-smax.ll18 ; CHECK-BMI-LABEL: test_i32_smax:
19 ; CHECK-BMI: # %bb.0:
20 ; CHECK-BMI-NEXT: movl %edi, %eax
21 ; CHECK-BMI-NEXT: sarl $31, %eax
22 ; CHECK-BMI-NEXT: andnl %edi, %eax, %eax
23 ; CHECK-BMI-NEXT: retq
47 ; CHECK-BMI-LABEL: test_i64_smax:
48 ; CHECK-BMI: # %bb.0:
49 ; CHECK-BMI-NEXT: movq %rdi, %rax
50 ; CHECK-BMI-NEXT: sarq $63, %rax
[all …]
H A Dicmp-opt.ll3 …RUN: llc -mtriple=x86_64-unknown-linux-gnu -mattr=+bmi < %s | FileCheck %s --check-prefix=CHECK-BMI
18 ; CHECK-BMI-LABEL: t1:
19 ; CHECK-BMI: # %bb.0:
20 ; CHECK-BMI-NEXT: xorl %eax, %eax
21 ; CHECK-BMI-NEXT: testq %rdi, %rdi
22 ; CHECK-BMI-NEXT: setns %al
23 ; CHECK-BMI-NEXT: retq
H A Dselectcc-to-shiftand.ll104 ; CHECK-BMI: # %bb.0:
105 ; CHECK-BMI-NEXT: sarl $31, %edi
107 ; CHECK-BMI-NEXT: retq
124 ; CHECK-BMI: # %bb.0:
125 ; CHECK-BMI-NEXT: movl %edi, %eax
126 ; CHECK-BMI-NEXT: sarl $31, %eax
128 ; CHECK-BMI-NEXT: retq
145 ; CHECK-BMI-LABEL: PR31175:
146 ; CHECK-BMI: # %bb.0:
149 ; CHECK-BMI-NEXT: sarl $31, %eax
[all …]
H A Dalign-down.ll225 ; BMI-X86-LABEL: n8_not_lowbit_mask:
226 ; BMI-X86: # %bb.0:
227 ; BMI-X86-NEXT: movl {{[0-9]+}}(%esp), %eax
228 ; BMI-X86-NEXT: incl %eax
229 ; BMI-X86-NEXT: andnl {{[0-9]+}}(%esp), %eax, %eax
230 ; BMI-X86-NEXT: retl
240 ; BMI-X64-LABEL: n8_not_lowbit_mask:
241 ; BMI-X64: # %bb.0:
242 ; BMI-X64-NEXT: incl %esi
243 ; BMI-X64-NEXT: andnl %edi, %esi, %eax
[all …]
H A Dsetcc-logic.ll653 ; BMI-LABEL: or_cmp_eq_i64:
654 ; BMI: # %bb.0:
656 ; BMI-NEXT: sete %al
657 ; BMI-NEXT: retq
671 ; BMI-LABEL: or_cmp_ne_i32:
672 ; BMI: # %bb.0:
674 ; BMI-NEXT: setne %al
675 ; BMI-NEXT: retq
690 ; BMI: # %bb.0:
692 ; BMI-NEXT: sete %al
[all …]
H A Dshift-mask.ll9 …mtriple=x86_64-pc-linux -mcpu=btver2 | FileCheck %s --check-prefixes=X64,X64-SHIFT,X64-BMI,X64-BMI1
10 …mtriple=x86_64-pc-linux -mcpu=znver1 | FileCheck %s --check-prefixes=X64,X64-SHIFT,X64-BMI,X64-BMI2
11 …mtriple=x86_64-pc-linux -mcpu=znver2 | FileCheck %s --check-prefixes=X64,X64-SHIFT,X64-BMI,X64-BMI2
442 ; X64-BMI-LABEL: test_i16_lshr_lshr_1:
443 ; X64-BMI: # %bb.0:
444 ; X64-BMI-NEXT: movl $2818, %eax # imm = 0xB02
445 ; X64-BMI-NEXT: bextrl %eax, %edi, %eax
446 ; X64-BMI-NEXT: # kill: def $ax killed $ax killed $eax
447 ; X64-BMI-NEXT: retq
/llvm-project-15.0.7/llvm/test/Transforms/SimplifyCFG/X86/
H A Dspeculate-cttz-ctlz.ll8 ; BMI-LABEL: @test1(
9 ; BMI-NEXT: entry:
43 ; BMI-LABEL: @test2(
44 ; BMI-NEXT: entry:
79 ; BMI-LABEL: @test3(
80 ; BMI-NEXT: entry:
115 ; BMI-LABEL: @test1b(
116 ; BMI-NEXT: entry:
151 ; BMI-LABEL: @test2b(
152 ; BMI-NEXT: entry:
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DR600ExpandSpecialInstrs.cpp133 MachineInstr *BMI = in runOnMachineFunction() local
136 BMI->bundleWithPred(); in runOnMachineFunction()
139 TII->addFlag(*BMI, 0, MO_FLAG_MASK); in runOnMachineFunction()
142 TII->addFlag(*BMI, 0, MO_FLAG_NOT_LAST); in runOnMachineFunction()
143 unsigned Opcode = BMI->getOpcode(); in runOnMachineFunction()
147 BMI->getOperand(TII->getOperandIdx(Opcode, R600::OpName::src0)) in runOnMachineFunction()
150 BMI->getOperand(TII->getOperandIdx(Opcode, R600::OpName::src1)) in runOnMachineFunction()
/llvm-project-15.0.7/llvm/test/Analysis/CostModel/X86/
H A Dcttz.ll25 ; BMI-LABEL: 'var_cttz_i64'
27 ; BMI-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i64 %cttz
38 ; BMI-LABEL: 'var_cttz_i64u'
40 ; BMI-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i64 %cttz
51 ; BMI-LABEL: 'var_cttz_i32'
53 ; BMI-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 %cttz
64 ; BMI-LABEL: 'var_cttz_i32u'
77 ; BMI-LABEL: 'var_cttz_i16'
90 ; BMI-LABEL: 'var_cttz_i16u'
103 ; BMI-LABEL: 'var_cttz_i8'
[all …]
/llvm-project-15.0.7/clang/docs/
H A DStandardCPlusPlusModules.rst108 It is also called the acronym ``BMI`` genrally.
223 How to produce a BMI
241 then we can't generate a BMI for the ``importable module unit`` by ``--precompile`` option
291 When we compile a ``module implementation unit``, we must pass the BMI of the corresponding
312 Remember that module units still have an object counterpart to the BMI
398 When the compiler reads a BMI, the compiler will check the consistency of the corresponding
433 But it is OK to move the BMI as long as the source files remain:
636 Similar to named modules, we could use ``--precompile`` to produce the BMI.
695 Don't compile the BMI
698 Another difference with modules is that we can't compile the BMI from a header unit.
[all …]
/llvm-project-15.0.7/llvm/lib/Target/CSKY/
H A DCSKYConstantIslandPass.cpp1300 MachineInstr *BMI = &MBB->back(); in fixupConditionalBr() local
1301 bool NeedSplit = (BMI != MI) || !bbHasFallthrough(MBB); in fixupConditionalBr()
1304 if (BMI != MI) { in fixupConditionalBr()
1306 BMI->isUnconditionalBranch()) { in fixupConditionalBr()
1314 MachineBasicBlock *NewDest = TII->getBranchDestBlock(*BMI); in fixupConditionalBr()
1318 << *BMI); in fixupConditionalBr()
1319 BMI->getOperand(BMI->getNumExplicitOperands() - 1).setMBB(DestBB); in fixupConditionalBr()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsConstantIslandPass.cpp1563 MachineInstr *BMI = &MBB->back(); in fixupConditionalBr() local
1564 bool NeedSplit = (BMI != MI) || !BBHasFallthrough(MBB); in fixupConditionalBr()
1568 if (BMI != MI) { in fixupConditionalBr()
1570 BMI->isUnconditionalBranch()) { in fixupConditionalBr()
1578 unsigned BMITargetOperand = branchTargetOperand(BMI); in fixupConditionalBr()
1580 BMI->getOperand(BMITargetOperand).getMBB(); in fixupConditionalBr()
1584 << *BMI); in fixupConditionalBr()
1586 BMI->getOperand(BMITargetOperand).setMBB(DestBB); in fixupConditionalBr()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp988 const CXXCtorInitializer *BMI = CFGInit.getInitializer(); in ProcessInitializer() local
989 const Expr *Init = BMI->getInit()->IgnoreImplicit(); in ProcessInitializer()
993 BMI->getSourceLocation(), in ProcessInitializer()
1007 if (BMI->isAnyMemberInitializer()) { in ProcessInitializer()
1010 if (getObjectUnderConstruction(State, BMI, LC)) { in ProcessInitializer()
1013 State = finishObjectConstruction(State, BMI, LC); in ProcessInitializer()
1019 if (BMI->isIndirectMemberInitializer()) { in ProcessInitializer()
1020 Field = BMI->getIndirectMember(); in ProcessInitializer()
1023 Field = BMI->getMember(); in ProcessInitializer()
1048 InitVal = State->getSVal(BMI->getInit(), stackFrame); in ProcessInitializer()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp1754 MachineInstr *BMI = &MBB->back(); in fixupConditionalBr() local
1755 bool NeedSplit = (BMI != MI) || !BBHasFallthrough(MBB); in fixupConditionalBr()
1758 if (BMI != MI) { in fixupConditionalBr()
1760 BMI->getOpcode() == Br.UncondBr) { in fixupConditionalBr()
1768 MachineBasicBlock *NewDest = BMI->getOperand(0).getMBB(); in fixupConditionalBr()
1772 << *BMI); in fixupConditionalBr()
1773 BMI->getOperand(0).setMBB(DestBB); in fixupConditionalBr()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopRerollPass.cpp1378 DenseMap<Value *, Value *>::iterator BMI = BaseMap.find(Op2); in validate() local
1379 if (BMI != BaseMap.end()) { in validate()
1380 Op2 = BMI->second; in validate()

12