Home
last modified time | relevance | path

Searched refs:ShiftI (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86SpeculativeLoadHardening.cpp1649 auto ShiftI = BuildMI(MBB, InsertPt, Loc, TII->get(X86::SHL64ri), TmpReg) in mergePredStateIntoSP() local
1652 ShiftI->addRegisterDead(X86::EFLAGS, TRI); in mergePredStateIntoSP()
1673 auto ShiftI = in extractPredStateFromSP() local
1677 ShiftI->addRegisterDead(X86::EFLAGS, TRI); in extractPredStateFromSP()
1853 auto ShiftI = in hardenLoadAddr() local
1857 (void)ShiftI; in hardenLoadAddr()
1859 LLVM_DEBUG(dbgs() << " Inserting shrx: "; ShiftI->dump(); in hardenLoadAddr()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp976 SinkShiftAndTruncate(BinaryOperator *ShiftI, Instruction *User, ConstantInt *CI, in SinkShiftAndTruncate() argument
1023 if (ShiftI->getOpcode() == Instruction::AShr) in SinkShiftAndTruncate()
1024 InsertedShift = BinaryOperator::CreateAShr(ShiftI->getOperand(0), CI, in SinkShiftAndTruncate()
1027 InsertedShift = BinaryOperator::CreateLShr(ShiftI->getOperand(0), CI, in SinkShiftAndTruncate()
1063 static bool OptimizeExtractBits(BinaryOperator *ShiftI, ConstantInt *CI, in OptimizeExtractBits() argument
1066 BasicBlock *DefBB = ShiftI->getParent(); in OptimizeExtractBits()
1071 bool shiftIsLegal = TLI.isTypeLegal(TLI.getValueType(DL, ShiftI->getType())); in OptimizeExtractBits()
1074 for (Value::user_iterator UI = ShiftI->user_begin(), E = ShiftI->user_end(); in OptimizeExtractBits()
1111 SinkShiftAndTruncate(ShiftI, User, CI, InsertedShifts, TLI, DL); in OptimizeExtractBits()
1122 if (ShiftI->getOpcode() == Instruction::AShr) in OptimizeExtractBits()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1352 SinkShiftAndTruncate(BinaryOperator *ShiftI, Instruction *User, ConstantInt *CI, in SinkShiftAndTruncate() argument
1399 if (ShiftI->getOpcode() == Instruction::AShr) in SinkShiftAndTruncate()
1400 InsertedShift = BinaryOperator::CreateAShr(ShiftI->getOperand(0), CI, in SinkShiftAndTruncate()
1403 InsertedShift = BinaryOperator::CreateLShr(ShiftI->getOperand(0), CI, in SinkShiftAndTruncate()
1439 static bool OptimizeExtractBits(BinaryOperator *ShiftI, ConstantInt *CI, in OptimizeExtractBits() argument
1442 BasicBlock *DefBB = ShiftI->getParent(); in OptimizeExtractBits()
1447 bool shiftIsLegal = TLI.isTypeLegal(TLI.getValueType(DL, ShiftI->getType())); in OptimizeExtractBits()
1450 for (Value::user_iterator UI = ShiftI->user_begin(), E = ShiftI->user_end(); in OptimizeExtractBits()
1487 SinkShiftAndTruncate(ShiftI, User, CI, InsertedShifts, TLI, DL); in OptimizeExtractBits()
1498 if (ShiftI->getOpcode() == Instruction::AShr) in OptimizeExtractBits()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
DMBlazeInstrInfo.td180 class ShiftI<bits<6> op, bits<2> flags, string instr_asm, SDNode OpNode,
398 def BSRLI : ShiftI<0x19, 0x0, "bsrli ", srl, uimm5, immZExt5>;
399 def BSRAI : ShiftI<0x19, 0x1, "bsrai ", sra, uimm5, immZExt5>;
400 def BSLLI : ShiftI<0x19, 0x2, "bslli ", shl, uimm5, immZExt5>;
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1682 unsigned ShiftI = Shift+i*ElementSize; in collectInsertionElements() local
1684 ShiftI)); in collectInsertionElements()
1686 if (!collectInsertionElements(Piece, ShiftI, Elements, VecEltTy, in collectInsertionElements()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1909 unsigned ShiftI = Shift+i*ElementSize; in collectInsertionElements() local
1911 ShiftI)); in collectInsertionElements()
1913 if (!collectInsertionElements(Piece, ShiftI, Elements, VecEltTy, in collectInsertionElements()