/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ReplaceConstant.cpp | 52 bool convertUsersOfConstantsToInstructions(ArrayRef<Constant *> Consts, in convertUsersOfConstantsToInstructions() argument 58 for (Constant *C : Consts) { in convertUsersOfConstantsToInstructions() 116 for (Constant *C : Consts) in convertUsersOfConstantsToInstructions()
|
H A D | Value.cpp | 548 SmallVector<TrackingVH<Constant>, 8> Consts; in replaceUsesWithIf() local 559 Consts.push_back(TrackingVH<Constant>(C)); in replaceUsesWithIf() 566 while (!Consts.empty()) { in replaceUsesWithIf() 569 Consts.pop_back_val()->handleOperandChange(this, New); in replaceUsesWithIf()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | R600EmitClauseMarkers.cpp | 122 const SmallVectorImpl<std::pair<MachineOperand *, int64_t>> &Consts = in SubstituteKCacheBank() local 127 for (auto &[Op, Sel] : Consts) { in SubstituteKCacheBank() 158 for (auto &[Op, Sel] : Consts) { 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 | 1989 std::vector<unsigned> Consts; in FoldOperand() local 2001 Consts.push_back(ParentNode->getConstantOperandVal(OtherSelIdx)); in FoldOperand() 2007 Consts.push_back(Cst->getZExtValue()); in FoldOperand() 2008 if (!TII->fitsConstReadLimitations(Consts)) { in FoldOperand()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ReplaceConstant.h | 36 bool convertUsersOfConstantsToInstructions(ArrayRef<Constant *> Consts,
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLowering.cpp | 2492 MutableArrayRef<ConstantInt*> Consts) const { in getBuildVectorConstInts() 2501 Consts[i] = ConstantInt::get(IntTy, 0); in getBuildVectorConstInts() 2507 Consts[i] = ConstantInt::get(IntTy, CI->getValue().getSExtValue()); in getBuildVectorConstInts() 2511 Consts[i] = ConstantInt::get(IntTy, A.getZExtValue()); in getBuildVectorConstInts() 2525 SmallVector<ConstantInt*,4> Consts(Elem.size()); in buildVector32() local 2526 bool AllConst = getBuildVectorConstInts(Elem, VecTy, DAG, Consts); in buildVector32() 2537 llvm::all_of(Consts, [](ConstantInt *CI) { return CI->isZero(); })) in buildVector32() 2545 uint32_t V = (Consts[0]->getZExtValue() & 0xFFFF) | in buildVector32() 2546 Consts[1]->getZExtValue() << 16; in buildVector32() 2564 int32_t V = (Consts[0]->getZExtValue() & 0xFF) | in buildVector32() [all …]
|
H A D | HexagonISelLowering.h | 379 MutableArrayRef<ConstantInt*> Consts) const;
|
H A D | HexagonISelLoweringHVX.cpp | 841 SmallVector<ConstantInt*, 128> Consts(VecLen); in buildHvxVectorReg() 842 bool AllConst = getBuildVectorConstInts(Values, VecTy, DAG, Consts); in buildHvxVectorReg() local 844 ArrayRef<Constant*> Tmp((Constant**)Consts.begin(), in buildHvxVectorReg() 845 (Constant**)Consts.end()); in buildHvxVectorReg()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 17156 SmallVector<int, 16> Consts; in EmitPPCBuiltinExpr() local 17160 Consts.push_back(Val); in EmitPPCBuiltinExpr() 17163 Zero, Consts); in EmitPPCBuiltinExpr() 17165 SmallVector<Constant *, 16> Consts; in EmitPPCBuiltinExpr() local 17167 Consts.push_back(Builder.getInt8(NumBytes + Idx)); in EmitPPCBuiltinExpr() 17168 Value *Mask2 = ConstantVector::get(Consts); in EmitPPCBuiltinExpr()
|