Lines Matching defs:Consts
2492 MutableArrayRef<ConstantInt*> Consts) const {
2501 Consts[i] = ConstantInt::get(IntTy, 0);
2507 Consts[i] = ConstantInt::get(IntTy, CI->getValue().getSExtValue());
2511 Consts[i] = ConstantInt::get(IntTy, A.getZExtValue());
2525 SmallVector<ConstantInt*,4> Consts(Elem.size());
2526 bool AllConst = getBuildVectorConstInts(Elem, VecTy, DAG, Consts);
2537 llvm::all_of(Consts, [](ConstantInt *CI) { return CI->isZero(); }))
2543 // The 'Consts' array will have all values as integers regardless
2545 uint32_t V = (Consts[0]->getZExtValue() & 0xFFFF) |
2546 Consts[1]->getZExtValue() << 16;
2564 int32_t V = (Consts[0]->getZExtValue() & 0xFF) |
2565 (Consts[1]->getZExtValue() & 0xFF) << 8 |
2566 (Consts[2]->getZExtValue() & 0xFF) << 16 |
2567 Consts[3]->getZExtValue() << 24;
2616 SmallVector<ConstantInt*,8> Consts(Elem.size());
2617 bool AllConst = getBuildVectorConstInts(Elem, VecTy, DAG, Consts);
2628 llvm::all_of(Consts, [](ConstantInt *CI) { return CI->isZero(); }))
2655 Val = (Val << W) | (Consts[Num-1-i]->getZExtValue() & Mask);