/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | InterleavedAccessPass.cpp | 152 static bool isDeInterleaveMaskOfFactor(ArrayRef<int> Mask, unsigned Factor, in isDeInterleaveMaskOfFactor() argument 155 for (Index = 0; Index < Factor; Index++) { in isDeInterleaveMaskOfFactor() 161 if (Mask[i] >= 0 && static_cast<unsigned>(Mask[i]) != Index + i * Factor) in isDeInterleaveMaskOfFactor() 176 static bool isDeInterleaveMask(ArrayRef<int> Mask, unsigned &Factor, in isDeInterleaveMask() argument 183 for (Factor = 2; Factor <= MaxFactor; Factor++) { in isDeInterleaveMask() 185 if (Mask.size() * Factor > NumLoadElements) in isDeInterleaveMask() 187 if (isDeInterleaveMaskOfFactor(Mask, Factor, Index)) in isDeInterleaveMask() 205 static bool isReInterleaveMask(ArrayRef<int> Mask, unsigned &Factor, in isReInterleaveMask() argument 212 for (Factor = 2; Factor <= MaxFactor; Factor++) { in isReInterleaveMask() 213 if (NumElts % Factor) in isReInterleaveMask() [all …]
|
H A D | InterleavedLoadCombinePass.cpp | 105 std::list<VectorInfo> &InterleavedLoad, unsigned Factor, 694 bool isInterleaved(unsigned Factor, const DataLayout &DL) const { in isInterleaved() 697 if (!EI[i].Ofs.isProvenEqualTo(EI[0].Ofs + i * Factor * Size)) { in isInterleaved() 746 unsigned Factor = Result.VTy->getNumElements() / VTy->getNumElements(); in computeFromBCI() local 750 if (NewSize * Factor != OldSize) in computeFromBCI() 757 for (unsigned i = 0; i < Result.VTy->getNumElements(); i += Factor) { in computeFromBCI() 758 for (unsigned j = 0; j < Factor; j++) { in computeFromBCI() 760 ElementInfo(Old.EI[i / Factor].Ofs + j * NewSize, in computeFromBCI() 761 j == 0 ? Old.EI[i / Factor].LI : nullptr); in computeFromBCI() 1055 unsigned Factor, const DataLayout &DL) { in findPattern() argument [all …]
|
H A D | MachineTraceMetrics.cpp | 872 unsigned Factor = MTM.SchedModel.getResourceFactor(K); in computeInstrDepths() 875 << PRDepths[K]/Factor << " ops x" << Factor << ")\n"; in computeInstrDepths() 1057 unsigned Factor = MTM.SchedModel.getResourceFactor(K); in computeInstrHeights() 1060 << PRHeights[K]/Factor << " ops x" << Factor << ")\n"; in computeInstrHeights()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | PseudoProbe.cpp | 39 Probe.Factor = in extractProbeFromDiscriminator() 54 Probe.Factor = II->getFactor()->getZExtValue() / in extractProbe() 65 void setProbeDistributionFactor(Instruction &Inst, float Factor) { in setProbeDistributionFactor() argument 66 assert(Factor >= 0 && Factor <= 1 && in setProbeDistributionFactor() 71 if (Factor < 1) in setProbeDistributionFactor() 72 IntFactor *= Factor; in setProbeDistributionFactor() 90 if (Factor < 1) in setProbeDistributionFactor() 91 IntFactor *= Factor; in setProbeDistributionFactor()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86InterleavedAccess.cpp | 61 const unsigned Factor; member in __anonea99ee910111::X86InterleavedAccessGroup 114 : Inst(I), Shuffles(Shuffs), Indices(Ind), Factor(F), Subtarget(STarget), in X86InterleavedAccessGroup() 140 if (!Subtarget.hasAVX() || (Factor != 4 && Factor != 3)) in isSupported() 152 if (ShuffleElemSize == 64 && WideInstSize == 1024 && Factor == 4) in isSupported() 155 if (ShuffleElemSize == 8 && isa<StoreInst>(Inst) && Factor == 4 && in isSupported() 160 if (ShuffleElemSize == 8 && Factor == 3 && in isSupported() 728 unsigned NumSubVecElems = ShuffleEltTy->getNumElements() / Factor; in lowerIntoOptimizedSequence() 743 decompose(Inst, Factor, ShuffleTy, DecomposedVectors); in lowerIntoOptimizedSequence() 764 unsigned NumSubVecElems = ShuffleTy->getNumElements() / Factor; in lowerIntoOptimizedSequence() 769 decompose(Shuffles[0], Factor, in lowerIntoOptimizedSequence() [all …]
|
H A D | X86TargetTransformInfo.h | 193 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, 198 unsigned Opcode, FixedVectorType *VecTy, unsigned Factor, 203 unsigned Opcode, FixedVectorType *VecTy, unsigned Factor,
|
H A D | X86TargetTransformInfo.cpp | 4705 unsigned Opcode, FixedVectorType *VecTy, unsigned Factor, in getInterleavedMemoryOpCostAVX2() argument 4710 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCostAVX2() 4716 if (Indices.size() && Indices.size() != Factor) in getInterleavedMemoryOpCostAVX2() 4717 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCostAVX2() 4730 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCostAVX2() 4734 unsigned VF = VecTy->getNumElements() / Factor; in getInterleavedMemoryOpCostAVX2() 4748 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCostAVX2() 4797 CostTableLookup(AVX2InterleavedLoadTbl, Factor, ETy.getSimpleVT())) in getInterleavedMemoryOpCostAVX2() 4803 CostTableLookup(AVX2InterleavedStoreTbl, Factor, ETy.getSimpleVT())) in getInterleavedMemoryOpCostAVX2() 4807 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCostAVX2() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | PseudoProbe.h | 50 uint32_t Factor) { in packProbeData() 54 assert(Factor <= 100 && in packProbeData() 56 return (Index << 3) | (Factor << 19) | (Type << 26) | 0x7; in packProbeData() 86 float Factor; member 95 void setProbeDistributionFactor(Instruction &Inst, float Factor);
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
H A D | LowLevelTypeImpl.h | 150 LLT divide(int Factor) const { in divide() argument 151 assert(Factor != 1); in divide() 153 assert(getNumElements() % Factor == 0); in divide() 154 return scalarOrVector(getNumElements() / Factor, getElementType()); in divide() 157 assert(getSizeInBits() % Factor == 0); in divide() 158 return scalar(getSizeInBits() / Factor); in divide()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/ |
H A D | Reassociate.h | 59 struct Factor { struct 63 Factor(Value *Base, unsigned Power) : Base(Base), Power(Power) {} in Factor() argument 118 SmallVectorImpl<reassociate::Factor> &Factors); 121 Value *RemoveFactorFromExpression(Value *V, Value *Factor);
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | VectorUtils.h | 584 InterleaveGroup(uint32_t Factor, bool Reverse, Align Alignment) in InterleaveGroup() argument 585 : Factor(Factor), Reverse(Reverse), Alignment(Alignment), in InterleaveGroup() 590 Factor = std::abs(Stride); in InterleaveGroup() 591 assert(Factor > 1 && "Invalid interleave factor"); in InterleaveGroup() 598 uint32_t getFactor() const { return Factor; } in getFactor() 625 if (Index >= static_cast<int32_t>(Factor)) in insertMember() 637 if (*MaybeLargestIndex >= static_cast<int64_t>(Factor)) in insertMember() 697 uint32_t Factor; // Interleave Factor.
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | Reassociate.cpp | 1140 Value *ReassociatePass::RemoveFactorFromExpression(Value *V, Value *Factor) { in RemoveFactorFromExpression() argument 1158 if (Factors[i].Op == Factor) { in RemoveFactorFromExpression() 1165 if (ConstantInt *FC1 = dyn_cast<ConstantInt>(Factor)) { in RemoveFactorFromExpression() 1172 } else if (ConstantFP *FC1 = dyn_cast<ConstantFP>(Factor)) { in RemoveFactorFromExpression() 1644 Value *Factor = Factors[i]; in OptimizeAdd() local 1645 if (!Duplicates.insert(Factor).second) in OptimizeAdd() 1648 unsigned Occ = ++FactorOccurrences[Factor]; in OptimizeAdd() 1651 MaxOccVal = Factor; in OptimizeAdd() 1657 if (ConstantInt *CI = dyn_cast<ConstantInt>(Factor)) { in OptimizeAdd() 1659 Factor = ConstantInt::get(CI->getContext(), -CI->getValue()); in OptimizeAdd() [all …]
|
H A D | LoopStrengthReduce.cpp | 2697 if (const SCEVConstant *Factor = in CollectInterestingTypesAndFactors() local 2700 if (Factor->getAPInt().getMinSignedBits() <= 64) in CollectInterestingTypesAndFactors() 2701 Factors.insert(Factor->getAPInt().getSExtValue()); in CollectInterestingTypesAndFactors() 2702 } else if (const SCEVConstant *Factor = in CollectInterestingTypesAndFactors() local 2706 if (Factor->getAPInt().getMinSignedBits() <= 64) in CollectInterestingTypesAndFactors() 2707 Factors.insert(Factor->getAPInt().getSExtValue()); in CollectInterestingTypesAndFactors() 3902 for (int64_t Factor : Factors) { in GenerateICmpZeroScales() local 3904 if (Base.BaseOffset == std::numeric_limits<int64_t>::min() && Factor == -1) in GenerateICmpZeroScales() 3906 int64_t NewBaseOffset = (uint64_t)Base.BaseOffset * Factor; in GenerateICmpZeroScales() 3907 if (NewBaseOffset / Factor != Base.BaseOffset) in GenerateICmpZeroScales() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/config/x86/ |
H A D | switchcontext.S | 154 .byte 0x1 # uleb128 0x1; CIE Code Alignment Factor 155 .byte 0x7c # sleb128 -4; CIE Data Alignment Factor 224 .byte 0x1 # uleb128 0x1; CIE Code Alignment Factor 225 .byte 0x78 # sleb128 -8; CIE Data Alignment Factor
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/Coverage/ |
H A D | CoverageMapping.cpp | 57 void CounterExpressionBuilder::extractTerms(Counter C, int Factor, in extractTerms() argument 63 Terms.emplace_back(C.getCounterID(), Factor); in extractTerms() 67 extractTerms(E.LHS, Factor, Terms); in extractTerms() 69 E.RHS, E.Kind == CounterExpression::Subtract ? -Factor : Factor, Terms); in extractTerms() 93 Prev->Factor += I->Factor; in simplify() 105 if (T.Factor <= 0) in simplify() 107 for (int I = 0; I < T.Factor; ++I) in simplify() 117 if (T.Factor >= 0) in simplify() 119 for (int I = 0; I < -T.Factor; ++I) in simplify()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | MachineTraceMetrics.h | 416 unsigned Factor = SchedModel.getLatencyFactor(); in getCycles() local 417 return (Scaled + Factor - 1) / Factor; in getCycles()
|
H A D | BasicTTIImpl.h | 1135 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, 1141 assert(Factor > 1 && NumElts % Factor == 0 && "Invalid interleave factor"); 1143 unsigned NumSubElts = NumElts / Factor; 1188 UsedInsts.set((Index + Elt * Factor) / NumEltsPerLegalInst); 1206 assert(Indices.size() <= Factor && 1210 assert(Index < Factor && "Invalid index for interleaved memory op"); 1215 Index + i * Factor); 1238 Cost += ExtSubCost * Factor;
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 1138 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost() argument 1142 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost() 1149 assert(Factor > 1 && NumElts % Factor == 0 && "Invalid interleave factor"); in getInterleavedMemoryOpCost() 1150 unsigned VF = NumElts / Factor; in getInterleavedMemoryOpCost() 1160 std::vector<BitVector> ValueVecs(Factor, BitVector(NumVectorMemOps, false)); in getInterleavedMemoryOpCost() 1163 unsigned Vec = (Index + Elt * Factor) / NumEltsPerVecReg; in getInterleavedMemoryOpCost() 1182 unsigned NumSrcVecs = std::min(NumEltsPerVecReg, Factor); in getInterleavedMemoryOpCost()
|
H A D | SystemZTargetTransformInfo.h | 117 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices,
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | SampleProfile.cpp | 590 uint64_t Samples = R.get() * Probe->Factor; in getProbeWeight() 599 Remark << ore::NV("Factor", Probe->Factor); in getProbeWeight() 608 << format("%0.2f", Probe->Factor) << ")\n"); in getProbeWeight() 1210 setProbeDistributionFactor(*I, Probe->Factor * in tryInlineCandidate() 1233 float Factor = 1.0; in getInlineCandidate() local 1235 Factor = Probe->Factor; in getInlineCandidate() 1243 CallsiteCount, uint64_t(CalleeSamples->getEntrySamples() * Factor)); in getInlineCandidate() 1245 *NewCandidate = {CB, CalleeSamples, CallsiteCount, Factor}; in getInlineCandidate() 1464 if (Probe->Factor < 1) in generateMDProfMetadata() 1465 T = SampleRecord::adjustCallTargets(T.get(), Probe->Factor); in generateMDProfMetadata()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetTransformInfo.cpp | 237 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost() argument 240 if (Indices.size() != Factor || UseMaskForCond || UseMaskForGaps) in getInterleavedMemoryOpCost() 241 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.cpp | 1102 unsigned Limit, Factor = 2; in getNumMemOps() local 1112 Factor = 1; in getNumMemOps() 1125 return MemOps.size() * Factor; in getNumMemOps() 1451 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost() argument 1454 assert(Factor >= 2 && "Invalid interleave factor"); in getInterleavedMemoryOpCost() 1460 if (Factor <= TLI->getMaxSupportedInterleaveFactor() && !EltIs64Bits && in getInterleavedMemoryOpCost() 1464 FixedVectorType::get(VecTy->getScalarType(), NumElts / Factor); in getInterleavedMemoryOpCost() 1471 if (NumElts % Factor == 0 && in getInterleavedMemoryOpCost() 1472 TLI->isLegalInterleavedAccessType(Factor, SubVecTy, Alignment, DL)) in getInterleavedMemoryOpCost() 1473 return Factor * BaseCost * TLI->getNumInterleavedAccesses(SubVecTy, DL); in getInterleavedMemoryOpCost() [all …]
|
H A D | MVETailPredication.cpp | 364 ConstantInt *Factor = ConstantInt::get(cast<IntegerType>(Ty), VectorWidth); in InsertVCTPIntrinsic() local 386 Value *Remaining = Builder.CreateSub(Processed, Factor); in InsertVCTPIntrinsic()
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/config/powerpc/ |
H A D | switchcontext.S | 406 .byte 0x1 ; uleb128 0x1; CIE Code Alignment Factor 407 .byte DATA_ALIGN ; sleb128 -4/-8; CIE Data Alignment Factor
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/Coverage/ |
H A D | CoverageMapping.h | 177 int Factor; member 179 Term(unsigned CounterID, int Factor) in Term() 180 : CounterID(CounterID), Factor(Factor) {} in Term()
|