Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Arg

743 /// CreateCoercedLoad - Create a load from \arg SrcPtr interpreted as
744 /// a pointer to an object of type \arg Ty.
830 /// CreateCoercedStore - Create a store to \arg DstPtr from \arg Src,
1331 return CGF.Builder.CreateTrunc(value, varType, "arg.unpromote");
1333 return CGF.Builder.CreateFPCast(value, varType, "arg.unpromote");
1402 const VarDecl *Arg = *i;
1407 isa<ParmVarDecl>(Arg) && cast<ParmVarDecl>(Arg)->isKNRPromoted();
1416 ArgStruct, ArgI.getInAllocaFieldIndex(), Arg->getName());
1452 Arg->getLocStart());
1455 V = emitArgumentDemotion(*this, Arg, V);
1471 if (Arg->getType().isRestrictQualified())
1481 V = emitArgumentDemotion(*this, Arg, V);
1485 if (MD->isVirtual() && Arg == CXXABIThisDecl)
1494 llvm::Type *LTy = ConvertType(Arg->getType());
1502 llvm::AllocaInst *Alloca = CreateMemTemp(Ty, Arg->getName());
1509 (unsigned)getContext().getDeclAlign(Arg).getQuantity());
1540 AI->setName(Arg->getName() + ".coerce" + Twine(i));
1552 AI->setName(Arg->getName() + ".coerce" + Twine(i));
1562 AI->setName(Arg->getName() + ".coerce");
1569 V = EmitLoadOfScalar(V, false, AlignmentToUse, Ty, Arg->getLocStart());
1571 V = emitArgumentDemotion(*this, Arg, V);
1584 CharUnits Align = getContext().getDeclAlign(Arg);
1593 AI->setName(Arg->getName() + "." + Twine(Index));
1602 llvm::Value *U = llvm::UndefValue::get(ConvertType(Arg->getType()));
2284 CallExpr::const_arg_iterator Arg = ArgBeg + I;
2285 EmitCallArg(Args, *Arg, ArgTypes[I]);
2297 CallExpr::const_arg_iterator Arg = ArgBeg + I;
2298 assert(Arg != ArgEnd);
2299 EmitCallArg(Args, *Arg, ArgTypes[I]);
2861 llvm::Value *Arg = ArgMemory;
2874 if (Arg->getType() != LastParamTy) {
2887 Arg = Builder.CreateBitCast(Arg, LastParamTy);
2890 Args.push_back(Arg);