/minix/external/bsd/llvm/dist/llvm/lib/Target/XCore/Disassembler/ |
H A D | XCoreDisassembler.cpp | 347 unsigned Op1, Op2; in Decode2RInstruction() local 360 unsigned Op1, Op2; in Decode2RImmInstruction() local 373 unsigned Op1, Op2; in DecodeR2RInstruction() local 386 unsigned Op1, Op2; in Decode2RSrcDstInstruction() local 400 unsigned Op1, Op2; in DecodeRUSInstruction() local 413 unsigned Op1, Op2; in DecodeRUSBitpInstruction() local 426 unsigned Op1, Op2; in DecodeRUSSrcDstBitpInstruction() local 511 unsigned Op1, Op2; in DecodeL2RInstruction() local 525 unsigned Op1, Op2; in DecodeLR2RInstruction() local 539 unsigned Op1, Op2, Op3; in Decode3RInstruction() local [all …]
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 182 if (match(Op1, m_AllOnes())) { in visitMul() 258 if (isa<Constant>(Op1)) { in visitMul() 296 Value *Op1C = Op1; in visitMul() 531 std::swap(Op0, Op1); in visitFMul() 540 if (isa<Constant>(Op1)) { in visitFMul() 618 OpX = Op1; in visitFMul() 639 Value *Opnd1 = Op1; in visitFMul() 695 if (!isa<Constant>(Op1)) in visitFMul() 1307 } else if (Op1->hasOneUse() && match(Op1, m_FDiv(m_Value(X), m_Value(Y)))) { in visitFDiv() 1349 if (isa<Constant>(Op1)) { in commonIRemTransforms() [all …]
|
H A D | InstCombineShifts.cpp | 26 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in commonShiftTransforms() local 34 if (SelectInst *SI = dyn_cast<SelectInst>(Op1)) in commonShiftTransforms() 38 if (Constant *CUI = dyn_cast<Constant>(Op1)) in commonShiftTransforms() 46 if (Op1->hasOneUse() && match(Op1, m_SRem(m_Value(A), m_Power2(B)))) { in commonShiftTransforms() 50 Op1->getName()); in commonShiftTransforms() 328 COp1 = dyn_cast<ConstantInt>(Op1); in FoldShiftByConstant() 425 m_Specific(Op1)))) { in FoldShiftByConstant() 461 m_Specific(Op1)))) { in FoldShiftByConstant() 745 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in visitLShr() local 747 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) { in visitLShr() [all …]
|
H A D | InstCombineCompares.cpp | 2588 std::swap(Op0, Op1); in visitICmpInst() 3067 if (Op1 && Op2) in visitICmpInst() 3082 if (!Op1) in visitICmpInst() 3129 (isa<Constant>(Op1) || isa<BitCastInst>(Op1))) { in visitICmpInst() 3145 Op1 = Builder->CreateBitCast(Op1, Op0->getType()); in visitICmpInst() 3159 if (isa<Constant>(Op1) || isa<CastInst>(Op1)) in visitICmpInst() 3194 if ((A == Op1 || B == Op1) && NoOp0WrapProblem) in visitICmpInst() 3446 (Op1 == A || Op1 == B)) in visitICmpInst() 3473 if (A == Op1 || B == Op1) { // (A^B) == A -> B == 0 in visitICmpInst() 3522 Op1 = Builder->CreateAnd(Op1, Z); in visitICmpInst() [all …]
|
H A D | InstCombineAndOrXor.cpp | 1376 Value *tmpOp1 = Op1; in visitAnd() 1379 if (A == Op1 || B == Op1 ) { in visitAnd() 1381 tmpOp0 = Op1; in visitAnd() 1411 if (Op1->hasOneUse() || cast<BinaryOperator>(Op1)->hasOneUse()) in visitAnd() 1504 std::swap(Op0, Op1); in visitAnd() 1523 std::swap(Op0, Op1); in visitAnd() 2236 if (Op1->hasOneUse() && in visitOr() 2365 if (Op1->hasOneUse() || cast<BinaryOperator>(Op1)->hasOneUse()) in visitOr() 2390 std::swap(Op0, Op1); in visitOr() 2439 std::swap(Op0, Op1); in visitOr() [all …]
|
H A D | InstCombineAddSub.cpp | 1518 if (Value *V = dyn_castNegVal(Op1)) { in visitSub() 1535 return BinaryOperator::CreateXor(Op0, Op1); in visitSub() 1539 return BinaryOperator::CreateNot(Op1); in visitSub() 1544 if (match(Op1, m_Not(m_Value(X)))) in visitSub() 1548 if (SelectInst *SI = dyn_cast<SelectInst>(Op1)) in visitSub() 1617 Y, Builder->CreateNot(Op1, Op1->getName() + ".not")); in visitSub() 1620 if (Op1->hasOneUse()) { in visitSub() 1626 if (match(Op1, m_Sub(m_Value(Y), m_Value(Z)))) in visitSub() 1668 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub() 1711 if (SelectInst *SI = dyn_cast<SelectInst>(Op1)) in visitFSub() [all …]
|
H A D | InstructionCombining.cpp | 253 if (Op1 && Op1->getOpcode() == Opcode) { in SimplifyAssociativeOrCommutative() 255 Value *B = Op1->getOperand(0); in SimplifyAssociativeOrCommutative() 256 Value *C = Op1->getOperand(1); in SimplifyAssociativeOrCommutative() 295 if (Op1 && Op1->getOpcode() == Opcode) { in SimplifyAssociativeOrCommutative() 316 if (Op0 && Op1 && in SimplifyAssociativeOrCommutative() 335 New->takeName(Op1); in SimplifyAssociativeOrCommutative() 615 if (Op1 && LeftDistributesOverRight(TopLevelOpcode, Op1->getOpcode())) { in SimplifyUsingDistributiveLaws() 618 Value *A = LHS, *B = Op1->getOperand(0), *C = Op1->getOperand(1); in SimplifyUsingDistributiveLaws() 629 return Op1; in SimplifyUsingDistributiveLaws() 698 std::swap(Op0, Op1); in FoldOperationIntoSelectOperand() [all …]
|
/minix/external/bsd/llvm/dist/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 227 if (Op1 && Op1->getOpcode() == Opcode) { in SimplifyAssociativeBinOp() 269 if (Op1 && Op1->getOpcode() == Opcode) { in SimplifyAssociativeBinOp() 543 return Op1; in SimplifyAddInst() 892 return Op1; in SimplifyFMulInst() 918 return Op1; in SimplifyMulInst() 1012 return Op1; in SimplifyDiv() 1127 return Op1; in SimplifyFDivInst() 1153 return Op1; in SimplifyRem() 1572 (A == Op1 || B == Op1)) in SimplifyAndInst() 1729 (A == Op1 || B == Op1)) in SimplifyOrInst() [all …]
|
H A D | ConstantFolding.cpp | 639 computeKnownBits(Op1, KnownZero1, KnownOne1, DL); in SymbolicallyEvaluateBinop() 646 return Op1; in SymbolicallyEvaluateBinop() 663 if (IsConstantOffsetFromGlobal(Op1, GV2, Offs2, *DL) && in SymbolicallyEvaluateBinop() 1621 if (ConstantFP *Op1 = dyn_cast<ConstantFP>(Operands[0])) { in ConstantFoldScalarCall() local 1624 double Op1V = getValueAsDouble(Op1); in ConstantFoldScalarCall() 1627 if (Op2->getType() != Op1->getType()) in ConstantFoldScalarCall() 1635 APFloat V1 = Op1->getValueAPF(); in ConstantFoldScalarCall() 1642 const APFloat &C1 = Op1->getValueAPF(); in ConstantFoldScalarCall() 1648 const APFloat &C1 = Op1->getValueAPF(); in ConstantFoldScalarCall() 1678 if (ConstantInt *Op1 = dyn_cast<ConstantInt>(Operands[0])) { in ConstantFoldScalarCall() local [all …]
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/Target/ |
H A D | TargetSelectionDAGInfo.h | 59 SDValue Op1, SDValue Op2, in EmitTargetCodeForMemcpy() argument 76 SDValue Op1, SDValue Op2, in EmitTargetCodeForMemmove() argument 92 SDValue Op1, SDValue Op2, in EmitTargetCodeForMemset() argument 106 SDValue Op1, SDValue Op2, in EmitTargetCodeForMemcmp() argument 147 SDValue Op1, SDValue Op2, in EmitTargetCodeForStrcmp() argument
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | Scalarizer.cpp | 74 Value *operator()(IRBuilder<> &Builder, Value *Op0, Value *Op1, in operator ()() 85 Value *operator()(IRBuilder<> &Builder, Value *Op0, Value *Op1, in operator ()() 98 return Builder.CreateBinOp(BO.getOpcode(), Op0, Op1, Name); in operator ()() 382 Scatterer Op1 = scatter(&I, I.getOperand(1)); in splitBinary() local 388 Res[Elem] = Split(Builder, Op0[Elem], Op1[Elem], in splitBinary() 401 Scatterer Op1 = scatter(&SI, SI.getOperand(1)); in visitSelectInst() local 403 assert(Op1.size() == NumElems && "Mismatched select"); in visitSelectInst() 412 Res[I] = Builder.CreateSelect(Op0[I], Op1[I], Op2[I], in visitSelectInst() 417 Res[I] = Builder.CreateSelect(Op0, Op1[I], Op2[I], in visitSelectInst() 549 Scatterer Op1 = scatter(&SVI, SVI.getOperand(1)); in visitShuffleVectorInst() local [all …]
|
H A D | CorrelatedValuePropagation.cpp | 170 Constant *Op1 = dyn_cast<Constant>(C->getOperand(1)); in processCmp() local 171 if (!Op1) return false; in processCmp() 177 C->getOperand(0), Op1, *PI, in processCmp() 184 C->getOperand(0), Op1, *PI, in processCmp()
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/Sparc/ |
H A D | SparcISelDAGToDAG.cpp | 201 SDValue Op0, Op1; in SelectInlineAsmMemoryOperand() local 205 if (!SelectADDRrr(Op, Op0, Op1)) in SelectInlineAsmMemoryOperand() 206 SelectADDRri(Op, Op0, Op1); in SelectInlineAsmMemoryOperand() 211 OutOps.push_back(Op1); in SelectInlineAsmMemoryOperand()
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAG.h | 640 SDValue getCALLSEQ_END(SDValue Chain, SDValue Op1, SDValue Op2, 645 Ops.push_back(Op1); 897 SDNode *UpdateNodeOperands(SDNode *N, SDValue Op1, SDValue Op2, 912 SDValue Op1, SDValue Op2); 914 SDValue Op1, SDValue Op2, SDValue Op3); 925 EVT VT2, SDValue Op1); 927 EVT VT2, SDValue Op1, SDValue Op2); 948 SDValue Op1); 950 SDValue Op1, SDValue Op2); 957 SDValue Op1); [all …]
|
H A D | FastISel.h | 342 bool Op0IsKill, unsigned Op1, bool Op1IsKill); 360 unsigned Op0, bool Op0IsKill, unsigned Op1, 396 bool Op0IsKill, unsigned Op1, bool Op1IsKill); 402 bool Op0IsKill, unsigned Op1, bool Op1IsKill, 427 bool Op0IsKill, unsigned Op1, bool Op1IsKill, 434 bool Op0IsKill, unsigned Op1, bool Op1IsKill,
|
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FastISel.cpp | 405 if (!Op1) in selectBinaryOp() 464 unsigned Op1 = getRegForValue(I->getOperand(1)); in selectBinaryOp() local 1737 Op1 = constrainOperandRegClass(II, Op1, II.getNumDefs() + 1); in fastEmitInst_rr() 1762 Op1 = constrainOperandRegClass(II, Op1, II.getNumDefs() + 1); in fastEmitInst_rrr() 1768 .addReg(Op1, getKillRegState(Op1IsKill)) in fastEmitInst_rrr() 1773 .addReg(Op1, getKillRegState(Op1IsKill)) in fastEmitInst_rrr() 1858 Op1 = constrainOperandRegClass(II, Op1, II.getNumDefs() + 1); in fastEmitInst_rri() 1863 .addReg(Op1, getKillRegState(Op1IsKill)) in fastEmitInst_rri() 1868 .addReg(Op1, getKillRegState(Op1IsKill)) in fastEmitInst_rri() 1885 Op1 = constrainOperandRegClass(II, Op1, II.getNumDefs() + 1); in fastEmitInst_rrii() [all …]
|
H A D | LegalizeVectorOps.cpp | 704 SDValue Op1 = Op.getOperand(1); in ExpandSELECT() local 708 && Op1.getValueType() == Op2.getValueType() && "Invalid type"); in ExpandSELECT() 740 Op1 = DAG.getNode(ISD::BITCAST, DL, MaskTy, Op1); in ExpandSELECT() 747 Op1 = DAG.getNode(ISD::AND, DL, MaskTy, Op1, Mask); in ExpandSELECT() 749 SDValue Val = DAG.getNode(ISD::OR, DL, MaskTy, Op1, Op2); in ExpandSELECT() 881 SDValue Op1 = Op.getOperand(1); in ExpandVSELECT() local 896 TLI.getBooleanContents(Op1.getValueType()) != in ExpandVSELECT() 903 if (VT.getSizeInBits() != Op1.getValueType().getSizeInBits()) in ExpandVSELECT() 909 Op1 = DAG.getNode(ISD::BITCAST, DL, VT, Op1); in ExpandVSELECT() 916 Op1 = DAG.getNode(ISD::AND, DL, VT, Op1, Mask); in ExpandVSELECT() [all …]
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/X86/AsmParser/ |
H A D | X86AsmParser.cpp | 180 Val = Op1.second + Op2.second; in execute() 184 Val = Op1.second - Op2.second; in execute() 190 Val = Op1.second * Op2.second; in execute() 197 Val = Op1.second / Op2.second; in execute() 203 Val = Op1.second | Op2.second; in execute() 209 Val = Op1.second & Op2.second; in execute() 838 if (!Op1.isMem() || !Op2.isMem()) in doSrcDstMatch() 843 unsigned diReg = Op1.Mem.BaseReg; in doSrcDstMatch() 2212 if (Op1.isImm() && isa<MCConstantExpr>(Op1.getImm()) && in ParseInstruction() 2217 if (Op1.isImm() && isa<MCConstantExpr>(Op1.getImm()) && in ParseInstruction() [all …]
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86FloatingPoint.cpp | 1153 bool KillsOp1 = MI->killsRegister(X86::FP0+Op1); in handleTwoArgFP() 1168 moveToTop(Op1, I); in handleTwoArgFP() 1169 TOS = Op1; in handleTwoArgFP() 1216 unsigned NotTOS = (TOS == Op0) ? Op1 : Op0; in handleTwoArgFP() 1224 if (KillsOp0 && KillsOp1 && Op0 != Op1) { in handleTwoArgFP() 1258 MI->getOperand(0).setReg(getSTReg(Op1)); in handleCompareFP() 1264 if (KillsOp1 && Op0 != Op1) freeStackSlotAfter(I, Op1); in handleCompareFP() 1275 unsigned Op1 = getFPReg(MI->getOperand(2)); in handleCondMovFP() local 1285 MI->getOperand(0).setReg(getSTReg(Op1)); in handleCondMovFP() 1289 if (Op0 != Op1 && KillsOp1) { in handleCondMovFP() [all …]
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelDAGToDAG.cpp | 399 SDValue Op0, uint64_t Op1) { in expandDisp() argument 401 int64_t TestDisp = AM.Disp + Op1; in expandDisp() 423 SDValue Op1 = N.getOperand(1); in expandAddress() local 426 unsigned Op1Code = Op1->getOpcode(); in expandAddress() 429 return expandAdjDynAlloc(AM, IsBase, Op1); in expandAddress() 434 return expandDisp(AM, IsBase, Op1, in expandAddress() 438 cast<ConstantSDNode>(Op1)->getSExtValue()); in expandAddress() 440 if (IsBase && expandIndex(AM, Op0, Op1)) in expandAddress() 1061 if (auto *Op1 = dyn_cast<ConstantSDNode>(Node->getOperand(1))) { in Select() local 1062 uint64_t Val = Op1->getZExtValue(); in Select() [all …]
|
H A D | SystemZISelLowering.cpp | 47 SDValue Op0, Op1; member 1129 C.Op1 = DAG.getConstant(0, C.Op1.getValueType()); in adjustZeroCmp() 1140 C.Op1.getOpcode() != ISD::Constant) in adjustSubwordCmp() 1235 if (isa<ConstantFPSDNode>(C.Op1)) in shouldSwapCmpOperands() 1246 if (isNaturalMemoryOperand(C.Op1, C.ICmpType) && C.Op1.hasOneUse()) in shouldSwapCmpOperands() 1505 NewC.Op1 = C.Op0.getOperand(1); in adjustForTestUnderMask() 1566 C.Op1 = SDValue(Mask, 0); in adjustForTestUnderMask() 1607 std::swap(C.Op0, C.Op1); in getCmp() 1636 Op1 = DAG.getNode(Extend, DL, MVT::i64, Op1); in lowerMUL_LOHI32() 2092 SDValue Op1 = Op.getOperand(1); in lowerSDIVREM() local [all …]
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/XCore/ |
H A D | XCoreSelectionDAGInfo.h | 31 SDValue Op1, SDValue Op2,
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/AArch64/Utils/ |
H A D | AArch64BaseInfo.cpp | 803 uint32_t Op0 = 0, Op1 = 0, CRn = 0, CRm = 0, Op2 = 0; in fromString() local 806 Ops[2].getAsInteger(10, Op1); in fromString() 810 Bits = (Op0 << 14) | (Op1 << 11) | (CRn << 7) | (CRm << 3) | Op2; in fromString() 844 uint32_t Op1 = (Bits >> 11) & 0x7; in toString() local 849 return "s" + utostr(Op0)+ "_" + utostr(Op1) + "_c" + utostr(CRn) in toString()
|
/minix/external/bsd/llvm/dist/llvm/lib/DebugInfo/ |
H A D | DWARFDebugFrame.cpp | 107 uint64_t Op1 = Opcode & DWARF_CFI_PRIMARY_OPERAND_MASK; in parseInstructions() local 112 addInstruction(Primary, Op1); in parseInstructions() 115 addInstruction(Primary, Op1, Data.getULEB128(Offset)); in parseInstructions()
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/ARM/ |
H A D | ARMSelectionDAGInfo.h | 54 SDValue Op1, SDValue Op2,
|