Home
last modified time | relevance | path

Searched refs:FSub (Results 1 – 25 of 41) sorted by relevance

12

/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp120 case Instruction::FSub: return Instruction::Sub; in mapBinOpcode()
217 case Instruction::FSub: in walkBackwards()
263 case Instruction::FSub: in walkForwards()
490 case Instruction::FSub: in convert()
DReassociate.cpp1003 isReassociableOp(V0, Instruction::Sub, Instruction::FSub)) in ShouldBreakUpSubtract()
1007 isReassociableOp(V1, Instruction::Sub, Instruction::FSub)) in ShouldBreakUpSubtract()
1012 isReassociableOp(VB, Instruction::Sub, Instruction::FSub))) in ShouldBreakUpSubtract()
2007 UserOpcode != Instruction::Sub && UserOpcode != Instruction::FSub) in canonicalizeNegConstExpr()
2046 case Instruction::FSub: in canonicalizeNegConstExpr()
2129 } else if (I->getOpcode() == Instruction::FSub) { in OptimizeInst()
2165 cast<Instruction>(BO->user_back())->getOpcode() == Instruction::FSub) in OptimizeInst()
DSCCP.cpp1314 case Instruction::FSub: in ResolvedUndefsIn()
/external/llvm/lib/Target/Mips/
DMipsOs16.cpp85 case Instruction::FSub: in needsFP()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp572 FAddSub->getOpcode() == Instruction::FSub)) { in visitFMul()
590 if (Swap && FAddSub->getOpcode() == Instruction::FSub) in visitFMul()
631 Value *FSub = Builder->CreateFSub(FMulVal, OpX); in visitFMul() local
632 FSub->takeName(&I); in visitFMul()
633 return ReplaceInstUsesWith(I, FSub); in visitFMul()
DInstCombineAddSub.cpp359 if (Opcode == Instruction::FAdd || Opcode == Instruction::FSub) { in drillValueDownOneStep()
382 if (Opcode == Instruction::FSub) in drillValueDownOneStep()
442 I->getOpcode() == Instruction::FSub) && "Expect add/sub"); in performFactorization()
525 I->getOpcode() == Instruction::FSub) && "Expect add/sub"); in simplify()
DInstCombineVectorOps.cpp613 case Instruction::FSub: in CanEvaluateShuffled()
676 case Instruction::FSub: in BuildNew()
776 case Instruction::FSub: in EvaluateInDifferentElementOrder()
DInstCombineSelect.cpp1088 (TI->getOpcode() == Instruction::FSub && in visitSelectInst()
1093 (FI->getOpcode() == Instruction::FSub && in visitSelectInst()
DInstCombineCasts.cpp1205 case Instruction::FSub: in visitFPTrunc()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp761 case Instruction::FSub: in getConstantValue()
796 case Instruction::FSub: in getConstantValue()
811 case Instruction::FSub: in getConstantValue()
832 case Instruction::FSub: in getConstantValue()
/external/llvm/include/llvm/IR/
DInstruction.def111 HANDLE_BINARY_INST(11, FSub , BinaryOperator)
DPatternMatch.h452 inline BinaryOp_match<LHS, RHS, Instruction::FSub> m_FSub(const LHS &L, in m_FSub()
454 return BinaryOp_match<LHS, RHS, Instruction::FSub>(L, R); in m_FSub()
886 if (O->getOpcode() == Instruction::FSub) in match()
/external/llvm/lib/IR/
DInstruction.cpp199 case FSub: return "fsub"; in getOpcodeName()
DInstructions.cpp1680 case FAdd: case FSub: in init()
1800 return new BinaryOperator(Instruction::FSub, zero, Op, in CreateFNeg()
1807 return new BinaryOperator(Instruction::FSub, zero, Op, in CreateFNeg()
1843 if (Bop->getOpcode() == Instruction::FSub) in isFNeg()
DConstants.cpp1862 case Instruction::FSub: in get()
2249 return get(Instruction::FSub, C1, C2); in getFSub()
/external/llvm/lib/Analysis/
DCostModel.cpp399 case Instruction::FSub: in getInstructionCost()
DInstructionSimplify.cpp820 Instruction *FSub = cast<Instruction>(SubOp); in SimplifyFAddInst() local
821 if ((FMF.noNaNs() || FSub->hasNoNaNs()) && in SimplifyFAddInst()
822 (FMF.noInfs() || FSub->hasNoInfs())) in SimplifyFAddInst()
836 return ConstantFoldInstOperands(Instruction::FSub, CLHS->getType(), in SimplifyFSubInst()
3439 case Instruction::FSub: in SimplifyBinOp()
3502 case Instruction::FSub: in SimplifyFPBinOp()
3650 case Instruction::FSub: in SimplifyInstruction()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp138 return Instruction::FSub; in getAltOpcode()
139 case Instruction::FSub: in getAltOpcode()
154 if (Op == Instruction::FAdd || Op == Instruction::FSub || in canCombineAsAltInst()
1216 case Instruction::FSub: in buildTree_rec()
1480 case Instruction::FSub: in getEntryCost()
2241 case Instruction::FSub: in vectorizeTree()
DLoopVectorize.cpp3175 case Instruction::FSub: in vectorizeBlockInLoop()
4307 case Instruction::FSub: in isReductionInstr()
5025 case Instruction::FSub: in getInstructionCost()
/external/llvm/lib/Transforms/ObjCARC/
DARCInstKind.cpp268 case Instruction::FSub: in GetARCInstKind()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp872 case Instruction::FSub: Out << "getFSub("; break; in printConstant()
1220 case Instruction::FSub: in printInstruction()
1240 case Instruction::FSub: Out << "Instruction::FSub"; break; in printInstruction()
/external/llvm/lib/AsmParser/
DLLLexer.cpp702 INSTKEYWORD(sub, Sub); INSTKEYWORD(fsub, FSub); in LexIdentifier()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp744 case Instruction::FSub: FLOAT_VECTOR_OP(-) break; in visitBinaryOperator()
774 case Instruction::FSub: executeFSubInst(R, Src1, Src2, Ty); break; in visitBinaryOperator()
2030 case Instruction::FSub: executeFSubInst(Dest, Op0, Op1, Ty); break; in getConstantExprValue()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp343 case 1:{Op = (isFloat?Instruction::FSub : Instruction::Sub); break; } in Act()
/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp1531 case FSub: return ISD::FSUB; in InstructionOpcodeToISD()

12