/external/llvm-project/llvm/test/CodeGen/X86/ |
D | unfold-masked-merge-scalar-constmask-innerouter.ll | 3 …RUN: llc -mtriple=x86_64-unknown-linux-gnu -mattr=+bmi < %s | FileCheck %s --check-prefix=CHECK-BMI 21 ; CHECK-BMI-LABEL: out8_constmask: 22 ; CHECK-BMI: # %bb.0: 23 ; CHECK-BMI-NEXT: # kill: def $esi killed $esi def $rsi 24 ; CHECK-BMI-NEXT: # kill: def $edi killed $edi def $rdi 25 ; CHECK-BMI-NEXT: andb $60, %dil 26 ; CHECK-BMI-NEXT: andb $-61, %sil 27 ; CHECK-BMI-NEXT: leal (%rsi,%rdi), %eax 28 ; CHECK-BMI-NEXT: # kill: def $al killed $al killed $eax 29 ; CHECK-BMI-NEXT: retq [all …]
|
D | unfold-masked-merge-scalar-constmask-interleavedbytehalves.ll | 3 …RUN: llc -mtriple=x86_64-unknown-linux-gnu -mattr=+bmi < %s | FileCheck %s --check-prefix=CHECK-BMI 21 ; CHECK-BMI-LABEL: out8_constmask: 22 ; CHECK-BMI: # %bb.0: 23 ; CHECK-BMI-NEXT: # kill: def $esi killed $esi def $rsi 24 ; CHECK-BMI-NEXT: # kill: def $edi killed $edi def $rdi 25 ; CHECK-BMI-NEXT: andb $15, %dil 26 ; CHECK-BMI-NEXT: andb $-16, %sil 27 ; CHECK-BMI-NEXT: leal (%rsi,%rdi), %eax 28 ; CHECK-BMI-NEXT: # kill: def $al killed $al killed $eax 29 ; CHECK-BMI-NEXT: retq [all …]
|
D | unfold-masked-merge-scalar-constmask-interleavedbits.ll | 3 …RUN: llc -mtriple=x86_64-unknown-linux-gnu -mattr=+bmi < %s | FileCheck %s --check-prefix=CHECK-BMI 21 ; CHECK-BMI-LABEL: out8_constmask: 22 ; CHECK-BMI: # %bb.0: 23 ; CHECK-BMI-NEXT: # kill: def $esi killed $esi def $rsi 24 ; CHECK-BMI-NEXT: # kill: def $edi killed $edi def $rdi 25 ; CHECK-BMI-NEXT: andb $85, %dil 26 ; CHECK-BMI-NEXT: andb $-86, %sil 27 ; CHECK-BMI-NEXT: leal (%rsi,%rdi), %eax 28 ; CHECK-BMI-NEXT: # kill: def $al killed $al killed $eax 29 ; CHECK-BMI-NEXT: retq [all …]
|
D | unfold-masked-merge-scalar-constmask-lowhigh.ll | 3 …RUN: llc -mtriple=x86_64-unknown-linux-gnu -mattr=+bmi < %s | FileCheck %s --check-prefix=CHECK-BMI 21 ; CHECK-BMI-LABEL: out8_constmask: 22 ; CHECK-BMI: # %bb.0: 23 ; CHECK-BMI-NEXT: # kill: def $esi killed $esi def $rsi 24 ; CHECK-BMI-NEXT: # kill: def $edi killed $edi def $rdi 25 ; CHECK-BMI-NEXT: andb $15, %dil 26 ; CHECK-BMI-NEXT: andb $-16, %sil 27 ; CHECK-BMI-NEXT: leal (%rsi,%rdi), %eax 28 ; CHECK-BMI-NEXT: # kill: def $al killed $al killed $eax 29 ; CHECK-BMI-NEXT: retq [all …]
|
D | unfold-masked-merge-scalar-variablemask.ll | 3 …RUN: llc -mtriple=x86_64-unknown-linux-gnu -mattr=+bmi < %s | FileCheck %s --check-prefix=CHECK-BMI 17 ; CHECK-BMI-LABEL: out8: 18 ; CHECK-BMI: # %bb.0: 19 ; CHECK-BMI-NEXT: movl %edx, %eax 20 ; CHECK-BMI-NEXT: andl %edx, %edi 21 ; CHECK-BMI-NEXT: notb %al 22 ; CHECK-BMI-NEXT: andb %sil, %al 23 ; CHECK-BMI-NEXT: orb %dil, %al 24 ; CHECK-BMI-NEXT: # kill: def $al killed $al killed $eax 25 ; CHECK-BMI-NEXT: retq [all …]
|
D | i128-mul.ll | 3 ; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+bmi2 | FileCheck %s --check-prefix=X86-BMI 5 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+bmi2 | FileCheck %s --check-prefix=X64-BMI 46 ; X86-BMI-LABEL: foo: 47 ; X86-BMI: # %bb.0: 48 ; X86-BMI-NEXT: pushl %ebp 49 ; X86-BMI-NEXT: pushl %ebx 50 ; X86-BMI-NEXT: pushl %edi 51 ; X86-BMI-NEXT: pushl %esi 52 ; X86-BMI-NEXT: movl {{[0-9]+}}(%esp), %eax 53 ; X86-BMI-NEXT: movl {{[0-9]+}}(%esp), %ecx [all …]
|
D | sub-of-bias.ll | 3 … llc -mtriple=i686-unknown-linux-gnu -mattr=+bmi < %s | FileCheck %s --check-prefixes=X86,BMI-X86 5 … llc -mtriple=x86_64-unknown-linux-gnu -mattr=+bmi < %s | FileCheck %s --check-prefixes=X64,BMI-X64 28 ; BMI-X86-LABEL: t0_32: 29 ; BMI-X86: # %bb.0: 30 ; BMI-X86-NEXT: movl {{[0-9]+}}(%esp), %eax 31 ; BMI-X86-NEXT: andnl {{[0-9]+}}(%esp), %eax, %eax 32 ; BMI-X86-NEXT: retl 41 ; BMI-X64-LABEL: t0_32: 42 ; BMI-X64: # %bb.0: 43 ; BMI-X64-NEXT: andnl %edi, %esi, %eax [all …]
|
D | dagcombine-select.ll | 3 …nknown -verify-machineinstrs -mattr=+bmi | FileCheck %s -check-prefixes=CHECK,BMI -enable-var-scope 297 ; BMI-LABEL: cttz_64_eq_select: 298 ; BMI: # %bb.0: 299 ; BMI-NEXT: tzcntq %rdi, %rcx 300 ; BMI-NEXT: movq $-1, %rax 301 ; BMI-NEXT: cmovaeq %rcx, %rax 302 ; BMI-NEXT: addq $6, %rax 303 ; BMI-NEXT: retq 321 ; BMI-LABEL: cttz_64_ne_select: 322 ; BMI: # %bb.0: [all …]
|
D | icmp-opt.ll | 3 …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
|
D | selectcc-to-shiftand.ll | 3 …lc -mtriple=x86_64-unknown-linux-gnu -mattr=+bmi < %s | FileCheck %s --check-prefixes=ANY,CHECK-BMI 103 ; CHECK-BMI-LABEL: pos_sel_variable_and_zero: 104 ; CHECK-BMI: # %bb.0: 105 ; CHECK-BMI-NEXT: sarl $31, %edi 106 ; CHECK-BMI-NEXT: andnl %esi, %edi, %eax 107 ; CHECK-BMI-NEXT: retq 123 ; CHECK-BMI-LABEL: not_neg_sel_same_variable: 124 ; CHECK-BMI: # %bb.0: 125 ; CHECK-BMI-NEXT: movl %edi, %eax 126 ; CHECK-BMI-NEXT: sarl $31, %eax [all …]
|
D | align-down.ll | 3 … llc -mtriple=i686-unknown-linux-gnu -mattr=+bmi < %s | FileCheck %s --check-prefixes=X86,BMI-X86 5 … llc -mtriple=x86_64-unknown-linux-gnu -mattr=+bmi < %s | FileCheck %s --check-prefixes=X64,BMI-X64 225 ; 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: [all …]
|
D | shift-mask.ll | 9 …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 426 ; X64-BMI-LABEL: test_i16_lshr_lshr_1: 427 ; X64-BMI: # %bb.0: 428 ; X64-BMI-NEXT: movl $2818, %eax # imm = 0xB02 429 ; X64-BMI-NEXT: bextrl %eax, %edi, %eax 430 ; X64-BMI-NEXT: # kill: def $ax killed $ax killed $eax 431 ; X64-BMI-NEXT: retq
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600ExpandSpecialInstrs.cpp | 121 MachineInstr *BMI; in runOnMachineFunction() local 133 BMI = TII->buildDefaultInstruction(MBB, I, AMDGPU::INTERP_XY, in runOnMachineFunction() 137 BMI->bundleWithPred(); in runOnMachineFunction() 140 TII->addFlag(*BMI, 0, MO_FLAG_MASK); in runOnMachineFunction() 142 TII->addFlag(*BMI, 0, MO_FLAG_NOT_LAST); in runOnMachineFunction() 150 MachineInstr *BMI; in runOnMachineFunction() local 162 BMI = TII->buildDefaultInstruction(MBB, I, AMDGPU::INTERP_ZW, in runOnMachineFunction() 166 BMI->bundleWithPred(); in runOnMachineFunction() 169 TII->addFlag(*BMI, 0, MO_FLAG_MASK); in runOnMachineFunction() 171 TII->addFlag(*BMI, 0, MO_FLAG_NOT_LAST); in runOnMachineFunction() [all …]
|
/external/llvm-project/llvm/test/Transforms/SimplifyCFG/X86/ |
D | speculate-cttz-ctlz.ll | 2 …triple=x86_64-unknown-unknown -mattr=+bmi < %s | FileCheck %s --check-prefix=ALL --check-prefix=BMI 8 ; BMI-LABEL: @test1( 9 ; BMI-NEXT: entry: 10 ; BMI-NEXT: [[TOBOOL:%.*]] = icmp eq i64 [[A:%.*]], 0 11 ; BMI-NEXT: [[TMP0:%.*]] = tail call i64 @llvm.ctlz.i64(i64 [[A]], i1 true) 12 ; BMI-NEXT: [[COND:%.*]] = select i1 [[TOBOOL]], i64 64, i64 [[TMP0]] 13 ; BMI-NEXT: ret i64 [[COND]] 43 ; BMI-LABEL: @test2( 44 ; BMI-NEXT: entry: 45 ; BMI-NEXT: [[TOBOOL:%.*]] = icmp eq i32 [[A:%.*]], 0 [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | R600ExpandSpecialInstrs.cpp | 145 MachineInstr *BMI = in runOnMachineFunction() local 148 BMI->bundleWithPred(); in runOnMachineFunction() 151 TII->addFlag(*BMI, 0, MO_FLAG_MASK); in runOnMachineFunction() 154 TII->addFlag(*BMI, 0, MO_FLAG_NOT_LAST); in runOnMachineFunction() 155 unsigned Opcode = BMI->getOpcode(); in runOnMachineFunction() 159 BMI->getOperand(TII->getOperandIdx(Opcode, R600::OpName::src0)) in runOnMachineFunction() 162 BMI->getOperand(TII->getOperandIdx(Opcode, R600::OpName::src1)) in runOnMachineFunction()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | R600ExpandSpecialInstrs.cpp | 145 MachineInstr *BMI = in runOnMachineFunction() local 148 BMI->bundleWithPred(); in runOnMachineFunction() 151 TII->addFlag(*BMI, 0, MO_FLAG_MASK); in runOnMachineFunction() 154 TII->addFlag(*BMI, 0, MO_FLAG_NOT_LAST); in runOnMachineFunction() 155 unsigned Opcode = BMI->getOpcode(); in runOnMachineFunction() 159 BMI->getOperand(TII->getOperandIdx(Opcode, R600::OpName::src0)) in runOnMachineFunction() 162 BMI->getOperand(TII->getOperandIdx(Opcode, R600::OpName::src1)) in runOnMachineFunction()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64BranchRelaxation.cpp | 379 MachineInstr *BMI = &MBB->back(); in fixupConditionalBranch() local 380 bool NeedSplit = (BMI != MI) || !BBHasFallthrough(MBB); in fixupConditionalBranch() 382 if (BMI != MI) { in fixupConditionalBranch() 385 BMI->getOpcode() == AArch64::B) { in fixupConditionalBranch() 393 MachineBasicBlock *NewDest = BMI->getOperand(0).getMBB(); in fixupConditionalBranch() 397 << *BMI); in fixupConditionalBranch() 398 BMI->getOperand(0).setMBB(DestBB); in fixupConditionalBranch()
|
/external/llvm/test/Transforms/SimplifyCFG/X86/ |
D | speculate-cttz-ctlz.ll | 1 …triple=x86_64-unknown-unknown -mattr=+bmi < %s | FileCheck %s --check-prefix=ALL --check-prefix=BMI 133 ; BMI-NEXT: select i1 [[COND]], i64 32, i64 [[ZEXT]] 156 ; BMI-NEXT: select i1 [[COND]], i32 64, i32 [[TRUNC]] 180 ; BMI-NOT: select 203 ; BMI-NOT: select 226 ; BMI-NOT: select 249 ; BMI-NOT: select 271 ; BMI-NEXT: select i1 [[COND]], i16 64, i16 [[TRUNC]] 294 ; BMI-NEXT: select i1 [[COND]], i16 32, i16 [[TRUNC]]
|
/external/llvm-project/llvm/test/Analysis/CostModel/X86/ |
D | cttz.ll | 3 …64-unknown-linux-gnu -cost-model -analyze -mattr=+bmi,+sse2 | FileCheck %s -check-prefixes=SSE2,BMI 4 …unknown-linux-gnu -cost-model -analyze -mattr=+bmi,+sse4.2 | FileCheck %s -check-prefixes=BMI,SSE42 5 …unknown-linux-gnu -cost-model -analyze -mattr=+bmi,+avx | FileCheck %s -check-prefixes=BMI,AVX,AVX1 6 …nknown-linux-gnu -cost-model -analyze -mattr=+bmi,+avx2 | FileCheck %s -check-prefixes=BMI,AVX,AVX2 7 …nux-gnu -cost-model -analyze -mattr=+bmi,+avx512f | FileCheck %s -check-prefixes=BMI,AVX512,AVX512F 8 …nalyze -mattr=+bmi,+avx512vl,+avx512bw,+avx512dq | FileCheck %s -check-prefixes=BMI,AVX512,AVX512BW 22 ; BMI-LABEL: 'var_cttz_i64' 23 ; BMI-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %cttz = call i64 @llvm.cttz.… 24 ; BMI-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i64 %cttz 35 ; BMI-LABEL: 'var_cttz_i64u' [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngine.cpp | 458 const CXXCtorInitializer *BMI = Init.getInitializer(); in ProcessInitializer() local 461 BMI->getSourceLocation(), in ProcessInitializer() 477 if (BMI->isAnyMemberInitializer()) { in ProcessInitializer() 481 assert(BMI->getInit()->IgnoreImplicit() == CtorExpr); in ProcessInitializer() 485 const Expr *Init = BMI->getInit()->IgnoreImplicit(); in ProcessInitializer() 487 if (BMI->isIndirectMemberInitializer()) { in ProcessInitializer() 488 Field = BMI->getIndirectMember(); in ProcessInitializer() 489 FieldLoc = State->getLValue(BMI->getIndirectMember(), thisVal); in ProcessInitializer() 491 Field = BMI->getMember(); in ProcessInitializer() 492 FieldLoc = State->getLValue(BMI->getMember(), thisVal); in ProcessInitializer() [all …]
|
/external/marisa-trie/ |
D | configure.ac | 172 AC_MSG_CHECKING([whether to use BMI]) 175 [use BMI [default=no]])], 276 AS_ECHO([" BMI: ${enable_bmi}"])
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsConstantIslandPass.cpp | 1570 MachineInstr *BMI = &MBB->back(); in fixupConditionalBr() local 1571 bool NeedSplit = (BMI != MI) || !BBHasFallthrough(MBB); in fixupConditionalBr() 1575 if (BMI != MI) { in fixupConditionalBr() 1577 BMI->isUnconditionalBranch()) { in fixupConditionalBr() 1585 unsigned BMITargetOperand = branchTargetOperand(BMI); in fixupConditionalBr() 1587 BMI->getOperand(BMITargetOperand).getMBB(); in fixupConditionalBr() 1591 << *BMI); in fixupConditionalBr() 1593 BMI->getOperand(BMITargetOperand).setMBB(DestBB); in fixupConditionalBr()
|
/external/llvm-project/llvm/lib/Target/Mips/ |
D | MipsConstantIslandPass.cpp | 1564 MachineInstr *BMI = &MBB->back(); in fixupConditionalBr() local 1565 bool NeedSplit = (BMI != MI) || !BBHasFallthrough(MBB); in fixupConditionalBr() 1569 if (BMI != MI) { in fixupConditionalBr() 1571 BMI->isUnconditionalBranch()) { in fixupConditionalBr() 1579 unsigned BMITargetOperand = branchTargetOperand(BMI); in fixupConditionalBr() 1581 BMI->getOperand(BMITargetOperand).getMBB(); in fixupConditionalBr() 1585 << *BMI); in fixupConditionalBr() 1587 BMI->getOperand(BMITargetOperand).setMBB(DestBB); in fixupConditionalBr()
|
/external/llvm/lib/Target/Mips/ |
D | MipsConstantIslandPass.cpp | 1591 MachineInstr *BMI = &MBB->back(); in fixupConditionalBr() local 1592 bool NeedSplit = (BMI != MI) || !BBHasFallthrough(MBB); in fixupConditionalBr() 1596 if (BMI != MI) { in fixupConditionalBr() 1598 BMI->isUnconditionalBranch()) { in fixupConditionalBr() 1606 unsigned BMITargetOperand = branchTargetOperand(BMI); in fixupConditionalBr() 1608 BMI->getOperand(BMITargetOperand).getMBB(); in fixupConditionalBr() 1611 << *BMI); in fixupConditionalBr() 1613 BMI->getOperand(BMITargetOperand).setMBB(DestBB); in fixupConditionalBr()
|
/external/libxaac/decoder/armv7/ |
D | ixheaacd_shiftrountine_with_round_hq.s | 14 BMI S_WITH_R_L6
|