Home
last modified time | relevance | path

Searched refs:NegC (Results 1 – 14 of 14) sorted by relevance

/external/llvm-project/llvm/lib/Target/Mips/
DMipsISelDAGToDAG.cpp255 SDValue NegC = CurDAG->FoldConstantArithmetic( in selectVecAddAsVecSubIfProfitable() local
257 assert(NegC && "Constant-folding failed!"); in selectVecAddAsVecSubIfProfitable()
258 SDValue NewNode = CurDAG->getNode(ISD::SUB, DL, VT, X, NegC); in selectVecAddAsVecSubIfProfitable()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsISelDAGToDAG.cpp255 SDValue NegC = CurDAG->FoldConstantArithmetic( in selectVecAddAsVecSubIfProfitable() local
257 assert(NegC && "Constant-folding failed!"); in selectVecAddAsVecSubIfProfitable()
258 SDValue NewNode = CurDAG->getNode(ISD::SUB, DL, VT, X, NegC); in selectVecAddAsVecSubIfProfitable()
/external/llvm-project/clang/lib/Analysis/
DThreadSafety.cpp1305 CapabilityExpr NegC = !*Entry; in addLock() local
1306 const FactEntry *Nen = FSet.findLock(FactMan, NegC); in addLock()
1308 FSet.removeLock(FactMan, NegC); in addLock()
1313 NegC.toString(), Entry->loc()); in addLock()
/external/clang/lib/Analysis/
DThreadSafety.cpp1191 CapabilityExpr NegC = !*Entry; in addLock() local
1192 FactEntry *Nen = FSet.findLock(FactMan, NegC); in addLock()
1194 FSet.removeLock(FactMan, NegC); in addLock()
1199 NegC.toString(), Entry->loc()); in addLock()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp1102 Constant *NegC = ConstantInt::get(I.getType(), -(*Op1C)); in visitSDiv() local
1103 Instruction *BO = BinaryOperator::CreateSDiv(X, NegC); in visitSDiv()
DInstCombineCompares.cpp6156 Constant *NegC = ConstantExpr::getFNeg(C); in visitFCmpInst() local
6157 return new FCmpInst(I.getSwappedPredicate(), X, NegC, "", &I); in visitFCmpInst()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp1146 Constant *NegC = ConstantInt::get(Ty, -(*Op1C)); in visitSDiv() local
1147 Instruction *BO = BinaryOperator::CreateSDiv(X, NegC); in visitSDiv()
DInstCombineCompares.cpp6282 Constant *NegC = ConstantExpr::getFNeg(C); in visitFCmpInst() local
6283 return new FCmpInst(I.getSwappedPredicate(), X, NegC, "", &I); in visitFCmpInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3930 if (ConstantSDNode *NegC = isConstOrConstSplat(Neg.getOperand(1))) { in matchRotateSub() local
3931 if (NegC->getAPIntValue() == EltSize - 1) { in matchRotateSub()
3941 ConstantSDNode *NegC = isConstOrConstSplat(Neg.getOperand(0)); in matchRotateSub() local
3942 if (!NegC) in matchRotateSub()
3964 Width = NegC->getAPIntValue(); in matchRotateSub()
3977 Width = PosC->getAPIntValue() + NegC->getAPIntValue(); in matchRotateSub()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp6155 if (ConstantSDNode *NegC = isConstOrConstSplat(Neg.getOperand(1))) { in matchRotateSub() local
6158 if (NegC->getAPIntValue().getActiveBits() <= Bits && in matchRotateSub()
6159 ((NegC->getAPIntValue() | Known.Zero).countTrailingOnes() >= Bits)) { in matchRotateSub()
6169 ConstantSDNode *NegC = isConstOrConstSplat(Neg.getOperand(0)); in matchRotateSub() local
6170 if (!NegC) in matchRotateSub()
6197 Width = NegC->getAPIntValue(); in matchRotateSub()
6210 Width = PosC->getAPIntValue() + NegC->getAPIntValue(); in matchRotateSub()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp6569 if (ConstantSDNode *NegC = isConstOrConstSplat(Neg.getOperand(1))) { in matchRotateSub() local
6572 if (NegC->getAPIntValue().getActiveBits() <= Bits && in matchRotateSub()
6573 ((NegC->getAPIntValue() | Known.Zero).countTrailingOnes() >= Bits)) { in matchRotateSub()
6583 ConstantSDNode *NegC = isConstOrConstSplat(Neg.getOperand(0)); in matchRotateSub() local
6584 if (!NegC) in matchRotateSub()
6615 Width = NegC->getAPIntValue(); in matchRotateSub()
6628 Width = PosC->getAPIntValue() + NegC->getAPIntValue(); in matchRotateSub()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp30216 bool NegC = (C.getOpcode() == ISD::FNEG); in combineFMA() local
30224 if (NegC) in combineFMA()
30229 Opcode = (!NegC) ? X86ISD::FMADD : X86ISD::FMSUB; in combineFMA()
30231 Opcode = (!NegC) ? X86ISD::FNMADD : X86ISD::FNMSUB; in combineFMA()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp46043 bool NegC = !!NewOps[2]; in getNegatedExpression() local
46044 unsigned NewOpc = negateFMAOpcode(Opc, NegA != NegB, NegC, true); in getNegatedExpression()
46046 Cost = (NegA || NegB || NegC) ? NegatibleCost::Cheaper in getNegatedExpression()
46988 bool NegC = invertIfNegative(C); in combineFMA() local
46990 if (!NegA && !NegB && !NegC) in combineFMA()
46994 negateFMAOpcode(N->getOpcode(), NegA != NegB, NegC, false); in combineFMA()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp42694 bool NegC = !!NewOps[2]; in getNegatedExpression() local
42695 unsigned NewOpc = negateFMAOpcode(Opc, NegA != NegB, NegC, true); in getNegatedExpression()
43561 bool NegC = invertIfNegative(C); in combineFMA() local
43563 if (!NegA && !NegB && !NegC) in combineFMA()
43567 negateFMAOpcode(N->getOpcode(), NegA != NegB, NegC, false); in combineFMA()