Home
last modified time | relevance | path

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

/external/llvm/utils/TableGen/
DCodeGenInstruction.cpp527 for (unsigned SubOp = 0; SubOp != NumSubOps; ++SubOp) { in CodeGenInstAlias() local
530 Record *SubRec = dynamic_cast<DefInit*>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias()
534 ResultInstOperandIndex.push_back(std::make_pair(i, SubOp)); in CodeGenInstAlias()
539 (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.cpp766 Instruction *AddOp = 0, *SubOp = 0; in visitSelectInst() local
779 AddOp = FI; SubOp = TI; in visitSelectInst()
784 AddOp = TI; SubOp = FI; in visitSelectInst()
789 if (SubOp->getOperand(0) == AddOp->getOperand(0)) { in visitSelectInst()
791 } else if (SubOp->getOperand(0) == AddOp->getOperand(1)) { in visitSelectInst()
800 NegVal = Builder->CreateFNeg(SubOp->getOperand(1)); in visitSelectInst()
802 NegVal = Builder->CreateNeg(SubOp->getOperand(1)); in visitSelectInst()
814 return BinaryOperator::CreateFAdd(SubOp->getOperand(0), NewSel); in visitSelectInst()
816 return BinaryOperator::CreateAdd(SubOp->getOperand(0), NewSel); in visitSelectInst()