Lines Matching refs:ConstantInt
1020 unsigned ShiftVal = cast<llvm::ConstantInt>(Shift)->getZExtValue();
1324 Constant *ShiftAmt = ConstantInt::get(Ty, 32);
1331 Constant *Mask = ConstantInt::get(Ty, 0xffffffff);
1710 ConstantAsMetadata::get(ConstantInt::get(Type::getInt32Ty(C), 1)));
1737 ConstantAsMetadata::get(ConstantInt::get(Type::getInt32Ty(C), 1)));
1845 (!isa<ConstantInt>(CI->getArgOperand(3)) ||
1846 cast<ConstantInt>(CI->getArgOperand(3))->getZExtValue() != 4)) {
1937 C = ConstantInt::getAllOnesValue(Builder.getInt16Ty());
1939 C = ConstantInt::getNullValue(Builder.getInt16Ty());
1948 ConstantInt::get(I32Ty, 0));
1950 ConstantInt::get(I32Ty, 0));
1961 ConstantInt::get(I32Ty, 0));
2036 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue();
2039 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue();
2140 (!isa<ConstantInt>(CI->getArgOperand(3)) ||
2141 cast<ConstantInt>(CI->getArgOperand(3))->getZExtValue() != 4)) {
2235 Imm = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue();
2301 ConstantInt::get(I32Ty, I));
2353 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue();
2437 unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
2443 unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
2450 unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
2456 unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
2465 unsigned Imm = cast <ConstantInt>(CI->getArgOperand(2))->getZExtValue();
2479 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue();
2523 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
2547 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
2570 uint8_t Imm = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue();
2601 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
2623 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
2642 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
2661 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue();
3082 C, ConstantAsMetadata::get(ConstantInt::get(Type::getInt32Ty(C), 1)));
3168 if (!isa<ConstantInt>(CI->getArgOperand(4)) ||
3169 cast<ConstantInt>(CI->getArgOperand(4))->getZExtValue() != 4) {
3225 (!isa<ConstantInt>(CI->getArgOperand(4)) ||
3226 cast<ConstantInt>(CI->getArgOperand(4))->getZExtValue() != 4)) {
3759 const ConstantInt *Align = cast<ConstantInt>(CI->getArgOperand(3));
4060 mdconst::dyn_extract_or_null<ConstantInt>(Op->getOperand(0))) {
4064 ConstantAsMetadata::get(ConstantInt::get(Int32Ty, Module::Max)),
4108 ConstantAsMetadata::get(ConstantInt::get(Int32Ty,Module::Error)),
4110 ConstantAsMetadata::get(ConstantInt::get(Int8Ty,Val & 0xff))};
4132 ConstantInt::get(Int8Ty, SwiftMajorVersion));
4134 ConstantInt::get(Int8Ty, SwiftMinorVersion));