Lines Matching refs:RValue
27 RValue CodeGenFunction::EmitCXXMemberCall(const CXXMethodDecl *MD,
49 Args.add(RValue::get(This), MD->getThisType(getContext()));
53 Args.add(RValue::get(ImplicitParam), ImplicitParamTy);
76 RValue CodeGenFunction::EmitCXXMemberCallExpr(const CXXMemberCallExpr *CE,
135 if (isa<CXXDestructorDecl>(MD)) return RValue::get(nullptr);
138 return RValue::get(nullptr);
145 return RValue::get(This);
154 return RValue::get(This);
204 return RValue::get(nullptr);
233 RValue
273 Args.add(RValue::get(This), ThisType);
283 RValue
297 return RValue::get(This);
306 RValue CodeGenFunction::EmitCUDAKernelCallExpr(const CUDAKernelCallExpr *E,
999 static RValue EmitNewDeleteCall(CodeGenFunction &CGF,
1005 RValue RV =
1032 RValue CodeGenFunction::EmitBuiltinNewDeleteCall(const FunctionProtoType *Type,
1059 RValue *getPlacementArgs() { return reinterpret_cast<RValue*>(this+1); }
1063 return NumPlacementArgs * sizeof(RValue);
1073 void setPlacementArg(unsigned I, RValue Arg) {
1088 DeleteArgs.add(RValue::get(Ptr), *AI++);
1092 DeleteArgs.add(RValue::get(AllocSize), *AI++);
1109 DominatingValue<RValue>::saved_type Ptr;
1110 DominatingValue<RValue>::saved_type AllocSize;
1112 DominatingValue<RValue>::saved_type *getPlacementArgs() {
1113 return reinterpret_cast<DominatingValue<RValue>::saved_type*>(this+1);
1118 return NumPlacementArgs * sizeof(DominatingValue<RValue>::saved_type);
1123 DominatingValue<RValue>::saved_type Ptr,
1124 DominatingValue<RValue>::saved_type AllocSize)
1128 void setPlacementArg(unsigned I, DominatingValue<RValue>::saved_type Arg) {
1147 RValue RV = AllocSize.restore(CGF);
1153 RValue RV = getPlacementArgs()[I].restore(CGF);
1185 DominatingValue<RValue>::saved_type SavedNewPtr =
1186 DominatingValue<RValue>::save(CGF, RValue::get(NewPtr));
1187 DominatingValue<RValue>::saved_type SavedAllocSize =
1188 DominatingValue<RValue>::save(CGF, RValue::get(AllocSize));
1198 DominatingValue<RValue>::save(CGF, NewArgs[I+1].RV));
1230 allocatorArgs.add(RValue::get(allocSize), sizeType);
1241 RValue RV;
1362 DeleteArgs.add(RValue::get(DeletePtr), ArgTy);
1365 DeleteArgs.add(RValue::get(Size), SizeTy);
1497 Args.add(RValue::get(DeletePtr), VoidPtrTy);
1520 Args.add(RValue::get(Size), size_t);