Lines Matching refs:Consts
2291 MutableArrayRef<ConstantInt*> Consts) const {
2300 Consts[i] = ConstantInt::get(IntTy, 0);
2306 Consts[i] = ConstantInt::get(IntTy, CI->getValue().getSExtValue());
2310 Consts[i] = ConstantInt::get(IntTy, A.getZExtValue());
2324 SmallVector<ConstantInt*,4> Consts(Elem.size());
2325 bool AllConst = getBuildVectorConstInts(Elem, VecTy, DAG, Consts);
2335 llvm::all_of(Consts, [](ConstantInt *CI) { return CI->isZero(); }))
2341 uint32_t V = (Consts[0]->getZExtValue() & 0xFFFF) |
2342 Consts[1]->getZExtValue() << 16;
2353 int32_t V = (Consts[0]->getZExtValue() & 0xFF) |
2354 (Consts[1]->getZExtValue() & 0xFF) << 8 |
2355 (Consts[1]->getZExtValue() & 0xFF) << 16 |
2356 Consts[2]->getZExtValue() << 24;
2407 SmallVector<ConstantInt*,8> Consts(Elem.size());
2408 bool AllConst = getBuildVectorConstInts(Elem, VecTy, DAG, Consts);
2418 llvm::all_of(Consts, [](ConstantInt *CI) { return CI->isZero(); }))
2446 Val = (Val << W) | (Consts[Num-1-i]->getZExtValue() & Mask);