Home | History | Annotate | Download | only in Scalar

Lines Matching defs:Val

577         unsigned Val = cast<ConstantInt>(MSI->getValue())->getZExtValue();
580 APInt APVal(NumBytes*8, Val);
583 if (Val)
1820 Value *Val = SI->getOperand(0);
1821 Type *SIType = Val->getType();
1824 // store { i32, i32 } %val, { i32, i32 }* %alloc
1826 // %val.0 = extractvalue { i32, i32 } %val, 0
1827 // store i32 %val.0, i32* %alloc.0
1828 // %val.1 = extractvalue { i32, i32 } %val, 1
1829 // store i32 %val.1, i32* %alloc.1
1833 Value *Extract = Builder.CreateExtractValue(Val, i, Val->getName());
1877 Instruction *Val = NewElts[0];
1878 if (Val->getType() != BC->getDestTy()) {
1879 Val = new BitCastInst(Val, BC->getDestTy(), "", BC);
1880 Val->takeName(BC);
1882 BC->replaceAllUsesWith(Val);
1944 Instruction *Val = NewElts[Idx];
1946 Val = GetElementPtrInst::CreateInBounds(Val, NewArgs, "", GEPI);
1947 Val->takeName(GEPI);
1949 if (Val->getType() != GEPI->getType())
1950 Val = new BitCastInst(Val, GEPI->getType(), Val->getName(), GEPI);
1951 GEPI->replaceAllUsesWith(Val);