Home
last modified time | relevance | path

Searched refs:SubOp (Results 1 – 12 of 12) 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/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.cpp381 SubOp::SubOp (GeneratorState& state, ConstValueRangeAccess valueRange) in SubOp() function in rsg::SubOp
386 float SubOp::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange) in getWeight()
DrsgExpression.cpp291 { getWeight<SubOp>, create<SubOp> },
/external/llvm/lib/TableGen/
DSetTheory.cpp37 struct SubOp : public SetTheory::Operator { struct
249 addOperator("sub", llvm::make_unique<SubOp>()); in SetTheory()
/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/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/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()