Searched refs:Consts (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | R600EmitClauseMarkers.cpp | 122 const SmallVectorImpl<std::pair<MachineOperand *, int64_t>> &Consts = in SubstituteKCacheBank() local 127 for (unsigned i = 0, n = Consts.size(); i < n; ++i) { in SubstituteKCacheBank() 128 if (Consts[i].first->getReg() != R600::ALU_CONST) in SubstituteKCacheBank() 130 unsigned Sel = Consts[i].second; in SubstituteKCacheBank() 158 for (unsigned i = 0, j = 0, n = Consts.size(); i < n; ++i) { in SubstituteKCacheBank() 159 if (Consts[i].first->getReg() != R600::ALU_CONST) in SubstituteKCacheBank() 163 Consts[i].first->setReg( in SubstituteKCacheBank() 167 Consts[i].first->setReg( in SubstituteKCacheBank()
|
| H A D | R600InstrInfo.cpp | 557 R600InstrInfo::fitsConstReadLimitations(const std::vector<unsigned> &Consts) in fitsConstReadLimitations() 559 assert (Consts.size() <= 12 && "Too many operands in instructions group"); in fitsConstReadLimitations() 561 for (unsigned Const : Consts) { in fitsConstReadLimitations() 584 std::vector<unsigned> Consts; in fitsConstReadLimitations() local 596 Consts.push_back(Src.second); in fitsConstReadLimitations() 601 Consts.push_back((Index << 2) | Chan); in fitsConstReadLimitations() 605 return fitsConstReadLimitations(Consts); in fitsConstReadLimitations()
|
| H A D | R600ISelLowering.cpp | 1973 std::vector<unsigned> Consts; in FoldOperand() local 1987 Consts.push_back(Cst->getZExtValue()); in FoldOperand() 1993 Consts.push_back(Cst->getZExtValue()); in FoldOperand() 1994 if (!TII->fitsConstReadLimitations(Consts)) { in FoldOperand()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | Evaluator.cpp | 201 SmallVector<Constant *, 32> Consts; in toConstant() local 203 Consts.push_back(MV.toConstant()); in toConstant() 206 return ConstantStruct::get(ST, Consts); in toConstant() 208 return ConstantArray::get(AT, Consts); in toConstant() 210 return ConstantVector::get(Consts); in toConstant()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Value.cpp | 543 SmallVector<TrackingVH<Constant>, 8> Consts; in replaceUsesWithIf() local 554 Consts.push_back(TrackingVH<Constant>(C)); in replaceUsesWithIf() 561 while (!Consts.empty()) { in replaceUsesWithIf() 564 Consts.pop_back_val()->handleOperandChange(this, New); in replaceUsesWithIf()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLowering.cpp | 2382 MutableArrayRef<ConstantInt*> Consts) const { in getBuildVectorConstInts() 2391 Consts[i] = ConstantInt::get(IntTy, 0); in getBuildVectorConstInts() 2401 Consts[i] = ConstantInt::get(IntTy, A.getZExtValue()); in getBuildVectorConstInts() 2415 SmallVector<ConstantInt*,4> Consts(Elem.size()); in buildVector32() local 2435 uint32_t V = (Consts[0]->getZExtValue() & 0xFFFF) | in buildVector32() 2436 Consts[1]->getZExtValue() << 16; in buildVector32() 2454 int32_t V = (Consts[0]->getZExtValue() & 0xFF) | in buildVector32() 2455 (Consts[1]->getZExtValue() & 0xFF) << 8 | in buildVector32() 2456 (Consts[2]->getZExtValue() & 0xFF) << 16 | in buildVector32() 2457 Consts[3]->getZExtValue() << 24; in buildVector32() [all …]
|
| H A D | HexagonISelLowering.h | 349 MutableArrayRef<ConstantInt*> Consts) const;
|
| H A D | HexagonISelLoweringHVX.cpp | 667 SmallVector<ConstantInt*, 128> Consts(VecLen); in buildHvxVectorReg() local 668 bool AllConst = getBuildVectorConstInts(Values, VecTy, DAG, Consts); in buildHvxVectorReg() 670 ArrayRef<Constant*> Tmp((Constant**)Consts.begin(), in buildHvxVectorReg() 671 (Constant**)Consts.end()); in buildHvxVectorReg()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGBuiltin.cpp | 15451 SmallVector<int, 16> Consts; in EmitPPCBuiltinExpr() local 15455 Consts.push_back(Val); in EmitPPCBuiltinExpr() 15458 Zero, Consts); in EmitPPCBuiltinExpr() 15460 SmallVector<Constant *, 16> Consts; in EmitPPCBuiltinExpr() local 15462 Consts.push_back(Builder.getInt8(NumBytes + Idx)); in EmitPPCBuiltinExpr() 15463 Value *Mask2 = ConstantVector::get(Consts); in EmitPPCBuiltinExpr()
|