| /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() 119 for (Constant *C : Consts) in convertUsersOfConstantsToInstructions()
|
| H A D | Value.cpp | 560 SmallVector<TrackingVH<Constant>, 8> Consts; in replaceUsesWithIf() local 571 Consts.push_back(TrackingVH<Constant>(C)); in replaceUsesWithIf() 578 while (!Consts.empty()) { in replaceUsesWithIf() 581 Consts.pop_back_val()->handleOperandChange(this, New); in replaceUsesWithIf()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | R600EmitClauseMarkers.cpp | 116 const SmallVectorImpl<std::pair<MachineOperand *, int64_t>> &Consts = in SubstituteKCacheBank() local 121 for (auto &[Op, Sel] : Consts) { in SubstituteKCacheBank() 152 for (auto &[Op, Sel] : Consts) { in SubstituteKCacheBank()
|
| H A D | R600InstrInfo.cpp | 547 R600InstrInfo::fitsConstReadLimitations(const std::vector<unsigned> &Consts) in fitsConstReadLimitations() 549 assert (Consts.size() <= 12 && "Too many operands in instructions group"); in fitsConstReadLimitations() 551 for (unsigned Const : Consts) { in fitsConstReadLimitations() 574 std::vector<unsigned> Consts; in fitsConstReadLimitations() local 586 Consts.push_back(Src.second); in fitsConstReadLimitations() 591 Consts.push_back((Index << 2) | Chan); in fitsConstReadLimitations() 595 return fitsConstReadLimitations(Consts); in fitsConstReadLimitations()
|
| H A D | R600ISelLowering.cpp | 1994 std::vector<unsigned> Consts; in FoldOperand() local 2006 Consts.push_back(ParentNode->getConstantOperandVal(OtherSelIdx)); in FoldOperand() 2012 Consts.push_back(Cst->getZExtValue()); in FoldOperand() 2013 if (!TII->fitsConstReadLimitations(Consts)) { in FoldOperand()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Evaluator.cpp | 202 SmallVector<Constant *, 32> Consts; in toConstant() local 204 Consts.push_back(MV.toConstant()); in toConstant() 207 return ConstantStruct::get(ST, Consts); in toConstant() 209 return ConstantArray::get(AT, Consts); in toConstant() 211 return ConstantVector::get(Consts); in toConstant()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ReplaceConstant.h | 39 ArrayRef<Constant *> Consts, Function *RestrictToFunc = nullptr,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLowering.cpp | 2514 MutableArrayRef<ConstantInt*> Consts) const { in getBuildVectorConstInts() 2523 Consts[i] = ConstantInt::get(IntTy, 0); in getBuildVectorConstInts() 2529 Consts[i] = ConstantInt::get(IntTy, CI->getValue().getSExtValue()); in getBuildVectorConstInts() 2533 Consts[i] = ConstantInt::get(IntTy, A.getZExtValue()); in getBuildVectorConstInts() 2547 SmallVector<ConstantInt*,4> Consts(Elem.size()); in buildVector32() local 2548 bool AllConst = getBuildVectorConstInts(Elem, VecTy, DAG, Consts); in buildVector32() 2559 llvm::all_of(Consts, [](ConstantInt *CI) { return CI->isZero(); })) in buildVector32() 2567 uint32_t V = (Consts[0]->getZExtValue() & 0xFFFF) | in buildVector32() 2568 Consts[1]->getZExtValue() << 16; in buildVector32() 2586 uint32_t V = (Consts[0]->getZExtValue() & 0xFF) | in buildVector32() [all …]
|
| H A D | HexagonISelLowering.h | 396 MutableArrayRef<ConstantInt*> Consts) const;
|
| H A D | HexagonISelLoweringHVX.cpp | 851 SmallVector<ConstantInt*, 128> Consts(VecLen); in buildHvxVectorReg() local 852 bool AllConst = getBuildVectorConstInts(Values, VecTy, DAG, Consts); in buildHvxVectorReg() 854 ArrayRef<Constant*> Tmp((Constant**)Consts.begin(), in buildHvxVectorReg() 855 (Constant**)Consts.end()); in buildHvxVectorReg()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/ |
| H A D | PPC.cpp | 399 SmallVector<int, 16> Consts; in EmitPPCBuiltinExpr() local 403 Consts.push_back(Val); in EmitPPCBuiltinExpr() 406 Zero, Consts); in EmitPPCBuiltinExpr() 408 SmallVector<Constant *, 16> Consts; in EmitPPCBuiltinExpr() local 410 Consts.push_back(Builder.getInt8(NumBytes + Idx)); in EmitPPCBuiltinExpr() 411 Value *Mask2 = ConstantVector::get(Consts); in EmitPPCBuiltinExpr()
|