Home
last modified time | relevance | path

Searched refs:getWeight (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/FuzzMutate/
H A DIRMutator.h45 virtual uint64_t getWeight(size_t CurrentSize, size_t MaxSize,
88 uint64_t getWeight(size_t CurrentSize, size_t MaxSize, in getWeight() function
100 uint64_t getWeight(size_t CurrentSize, size_t MaxSize,
110 uint64_t getWeight(size_t CurrentSize, size_t MaxSize, in getWeight() function
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonShuffler.h56 unsigned getWeight() const { return (Weight); } in getWeight() function
65 return (A.getWeight() < B.getWeight()); in lessWeight()
/llvm-project-15.0.7/mlir/test/lib/Dialect/Tosa/
H A DTosaTestPasses.cpp122 tosaConv2DOp.getWeight().getType().dyn_cast<mlir::RankedTensorType>(); in matchAndRewrite()
150 tosaConv2DOp.getWeight(), tosaConv2DOp.getBias(), tosaConv2DOp.getPad(), in matchAndRewrite()
/llvm-project-15.0.7/llvm/lib/FuzzMutate/
H A DIRMutator.cpp69 Strategy->getWeight(CurSize, MaxSize, RS.totalWeight())); in mutateModule()
144 uint64_t InstDeleterIRStrategy::getWeight(size_t CurrentSize, size_t MaxSize, in getWeight() function in InstDeleterIRStrategy
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Transforms/
H A DTosaDecomposeDepthwise.cpp30 Value weight = op.getWeight(); in matchAndRewrite()
H A DTosaDecomposeConv2D.cpp29 Value weight = op.getWeight(); in matchAndRewrite()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.h151 int getWeight(SDNode *N);
H A DHexagonISelDAGToDAG.cpp1636 int HexagonDAGToDAGISel::getWeight(SDNode *N) { in getWeight() function in HexagonDAGToDAGISel
1918 Weight = getWeight(balanceSubTree(Op0N).getNode()); in balanceSubTree()
1921 Weight = getWeight(Op0N); in balanceSubTree()
1925 Weight += getWeight(balanceSubTree(Op1N).getNode()); in balanceSubTree()
1928 Weight += getWeight(Op1N); in balanceSubTree()
1985 Weight = getWeight(Child.getNode()); in balanceSubTree()
2021 int Weight = getWeight(Child.getNode()); in balanceSubTree()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRegisterPressure.cpp58 unsigned Weight = PSetI.getWeight(); in increaseSetPressure()
72 unsigned Weight = PSetI.getWeight(); in decreaseSetPressure()
162 unsigned Weight = PSetI.getWeight(); in increaseRegPressure()
675 int Weight = IsDec ? -PSetI.getWeight() : PSetI.getWeight(); in addPressureChange()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeGenRegisters.h257 unsigned getWeight(const CodeGenRegBank &RegBank) const;
442 unsigned getWeight(const CodeGenRegBank&) const;
H A DCodeGenRegisters.cpp588 unsigned CodeGenRegister::getWeight(const CodeGenRegBank &RegBank) const { in getWeight() function in CodeGenRegister
889 unsigned CodeGenRegisterClass::getWeight(const CodeGenRegBank& RegBank) const { in getWeight() function in CodeGenRegisterClass
896 return (*Members.begin())->getWeight(RegBank); in getWeight()
1745 if (R->getRegUnits().count() == 1 && R->getWeight(RegBank) == I->Weight) { in computeUberWeights()
1791 unsigned RegWeight = Reg->getWeight(RegBank); in normalizeWeight()
H A DRegisterInfoEmitter.cpp219 OS << " {" << RC.getWeight(RegBank) << ", "; in EmitRegUnitPressure()
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/IR/
H A DTosaOps.cpp107 op.getWeight().getType().template dyn_cast<RankedTensorType>(); in verifyConvOp()
115 op.emitOpError("expect a ranked tensor for weight, got ") << op.getWeight(); in verifyConvOp()
1035 ShapeAdaptor weightShape = operands.getShape(adaptor.getWeight()); in inferReturnTypeComponents()
1105 ShapeAdaptor weightShape = operands.getShape(adaptor.getWeight()); in inferReturnTypeComponents()
1197 ShapeAdaptor weightShape = operands.getShape(adaptor.getWeight()); in inferReturnTypeComponents()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIMachineScheduler.cpp1714 DiffSetPressure[*PSetI] -= PSetI.getWeight(); in checkRegUsageImpact()
1724 DiffSetPressure[*PSetI] += PSetI.getWeight(); in checkRegUsageImpact()
1872 VgprUsage += PSetI.getWeight(); in fillVgprSgprCost()
1874 SgprUsage += PSetI.getWeight(); in fillVgprSgprCost()
H A DGCNRegPressure.cpp115 Value[Kind] += Sign * MRI.getPressureSets(Reg).getWeight(); in inc()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineRegisterInfo.h1225 unsigned getWeight() const { return Weight; } in getWeight() function
/llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/
H A DTosaToLinalgNamed.cpp570 auto weight = op.getWeight(); in matchAndRewrite()