/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | InstSimplifyPass.cpp | 31 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); 111 return runImpl(F, SQ, ORE); 138 const SimplifyQuery SQ(DL, &TLI, &DT, &AC); in run() 139 bool Changed = runImpl(F, SQ, &ORE); in run()
|
H A D | LoopRotation.cpp | 44 const SimplifyQuery SQ = getBestSimplifyQuery(AR, DL); in run() local 51 SQ, false, Threshold, false); in run() 99 const SimplifyQuery SQ = getBestSimplifyQuery(*this, F); variable 109 MSSAU.hasValue() ? MSSAU.getPointer() : nullptr, SQ,
|
H A D | LoopInstSimplify.cpp | 55 SimplifyQuery SQ(DL, &TLI, &DT, &AC); in simplifyLoopInst() 104 Value *V = SimplifyInstruction(&I, SQ.getWithInstruction(&I)); in simplifyLoopInst()
|
H A D | CorrelatedValuePropagation.cpp | 213 const SimplifyQuery &SQ) { in processPHI() 267 if (Value *V = SimplifyInstruction(P, SQ)) { in processPHI() 831 const SimplifyQuery &SQ) { in runImpl() 847 BBChanged |= processPHI(cast<PHINode>(II), LVI, DT, SQ); in runImpl() 212 processPHI(PHINode *P, LazyValueInfo *LVI, DominatorTree *DT, const SimplifyQuery &SQ) processPHI() argument 830 runImpl(Function &F, LazyValueInfo *LVI, DominatorTree *DT, const SimplifyQuery &SQ) runImpl() argument
|
H A D | NewGVN.cpp | 506 const SimplifyQuery SQ; 663 SQ(DL, TLI, DT, AC, /*CtxI=*/nullptr, /*UseInstrInfo=*/false) {} 1057 Value *V = SimplifyBinOp(Opcode, E->getOperand(0), E->getOperand(1), SQ); 1154 SimplifyCmpInst(Predicate, E->getOperand(0), E->getOperand(1), SQ); 1163 E->getOperand(2), SQ); 1169 SimplifyBinOp(E->getOpcode(), E->getOperand(0), E->getOperand(1), SQ); 1174 SimplifyCastInst(CI->getOpcode(), E->getOperand(0), CI->getType(), SQ); 1179 E->getType(), ArrayRef<Value *>(E->op_begin(), E->op_end()), SQ);
|
H A D | EarlyCSE.cpp | 486 const SimplifyQuery SQ; member in __anon25107::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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | YAMLTraits.cpp | 209 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) in beginSequence() 210 return SQ->Entries.size(); in beginSequence() 229 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) { in preflightElement() 231 CurrentNode = SQ->Entries[Index].get(); in preflightElement() 246 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) { in preflightFlowElement() 248 CurrentNode = SQ->Entries[index].get(); in preflightFlowElement() 292 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) { in beginBitSetScalar() 293 BitValuesUsed.insert(BitValuesUsed.begin(), SQ->Entries.size(), false); in beginBitSetScalar() 304 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) { in bitSetMatch() 306 for (auto &N : SQ in bitSetMatch() [all...] |
H A D | APInt.cpp | 2996 APInt SQ = D.sqrt(); 2998 APInt Q = SQ * SQ; 3000 // The calculated SQ may actually be greater than the exact (non-integer) 3001 // value. If that's the case, decrement SQ to get a value that is lower. 3003 SQ -= 1; 3008 // SQ is rounded down (i.e SQ * SQ <= D), so the roots may be inexact. 3010 // may be greater than the exact one, since we would be subtracting SQ [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_spm.c | 194 {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()
|
H A D | radv_perfcounter.c | 195 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, [all...] |
/third_party/mesa3d/src/mesa/math/ |
H A D | m_matrix.c | 1108 #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( in analyse_from_scratch() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | LoopRotationUtils.cpp | 59 const SimplifyQuery &SQ; member in __anon25220::LoopRotate 67 const SimplifyQuery &SQ, bool RotationOnly, bool IsUtilMode) in LoopRotate() 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() 672 LoopRotate LR(Threshold, LI, TTI, AC, DT, SE, MSSAU, SQ, RotationOnly, in LoopRotation() 64 LoopRotate(unsigned MaxHeaderSize, LoopInfo *LI, const TargetTransformInfo *TTI, AssumptionCache *AC, DominatorTree *DT, ScalarEvolution *SE, MemorySSAUpdater *MSSAU, const SimplifyQuery &SQ, bool RotationOnly, bool IsUtilMode) LoopRotate() argument 664 LoopRotation(Loop *L, LoopInfo *LI, const TargetTransformInfo *TTI, AssumptionCache *AC, DominatorTree *DT, ScalarEvolution *SE, MemorySSAUpdater *MSSAU, const SimplifyQuery &SQ, bool RotationOnly = true, unsigned Threshold = unsigned(-1), bool IsUtilMode = true) LoopRotation() argument
|
H A D | PromoteMemoryToRegister.cpp | 235 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/ |
H A D | LSUnit.h | 421 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/ |
H A D | LSUnit.cpp | 24 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/include/llvm/Transforms/Utils/ |
H A D | LoopRotationUtils.h | 35 MemorySSAUpdater *MSSAU, const SimplifyQuery &SQ,
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_perfcounter.c | 896 {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/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 351 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 in SimplifyUsingDistributiveLaws() [all...] |
H A D | InstCombineMulDivRem.cpp | 173 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()
|
H A D | InstCombineInternal.h | 326 const SimplifyQuery SQ; member in llvm::InstCombiner 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);
|
H A D | InstCombineShifts.cpp | 35 BinaryOperator *Sh0, const SimplifyQuery &SQ, in reassociateShiftAmtsOfTwoSameDirectionShifts() 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() 34 reassociateShiftAmtsOfTwoSameDirectionShifts( BinaryOperator *Sh0, const SimplifyQuery &SQ, bool AnalyzeForSignBitExtraction) reassociateShiftAmtsOfTwoSameDirectionShifts() argument
|
H A D | InstCombineAddSub.cpp | 1208 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/mesa3d/src/amd/common/ |
H A D | ac_perfcounter.h | 65 SQ = 0x6, enumerator
|
H A D | ac_spm.c | 89 if (block_sel->b->b->b->gpu_block == SQ) { in ac_spm_map_counter() 96 /* SQ doesn't support 16-bit counters. */ in ac_spm_map_counter() 105 /* One wire per SQ module. */ in ac_spm_map_counter()
|
/third_party/ffmpeg/libavcodec/ |
H A D | me_cmp.c | 952 #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]); \
|