Lines Matching defs:srcValue
214 /// Constructs operations that convert `srcValue` into a new value of type
217 Value srcValue, Type targetType,
219 Type srcType = srcValue.getType();
226 return srcValue;
235 srcValue);
238 Value replacement = castToSameSizedInt(builder, loc, srcValue, dataLayout);
242 /// Constructs operations that convert `srcValue` into a new value of type
246 Value srcValue, Type targetType,
249 Type srcType = srcValue.getType();
257 return castSameSizedTypes(builder, loc, srcValue, targetType, dataLayout);
260 Value replacement = castToSameSizedInt(builder, loc, srcValue, dataLayout);
268 builder.createOrFold<LLVM::LShrOp>(loc, srcValue, shiftConstant);
278 /// Constructs operations that insert the bits of `srcValue` into the
282 Value srcValue, Value reachingDef,
286 srcValue.getType(),
289 uint64_t valueTypeSize = dataLayout.getTypeSizeInBits(srcValue.getType());
292 return castSameSizedTypes(builder, loc, srcValue, reachingDef.getType(),
300 Value valueAsInt = castToSameSizedInt(builder, loc, srcValue, dataLayout);