Home
last modified time | relevance | path

Searched refs:SQ (Results 1 – 25 of 90) 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 __anonc5fb90620311::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()
/third_party/mesa3d/src/mesa/math/
Dm_matrix.c1108 #define SQ(x) ((x)*(x)) macro
1158 if (SQ(mm-1) > SQ(1e-6F) || in analyse_from_scratch()
1159 SQ(m4m4-1) > SQ(1e-6F)) in analyse_from_scratch()
1163 if (SQ(mm4) > SQ(1e-6F)) in analyse_from_scratch()
1173 if (SQ(m[0]-m[5]) < SQ(1e-6F) && in analyse_from_scratch()
1174 SQ(m[0]-m[10]) < SQ(1e-6F)) { in analyse_from_scratch()
1175 if (SQ(m[0]-1.0F) > SQ(1e-6F)) { in analyse_from_scratch()
1193 if (SQ(c1-c2) < SQ(1e-6F) && SQ(c1-c3) < SQ(1e-6F)) { in analyse_from_scratch()
1194 if (SQ(c1-1.0F) > SQ(1e-6F)) in analyse_from_scratch()
1203 if (SQ(d1) < SQ(1e-6F)) { in analyse_from_scratch()
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_spm.c194 {SQ, 0, 0x14f}, /* Number of SCACHE hits. */ in radv_spm_init()
195 {SQ, 0, 0x150}, /* Number of SCACHE misses. */ in radv_spm_init()
196 {SQ, 0, 0x151}, /* Number of SCACHE misses duplicate. */ in radv_spm_init()
197 {SQ, 0, 0x12c}, /* Number of ICACHE hits. */ in radv_spm_init()
198 {SQ, 0, 0x12d}, /* Number of ICACHE misses. */ in radv_spm_init()
199 {SQ, 0, 0x12e}, /* Number of ICACHE misses duplicate. */ in radv_spm_init()
Dradv_perfcounter.c195 SQ_PERF_SEL_WAVES = CTR(SQ, 0x4),
196 SQ_PERF_SEL_INSTS_ALL_GFX10 = CTR(SQ, 0x31),
197 SQ_PERF_SEL_INSTS_GDS_GFX10 = CTR(SQ, 0x37),
198 SQ_PERF_SEL_INSTS_LDS_GFX10 = CTR(SQ, 0x3b),
199 SQ_PERF_SEL_INSTS_SALU_GFX10 = CTR(SQ, 0x3c),
200 SQ_PERF_SEL_INSTS_SMEM_GFX10 = CTR(SQ, 0x3d),
201 SQ_PERF_SEL_INSTS_VALU_GFX10 = CTR(SQ, 0x40),
202 SQ_PERF_SEL_INSTS_TEX_LOAD_GFX10 = CTR(SQ, 0x45),
203 SQ_PERF_SEL_INSTS_TEX_STORE_GFX10 = CTR(SQ, 0x46),
204 SQ_PERF_SEL_INST_CYCLES_VALU_GFX10 = CTR(SQ, 0x75),
/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/lib/Transforms/Utils/
DLoopRotationUtils.cpp59 const SimplifyQuery &SQ; member in __anone6d253600111::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/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/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/mesa3d/src/gallium/drivers/radeonsi/
Dsi_perfcounter.c896 {SQ, 0, 0x14f}, /* Number of SCACHE hits. */ in si_spm_init()
897 {SQ, 0, 0x150}, /* Number of SCACHE misses. */ in si_spm_init()
898 {SQ, 0, 0x151}, /* Number of SCACHE misses duplicate. */ in si_spm_init()
901 {SQ, 0, 0x12c}, /* Number of ICACHE hits. */ in si_spm_init()
902 {SQ, 0, 0x12d}, /* Number of ICACHE misses. */ in si_spm_init()
903 {SQ, 0, 0x12e}, /* Number of ICACHE misses duplicate. */ in si_spm_init()
/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/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()
/third_party/ffmpeg/libavcodec/
Dme_cmp.c952 #define SQ(a) ((a) * (a)) macro
962 score += SQ(s[x] - s[x + stride]) + \
963 SQ(s[x + 1] - s[x + stride + 1]) + \
964 SQ(s[x + 2] - s[x + stride + 2]) + \
965 SQ(s[x + 3] - s[x + stride + 3]); \
983 score += SQ(s1[x] - s2[x] - s1[x + stride] + s2[x + stride]); \
/third_party/mesa3d/src/amd/common/
Dac_perfcounter.h65 SQ = 0x6, enumerator
Dac_spm.c89 if (block_sel->b->b->b->gpu_block == SQ) { in ac_spm_map_counter()
/third_party/openssl/test/recipes/04-test_pem_reading_data/
Dcert-threecolumn.pem483 SQ/

1234