Home
last modified time | relevance | path

Searched refs:FNeg (Results 1 – 25 of 77) sorted by relevance

1234

/external/llvm-project/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp214 case Instruction::FNeg: in walkBackwards()
255 case Instruction::FNeg: in walkForwards()
490 case Instruction::FNeg: in convert()
DSpeculativeExecution.cpp245 case Instruction::FNeg: in ComputeSpeculationCost()
DGVNSink.cpp447 case Instruction::FNeg: in lookupOrAdd()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp215 case Instruction::FNeg: in walkBackwards()
256 case Instruction::FNeg: in walkForwards()
491 case Instruction::FNeg: in convert()
DSpeculativeExecution.cpp244 case Instruction::FNeg: in ComputeSpeculationCost()
DGVNSink.cpp445 case Instruction::FNeg: in lookupOrAdd()
/external/llvm-project/llvm/unittests/IR/
DInstructionsTest.cpp1265 UnaryOperator *FNeg = UnaryOperator::CreateFNegFMF(One, FAdd); in TEST() local
1266 EXPECT_TRUE(FNeg->hasNoNaNs()); in TEST()
1267 EXPECT_FALSE(FNeg->hasNoInfs()); in TEST()
1268 EXPECT_FALSE(FNeg->hasNoSignedZeros()); in TEST()
1269 EXPECT_FALSE(FNeg->hasAllowReciprocal()); in TEST()
1270 EXPECT_FALSE(FNeg->hasAllowContract()); in TEST()
1271 EXPECT_FALSE(FNeg->hasAllowReassoc()); in TEST()
1272 EXPECT_FALSE(FNeg->hasApproxFunc()); in TEST()
1274 FNeg->deleteValue(); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp343 if (TI->getOpcode() != Instruction::FNeg) in foldSelectOpOp()
2491 Instruction *FNeg; in visitSelectInst() local
2494 match(TrueVal, m_Instruction(FNeg)) && in visitSelectInst()
2495 FNeg->hasNoNaNs() && FNeg->hasNoSignedZeros() && in visitSelectInst()
2498 Value *Fabs = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, FalseVal, FNeg); in visitSelectInst()
2506 match(FalseVal, m_Instruction(FNeg)) && in visitSelectInst()
2507 FNeg->hasNoNaNs() && FNeg->hasNoSignedZeros() && in visitSelectInst()
2510 Value *Fabs = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, TrueVal, FNeg); in visitSelectInst()
DInstCombineAddSub.cpp2140 Value *FNeg; in hoistFNegAboveFMulFDiv() local
2141 if (!match(&I, m_FNeg(m_Value(FNeg)))) in hoistFNegAboveFMulFDiv()
2145 if (match(FNeg, m_OneUse(m_FMul(m_Value(X), m_Value(Y))))) in hoistFNegAboveFMulFDiv()
2148 if (match(FNeg, m_OneUse(m_FDiv(m_Value(X), m_Value(Y))))) in hoistFNegAboveFMulFDiv()
DInstCombineCalls.cpp2192 Instruction *FNeg = BinaryOperator::CreateFNeg(NewCall); in visitCallInst() local
2193 FNeg->copyIRFlags(II); in visitCallInst()
2194 return FNeg; in visitCallInst()
2360 Instruction *FNeg = BinaryOperator::CreateFNeg(NewSin); in visitCallInst() local
2361 FNeg->copyFastMathFlags(II); in visitCallInst()
2362 return FNeg; in visitCallInst()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp2745 Instruction *FNeg; in visitSelectInst() local
2748 match(TrueVal, m_Instruction(FNeg)) && in visitSelectInst()
2749 FNeg->hasNoNaNs() && FNeg->hasNoSignedZeros() && in visitSelectInst()
2752 Value *Fabs = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, FalseVal, FNeg); in visitSelectInst()
2760 match(FalseVal, m_Instruction(FNeg)) && in visitSelectInst()
2761 FNeg->hasNoNaNs() && FNeg->hasNoSignedZeros() && in visitSelectInst()
2764 Value *Fabs = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, TrueVal, FNeg); in visitSelectInst()
DInstCombineCalls.cpp1110 Instruction *FNeg = UnaryOperator::CreateFNeg(NewCall); in visitCallInst() local
1111 FNeg->copyIRFlags(II); in visitCallInst()
1112 return FNeg; in visitCallInst()
1312 Instruction *FNeg = UnaryOperator::CreateFNeg(NewSin); in visitCallInst() local
1313 FNeg->copyFastMathFlags(II); in visitCallInst()
1314 return FNeg; in visitCallInst()
DInstCombineAddSub.cpp2105 Value *FNeg; in hoistFNegAboveFMulFDiv() local
2106 if (!match(&I, m_FNeg(m_Value(FNeg)))) in hoistFNegAboveFMulFDiv()
2110 if (match(FNeg, m_OneUse(m_FMul(m_Value(X), m_Value(Y))))) in hoistFNegAboveFMulFDiv()
2113 if (match(FNeg, m_OneUse(m_FDiv(m_Value(X), m_Value(Y))))) in hoistFNegAboveFMulFDiv()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstruction.def142 HANDLE_UNARY_INST(12, FNeg , UnaryOperator)
DOperator.h383 case Instruction::FNeg: in classof()
/external/llvm-project/llvm/include/llvm/IR/
DInstruction.def142 HANDLE_UNARY_INST(12, FNeg , UnaryOperator)
DOperator.h383 case Instruction::FNeg: in classof()
/external/llvm-project/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h913 case Instruction::FNeg: { in getUserCost()
918 TTI::OperandValueKind Op2VK = Opcode != Instruction::FNeg ? in getUserCost()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dir_builder_mixin.h306 llvm::Value* FNeg(Args&&... args) { in FNeg() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCFLGraph.h587 case Instruction::FNeg: { in visitConstantExpr()
/external/llvm-project/llvm/lib/Analysis/
DCFLGraph.h587 case Instruction::FNeg: { in visitConstantExpr()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp694 Value *FNeg = Builder.CreateFNeg(Den); in optimizeWithRcp() local
695 return Builder.CreateCall(Decl, { FNeg }); in optimizeWithRcp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstruction.cpp309 case FNeg: return "fneg"; in getOpcodeName()
/external/llvm-project/llvm/lib/IR/
DInstruction.cpp333 case FNeg: return "fneg"; in getOpcodeName()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp859 case Instruction::FNeg: { in getUserCost()

1234