Lines Matching defs:Val
981 void ExecutionEngine::StoreValueToMemory(const GenericValue &Val,
990 StoreIntToMemory(Val.IntVal, (uint8_t*)Ptr, StoreBytes);
993 *((float*)Ptr) = Val.FloatVal;
996 *((double*)Ptr) = Val.DoubleVal;
999 memcpy(Ptr, Val.IntVal.getRawData(), 10);
1006 *((PointerTy*)Ptr) = Val.PointerVal;
1009 for (unsigned i = 0; i < Val.AggregateVal.size(); ++i) {
1011 *(((double*)Ptr)+i) = Val.AggregateVal[i].DoubleVal;
1013 *(((float*)Ptr)+i) = Val.AggregateVal[i].FloatVal;
1015 unsigned numOfBytes =(Val.AggregateVal[i].IntVal.getBitWidth()+7)/8;
1016 StoreIntToMemory(Val.AggregateVal[i].IntVal,
1162 GenericValue Val = getConstantValue(Init);
1163 StoreValueToMemory(Val, (GenericValue*)Addr, Init->getType());