Lines Matching defs:Consts
2482 MutableArrayRef<ConstantInt*> Consts) const {
2491 Consts[i] = ConstantInt::get(IntTy, 0);
2497 Consts[i] = ConstantInt::get(IntTy, CI->getValue().getSExtValue());
2501 Consts[i] = ConstantInt::get(IntTy, A.getZExtValue());
2515 SmallVector<ConstantInt*,4> Consts(Elem.size());
2516 bool AllConst = getBuildVectorConstInts(Elem, VecTy, DAG, Consts);
2527 llvm::all_of(Consts, [](ConstantInt *CI) { return CI->isZero(); }))
2533 // The 'Consts' array will have all values as integers regardless
2535 uint32_t V = (Consts[0]->getZExtValue() & 0xFFFF) |
2536 Consts[1]->getZExtValue() << 16;
2554 uint32_t V = (Consts[0]->getZExtValue() & 0xFF) |
2555 (Consts[1]->getZExtValue() & 0xFF) << 8 |
2556 (Consts[2]->getZExtValue() & 0xFF) << 16 |
2557 Consts[3]->getZExtValue() << 24;
2606 SmallVector<ConstantInt*,8> Consts(Elem.size());
2607 bool AllConst = getBuildVectorConstInts(Elem, VecTy, DAG, Consts);
2618 llvm::all_of(Consts, [](ConstantInt *CI) { return CI->isZero(); }))
2645 Val = (Val << W) | (Consts[Num-1-i]->getZExtValue() & Mask);