Home
last modified time | relevance | path

Searched refs:SubOp (Results 1 – 21 of 21) sorted by relevance

/external/llvm/utils/TableGen/
DCodeGenInstruction.cpp644 for (unsigned SubOp = 0; SubOp != NumSubOps; ++SubOp) { in CodeGenInstAlias() local
645 Record *SubRec = cast<DefInit>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias()
650 MIOI->getArgName(SubOp), in CodeGenInstAlias()
652 ResultInstOperandIndex.push_back(std::make_pair(i, SubOp)); in CodeGenInstAlias()
663 for (unsigned SubOp = 0; SubOp != NumSubOps; ++SubOp) { in CodeGenInstAlias() local
666 Record *SubRec = cast<DefInit>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias()
670 ResultInstOperandIndex.push_back(std::make_pair(i, SubOp)); in CodeGenInstAlias()
675 (SubOp == 0 ? InstOpRec->getName() :SubRec->getName())); in CodeGenInstAlias()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenInstruction.cpp668 for (unsigned SubOp = 0; SubOp != NumSubOps; ++SubOp) { in CodeGenInstAlias() local
669 Record *SubRec = cast<DefInit>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias()
675 MIOI->getArgName(SubOp)->getAsUnquotedString(), SubRec); in CodeGenInstAlias()
676 ResultInstOperandIndex.push_back(std::make_pair(i, SubOp)); in CodeGenInstAlias()
687 for (unsigned SubOp = 0; SubOp != NumSubOps; ++SubOp) { in CodeGenInstAlias() local
690 Record *SubRec = cast<DefInit>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias()
694 ResultInstOperandIndex.push_back(std::make_pair(i, SubOp)); in CodeGenInstAlias()
699 (SubOp == 0 ? InstOpRec->getName() :SubRec->getName())); in CodeGenInstAlias()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineSelect.cpp778 Instruction *AddOp = 0, *SubOp = 0; in visitSelectInst() local
791 AddOp = FI; SubOp = TI; in visitSelectInst()
796 AddOp = TI; SubOp = FI; in visitSelectInst()
801 if (SubOp->getOperand(0) == AddOp->getOperand(0)) { in visitSelectInst()
803 } else if (SubOp->getOperand(0) == AddOp->getOperand(1)) { in visitSelectInst()
812 NegVal = Builder->CreateFNeg(SubOp->getOperand(1)); in visitSelectInst()
814 NegVal = Builder->CreateNeg(SubOp->getOperand(1)); in visitSelectInst()
826 return BinaryOperator::CreateFAdd(SubOp->getOperand(0), NewSel); in visitSelectInst()
828 return BinaryOperator::CreateAdd(SubOp->getOperand(0), NewSel); in visitSelectInst()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenInstruction.cpp536 for (unsigned SubOp = 0; SubOp != NumSubOps; ++SubOp) { in CodeGenInstAlias() local
539 Record *SubRec = dynamic_cast<DefInit*>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias()
543 ResultInstOperandIndex.push_back(std::make_pair(i, SubOp)); in CodeGenInstAlias()
548 (SubOp == 0 ? InstOpRec->getName() :SubRec->getName())); in CodeGenInstAlias()
DSetTheory.cpp36 struct SubOp : public SetTheory::Operator { struct
203 addOperator("sub", new SubOp); in SetTheory()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp852 Instruction *AddOp = nullptr, *SubOp = nullptr; in foldAddSubSelect() local
858 SubOp = TI; in foldAddSubSelect()
864 SubOp = FI; in foldAddSubSelect()
869 if (SubOp->getOperand(0) == AddOp->getOperand(0)) { in foldAddSubSelect()
871 } else if (SubOp->getOperand(0) == AddOp->getOperand(1)) { in foldAddSubSelect()
880 NegVal = Builder.CreateFNeg(SubOp->getOperand(1)); in foldAddSubSelect()
883 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect()
887 NegVal = Builder.CreateNeg(SubOp->getOperand(1)); in foldAddSubSelect()
899 BinaryOperator::CreateFAdd(SubOp->getOperand(0), NewSel); in foldAddSubSelect()
902 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect()
[all …]
/external/deqp/framework/randomshaders/
DrsgBinaryOps.hpp136 class SubOp : public SubBase class
139 SubOp (GeneratorState& state, ConstValueRangeAccess valueRange);
140 virtual ~SubOp (void) {} in ~SubOp()
DrsgBinaryOps.cpp631 SubOp::SubOp (GeneratorState& state, ConstValueRangeAccess valueRange) in SubOp() function in rsg::SubOp
636 float SubOp::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange) in getWeight()
DrsgExpression.cpp291 { getWeight<SubOp>, create<SubOp> },
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1171 Instruction *AddOp = nullptr, *SubOp = nullptr; in foldAddSubSelect() local
1177 SubOp = TI; in foldAddSubSelect()
1183 SubOp = FI; in foldAddSubSelect()
1188 if (SubOp->getOperand(0) == AddOp->getOperand(0)) { in foldAddSubSelect()
1190 } else if (SubOp->getOperand(0) == AddOp->getOperand(1)) { in foldAddSubSelect()
1199 NegVal = Builder.CreateFNeg(SubOp->getOperand(1)); in foldAddSubSelect()
1202 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect()
1206 NegVal = Builder.CreateNeg(SubOp->getOperand(1)); in foldAddSubSelect()
1218 BinaryOperator::CreateFAdd(SubOp->getOperand(0), NewSel); in foldAddSubSelect()
1221 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect()
[all …]
/external/llvm/lib/TableGen/
DSetTheory.cpp37 struct SubOp : public SetTheory::Operator { struct
249 addOperator("sub", llvm::make_unique<SubOp>()); in SetTheory()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DSetTheory.cpp48 struct SubOp : public SetTheory::Operator { struct
260 addOperator("sub", llvm::make_unique<SubOp>()); in SetTheory()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp866 unsigned SubOp = Subtarget->hasAddNoCarry() ? in SelectDS1Addr1Offset() local
870 = CurDAG->getMachineNode(SubOp, DL, MVT::i32, in SelectDS1Addr1Offset()
939 unsigned SubOp = Subtarget->hasAddNoCarry() ? in SelectDS64Bit4ByteAligned() local
943 = CurDAG->getMachineNode(SubOp, DL, MVT::i32, in SelectDS64Bit4ByteAligned()
DSIInstrInfo.cpp4128 unsigned SubOp = ST.hasAddNoCarry() ? in lowerScalarAbs() local
4131 BuildMI(MBB, MII, DL, get(SubOp), TmpReg) in lowerScalarAbs()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp809 Value *SubOp = nullptr; in SimplifyFAddInst() local
811 SubOp = Op1; in SimplifyFAddInst()
813 SubOp = Op0; in SimplifyFAddInst()
814 if (SubOp) { in SimplifyFAddInst()
815 Instruction *FSub = cast<Instruction>(SubOp); in SimplifyFAddInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp1832 SDValue SubOp = Node->getOperand(i); in LowerCONCAT_VECTORS() local
1833 EVT VVT = SubOp.getNode()->getValueType(0); in LowerCONCAT_VECTORS()
1837 Ops.push_back(DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, EltVT, SubOp, in LowerCONCAT_VECTORS()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp1686 SDValue SubOp = Node->getOperand(i); in LowerCONCAT_VECTORS() local
1687 EVT VVT = SubOp.getNode()->getValueType(0); in LowerCONCAT_VECTORS()
1691 Ops.push_back(DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, EltVT, SubOp, in LowerCONCAT_VECTORS()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp3963 unsigned SubOp; in expandDivRem() local
3968 SubOp = Mips::DSUB; in expandDivRem()
3972 SubOp = Mips::SUB; in expandDivRem()
4008 TOut.emitRRR(SubOp, RdReg, ZeroReg, RsReg, IDLoc, STI); in expandDivRem()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1447 SDValue SubOp = Op.getOperand(i); in SimplifyDemandedVectorElts() local
1450 if (SimplifyDemandedVectorElts(SubOp, SubElts, SubUndef, SubZero, TLO, in SimplifyDemandedVectorElts()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp27424 for (const SDValue &SubOp : Opd.getNode()->op_values()) { in canReduceVMulWidth() local
27425 if (SubOp.isUndef()) in canReduceVMulWidth()
27427 auto *CN = dyn_cast<ConstantSDNode>(SubOp); in canReduceVMulWidth()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp33511 for (const SDValue &SubOp : Opd.getNode()->op_values()) { in canReduceVMulWidth() local
33512 if (SubOp.isUndef()) in canReduceVMulWidth()
33514 auto *CN = dyn_cast<ConstantSDNode>(SubOp); in canReduceVMulWidth()