Searched refs:Consts (Results 1 – 8 of 8) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | R600EmitClauseMarkers.cpp | 121 const SmallVectorImpl<std::pair<MachineOperand *, int64_t>> &Consts = in SubstituteKCacheBank() local 126 for (unsigned i = 0, n = Consts.size(); i < n; ++i) { in SubstituteKCacheBank() 127 if (Consts[i].first->getReg() != R600::ALU_CONST) in SubstituteKCacheBank() 129 unsigned Sel = Consts[i].second; in SubstituteKCacheBank() 157 for (unsigned i = 0, j = 0, n = Consts.size(); i < n; ++i) { in SubstituteKCacheBank() 158 if (Consts[i].first->getReg() != R600::ALU_CONST) in SubstituteKCacheBank() 162 Consts[i].first->setReg( in SubstituteKCacheBank() 166 Consts[i].first->setReg( in SubstituteKCacheBank()
|
| H A D | R600InstrInfo.cpp | 560 R600InstrInfo::fitsConstReadLimitations(const std::vector<unsigned> &Consts) in fitsConstReadLimitations() 562 assert (Consts.size() <= 12 && "Too many operands in instructions group"); in fitsConstReadLimitations() 564 for (unsigned i = 0, n = Consts.size(); i < n; ++i) { in fitsConstReadLimitations() 565 unsigned ReadConstHalf = Consts[i] & 2; in fitsConstReadLimitations() 566 unsigned ReadConstIndex = Consts[i] & (~3); in fitsConstReadLimitations() 587 std::vector<unsigned> Consts; in fitsConstReadLimitations() local 600 Consts.push_back(Src.second); in fitsConstReadLimitations() 605 Consts.push_back((Index << 2) | Chan); in fitsConstReadLimitations() 609 return fitsConstReadLimitations(Consts); in fitsConstReadLimitations()
|
| H A D | R600ISelLowering.cpp | 2026 std::vector<unsigned> Consts; in FoldOperand() local 2040 Consts.push_back(Cst->getZExtValue()); in FoldOperand() 2046 Consts.push_back(Cst->getZExtValue()); in FoldOperand() 2047 if (!TII->fitsConstReadLimitations(Consts)) { in FoldOperand()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Value.cpp | 534 SmallVector<TrackingVH<Constant>, 8> Consts; in replaceUsesWithIf() local 547 Consts.push_back(TrackingVH<Constant>(C)); in replaceUsesWithIf() 554 while (!Consts.empty()) { in replaceUsesWithIf() 557 Consts.pop_back_val()->handleOperandChange(this, New); in replaceUsesWithIf()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLowering.cpp | 2367 MutableArrayRef<ConstantInt*> Consts) const { in getBuildVectorConstInts() 2376 Consts[i] = ConstantInt::get(IntTy, 0); in getBuildVectorConstInts() 2386 Consts[i] = ConstantInt::get(IntTy, A.getZExtValue()); in getBuildVectorConstInts() 2400 SmallVector<ConstantInt*,4> Consts(Elem.size()); in buildVector32() local 2418 uint32_t V = (Consts[0]->getZExtValue() & 0xFFFF) | in buildVector32() 2419 Consts[1]->getZExtValue() << 16; in buildVector32() 2430 int32_t V = (Consts[0]->getZExtValue() & 0xFF) | in buildVector32() 2431 (Consts[1]->getZExtValue() & 0xFF) << 8 | in buildVector32() 2432 (Consts[1]->getZExtValue() & 0xFF) << 16 | in buildVector32() 2433 Consts[2]->getZExtValue() << 24; in buildVector32() [all …]
|
| H A D | HexagonISelLowering.h | 352 MutableArrayRef<ConstantInt*> Consts) const;
|
| H A D | HexagonISelLoweringHVX.cpp | 537 SmallVector<ConstantInt*, 128> Consts(VecLen); in buildHvxVectorReg() local 538 bool AllConst = getBuildVectorConstInts(Values, VecTy, DAG, Consts); in buildHvxVectorReg() 540 ArrayRef<Constant*> Tmp((Constant**)Consts.begin(), in buildHvxVectorReg() 541 (Constant**)Consts.end()); in buildHvxVectorReg()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBuiltin.cpp | 15135 SmallVector<int, 16> Consts; in EmitPPCBuiltinExpr() local 15139 Consts.push_back(Val); in EmitPPCBuiltinExpr() 15142 Zero, Consts); in EmitPPCBuiltinExpr() 15144 SmallVector<Constant *, 16> Consts; in EmitPPCBuiltinExpr() local 15146 Consts.push_back(Builder.getInt8(NumBytes + Idx)); in EmitPPCBuiltinExpr() 15147 Value *Mask2 = ConstantVector::get(Consts); in EmitPPCBuiltinExpr()
|