Home
last modified time | relevance | path

Searched refs:SQ (Results 1 – 25 of 81) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DInstSimplifyPass.cpp31 static bool runImpl(Function &F, const SimplifyQuery &SQ, in runImpl() argument
40 if (!SQ.DT->isReachableFromEntry(&BB)) in runImpl()
56 if (Value *V = SimplifyInstruction(&I, SQ, ORE)) { in runImpl()
69 RecursivelyDeleteTriviallyDeadInstructions(DeadInstsInBB, SQ.TLI); in runImpl()
110 const SimplifyQuery SQ(DL, TLI, DT, AC); in runOnFunction() local
111 return runImpl(F, SQ, ORE); in runOnFunction()
138 const SimplifyQuery SQ(DL, &TLI, &DT, &AC); in run() local
139 bool Changed = runImpl(F, SQ, &ORE); in run()
DLoopRotation.cpp44 const SimplifyQuery SQ = getBestSimplifyQuery(AR, DL); in run() local
51 SQ, false, Threshold, false); in run()
99 const SimplifyQuery SQ = getBestSimplifyQuery(*this, F); in runOnLoop() local
109 MSSAU.hasValue() ? MSSAU.getPointer() : nullptr, SQ, in runOnLoop()
DLoopInstSimplify.cpp55 SimplifyQuery SQ(DL, &TLI, &DT, &AC); in simplifyLoopInst() local
104 Value *V = SimplifyInstruction(&I, SQ.getWithInstruction(&I)); in simplifyLoopInst()
DCorrelatedValuePropagation.cpp213 const SimplifyQuery &SQ) { in processPHI() argument
267 if (Value *V = SimplifyInstruction(P, SQ)) { in processPHI()
831 const SimplifyQuery &SQ) { in runImpl() argument
847 BBChanged |= processPHI(cast<PHINode>(II), LVI, DT, SQ); in runImpl()
DEarlyCSE.cpp486 const SimplifyQuery SQ; member in __anond725d2ba0311::EarlyCSE
567 : TLI(TLI), TTI(TTI), DT(DT), AC(AC), SQ(DL, &TLI, &DT, &AC), MSSA(MSSA), in EarlyCSE()
1037 if (Value *V = SimplifyInstruction(Inst, SQ)) { in processNode()
DNewGVN.cpp506 const SimplifyQuery SQ; member in __anone9cd01b70311::NewGVN
663 SQ(DL, TLI, DT, AC, /*CtxI=*/nullptr, /*UseInstrInfo=*/false) {} in NewGVN()
1057 Value *V = SimplifyBinOp(Opcode, E->getOperand(0), E->getOperand(1), SQ); in createBinaryExpression()
1154 SimplifyCmpInst(Predicate, E->getOperand(0), E->getOperand(1), SQ); in createExpression()
1163 E->getOperand(2), SQ); in createExpression()
1169 SimplifyBinOp(E->getOpcode(), E->getOperand(0), E->getOperand(1), SQ); in createExpression()
1174 SimplifyCastInst(CI->getOpcode(), E->getOperand(0), CI->getType(), SQ); in createExpression()
1179 E->getType(), ArrayRef<Value *>(E->op_begin(), E->op_end()), SQ); in createExpression()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DYAMLTraits.cpp209 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) in beginSequence() local
210 return SQ->Entries.size(); in beginSequence()
229 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) { in preflightElement() local
231 CurrentNode = SQ->Entries[Index].get(); in preflightElement()
246 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) { in preflightFlowElement() local
248 CurrentNode = SQ->Entries[index].get(); in preflightFlowElement()
292 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) { in beginBitSetScalar() local
293 BitValuesUsed.insert(BitValuesUsed.begin(), SQ->Entries.size(), false); in beginBitSetScalar()
304 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) { in bitSetMatch() local
306 for (auto &N : SQ->Entries) { in bitSetMatch()
[all …]
DAPInt.cpp2996 APInt SQ = D.sqrt(); in SolveQuadraticEquationWrap() local
2998 APInt Q = SQ * SQ; in SolveQuadraticEquationWrap()
3003 SQ -= 1; in SolveQuadraticEquationWrap()
3015 APInt::sdivrem(-B - (SQ+InexactSQ), TwoA, X, Rem); in SolveQuadraticEquationWrap()
3017 APInt::sdivrem(-B + SQ, TwoA, X, Rem); in SolveQuadraticEquationWrap()
3029 assert((SQ*SQ).sle(D) && "SQ = |_sqrt(D)_|, so SQ*SQ <= D"); in SolveQuadraticEquationWrap()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/HardwareUnits/
DLSUnit.h421 LSUnit(const MCSchedModel &SM, unsigned LQ, unsigned SQ) in LSUnit() argument
422 : LSUnit(SM, LQ, SQ, /* NoAlias */ false) {} in LSUnit()
423 LSUnit(const MCSchedModel &SM, unsigned LQ, unsigned SQ, bool AssumeNoAlias) in LSUnit() argument
424 : LSUnitBase(SM, LQ, SQ, AssumeNoAlias), CurrentLoadGroupID(0), in LSUnit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopRotationUtils.cpp59 const SimplifyQuery &SQ; member in __anona1e56db80111::LoopRotate
67 const SimplifyQuery &SQ, bool RotationOnly, bool IsUtilMode) in LoopRotate() argument
69 MSSAU(MSSAU), SQ(SQ), RotationOnly(RotationOnly), in LoopRotate()
365 Value *V = SimplifyInstruction(C, SQ); in rotateLoop()
667 const SimplifyQuery &SQ, bool RotationOnly = true, in LoopRotation() argument
672 LoopRotate LR(Threshold, LI, TTI, AC, DT, SE, MSSAU, SQ, RotationOnly, in LoopRotation()
DPromoteMemoryToRegister.cpp235 const SimplifyQuery SQ; member
272 AC(AC), SQ(DT.getRoot()->getParent()->getParent()->getDataLayout(), in PromoteMem2Reg()
566 if (rewriteSingleStoreAlloca(AI, Info, LBI, SQ.DL, DT, AC)) { in run()
577 promoteSingleBlockAlloca(AI, Info, LBI, SQ.DL, DT, AC)) { in run()
694 if (Value *V = SimplifyInstruction(PN, SQ)) { in run()
950 !isKnownNonZero(V, SQ.DL, 0, AC, LI, &DT)) in RenamePass()
/third_party/cmsis/CMSIS/DSP/Source/SVMFunctions/
Darm_svm_rbf_predict_f32.c414 dotV = vsetq_lane_f32(vgetq_lane_f32(dotV,0) + SQ(*pIn - *pSupporta), dotV,0); in arm_svm_rbf_predict_f32()
415 dotV = vsetq_lane_f32(vgetq_lane_f32(dotV,1) + SQ(*pIn - *pSupportb), dotV,1); in arm_svm_rbf_predict_f32()
416 dotV = vsetq_lane_f32(vgetq_lane_f32(dotV,2) + SQ(*pIn - *pSupportc), dotV,2); in arm_svm_rbf_predict_f32()
417 dotV = vsetq_lane_f32(vgetq_lane_f32(dotV,3) + SQ(*pIn - *pSupportd), dotV,3); in arm_svm_rbf_predict_f32()
479 dot = dot + SQ(*pIn - *pSupport); in arm_svm_rbf_predict_f32()
508 dot = dot + SQ(in[j] - *pSupport); in arm_svm_rbf_predict_f32()
/third_party/cmsis/CMSIS/DSP/Source/DistanceFunctions/
Darm_euclidean_distance_f32.c123 accum += SQ(tmp); in arm_euclidean_distance_f32()
138 accum += SQ(tmp); in arm_euclidean_distance_f32()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DLoopRotationUtils.h35 MemorySSAUpdater *MSSAU, const SimplifyQuery &SQ,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/
DLSUnit.cpp24 LSUnitBase::LSUnitBase(const MCSchedModel &SM, unsigned LQ, unsigned SQ, in LSUnitBase() argument
26 : LQSize(LQ), SQSize(SQ), UsedLQEntries(0), UsedSQEntries(0), in LSUnitBase()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp351 if (Value *V = SimplifyBinOp(Opcode, B, C, SQ.getWithInstruction(&I))) { in SimplifyAssociativeOrCommutative()
384 if (Value *V = SimplifyBinOp(Opcode, A, B, SQ.getWithInstruction(&I))) { in SimplifyAssociativeOrCommutative()
412 if (Value *V = SimplifyBinOp(Opcode, C, A, SQ.getWithInstruction(&I))) { in SimplifyAssociativeOrCommutative()
432 if (Value *V = SimplifyBinOp(Opcode, C, A, SQ.getWithInstruction(&I))) { in SimplifyAssociativeOrCommutative()
578 V = SimplifyBinOp(TopLevelOpcode, B, D, SQ.getWithInstruction(&I)); in tryFactorization()
597 V = SimplifyBinOp(TopLevelOpcode, A, C, SQ.getWithInstruction(&I)); in tryFactorization()
704 Value *L = SimplifyBinOp(TopLevelOpcode, A, C, SQ.getWithInstruction(&I)); in SimplifyUsingDistributiveLaws()
705 Value *R = SimplifyBinOp(TopLevelOpcode, B, C, SQ.getWithInstruction(&I)); in SimplifyUsingDistributiveLaws()
741 Value *L = SimplifyBinOp(TopLevelOpcode, A, B, SQ.getWithInstruction(&I)); in SimplifyUsingDistributiveLaws()
742 Value *R = SimplifyBinOp(TopLevelOpcode, A, C, SQ.getWithInstruction(&I)); in SimplifyUsingDistributiveLaws()
[all …]
DInstCombineMulDivRem.cpp173 SQ.getWithInstruction(&I))) in visitMul()
396 SQ.getWithInstruction(&I))) in visitFMul()
956 SQ.getWithInstruction(&I))) in visitUDiv()
1050 SQ.getWithInstruction(&I))) in visitSDiv()
1205 SQ.getWithInstruction(&I))) in visitFDiv()
1355 SQ.getWithInstruction(&I))) in visitURem()
1406 SQ.getWithInstruction(&I))) in visitSRem()
1485 SQ.getWithInstruction(&I))) in visitFRem()
DInstCombineShifts.cpp35 BinaryOperator *Sh0, const SimplifyQuery &SQ, in reassociateShiftAmtsOfTwoSameDirectionShifts() argument
105 SQ.getWithInstruction(Sh0))); in reassociateShiftAmtsOfTwoSameDirectionShifts()
389 reassociateShiftAmtsOfTwoSameDirectionShifts(&I, SQ))) in commonShiftTransforms()
926 const SimplifyQuery Q = SQ.getWithInstruction(&I); in visitShl()
1049 SQ.getWithInstruction(&I))) in visitLShr()
1247 SQ.getWithInstruction(&I))) in visitAShr()
DInstCombineInternal.h326 const SimplifyQuery SQ; variable
345 DL(DL), SQ(DL, &TLI, &DT, &AC), ORE(ORE), BFI(BFI), PSI(PSI), LI(LI) {} in InstCombiner()
395 BinaryOperator *Sh0, const SimplifyQuery &SQ,
924 Instruction *foldICmpBinOp(ICmpInst &Cmp, const SimplifyQuery &SQ);
DInstCombineAddSub.cpp1208 SQ.getWithInstruction(&I))) in visitAdd()
1476 SQ.getWithInstruction(&I))) in visitFAdd()
1682 SQ.getWithInstruction(&I))) in visitSub()
2158 SQ.getWithInstruction(&I))) in visitFNeg()
2180 SQ.getWithInstruction(&I))) in visitFSub()
2207 if (I.hasNoSignedZeros() || CannotBeNegativeZero(Op0, SQ.TLI)) { in visitFSub()
DInstCombineAndOrXor.cpp1147 const SimplifyQuery Q = SQ.getWithInstruction(&CxtI); in foldAndOfICmps()
1725 SQ.getWithInstruction(&I))) in visitAnd()
2189 const SimplifyQuery Q = SQ.getWithInstruction(&CxtI); in foldOrOfICmps()
2450 SQ.getWithInstruction(&I))) in visitOr()
2851 if (Value *OrICmp = SimplifyBinOp(Instruction::Or, LHS, RHS, SQ)) { in foldXorOfICmps()
2854 if (Value *AndICmp = SimplifyBinOp(Instruction::And, LHS, RHS, SQ)) { in foldXorOfICmps()
2968 SQ.getWithInstruction(&I))) in visitXor()
DInstCombineCompares.cpp1379 cast<BinaryOperator>(Val), SQ.getWithInstruction(Val), in foldSignBitTest()
3470 foldShiftIntoShiftInAnotherHandOfAndInICmp(ICmpInst &I, const SimplifyQuery SQ, in foldShiftIntoShiftInAnotherHandOfAndInICmp() argument
3557 /*isNUW=*/false, SQ.getWithInstruction(&I))); in foldShiftIntoShiftInAnotherHandOfAndInICmp()
3572 auto CanFold = [NewShAmt, WidestBitWidth, NarrowestShift, SQ, in foldShiftIntoShiftInAnotherHandOfAndInICmp()
3588 KnownBits Known = computeKnownBits(C, SQ.DL); in foldShiftIntoShiftInAnotherHandOfAndInICmp()
3599 KnownBits Known = computeKnownBits(C, SQ.DL); in foldShiftIntoShiftInAnotherHandOfAndInICmp()
3702 Instruction *InstCombiner::foldICmpBinOp(ICmpInst &I, const SimplifyQuery &SQ) { in foldICmpBinOp() argument
3703 const SimplifyQuery Q = SQ.getWithInstruction(&I); in foldICmpBinOp()
4063 if (Value *V = foldShiftIntoShiftInAnotherHandOfAndInICmp(I, SQ, Builder)) in foldICmpBinOp()
5456 const SimplifyQuery Q = SQ.getWithInstruction(&I); in visitICmpInst()
[all …]
/third_party/ffmpeg/libavcodec/
Dme_cmp.c945 #define SQ(a) ((a) * (a)) macro
955 score += SQ(s[x] - s[x + stride]) + \
956 SQ(s[x + 1] - s[x + stride + 1]) + \
957 SQ(s[x + 2] - s[x + stride + 2]) + \
958 SQ(s[x + 3] - s[x + stride + 3]); \
976 score += SQ(s1[x] - s2[x] - s1[x + stride] + s2[x + stride]); \
/third_party/openssl/test/recipes/04-test_pem_data/
Dcert-threecolumn.pem483 SQ/
/third_party/boost/libs/wave/test/testwave/testfiles/
Dt_5_035.hpp755 #define SQ macro

1234