Lines Matching defs:IFI
34 bool llvm::InlineFunction(CallInst *CI, InlineFunctionInfo &IFI,
36 return InlineFunction(CallSite(CI), IFI, InsertLifetime);
38 bool llvm::InlineFunction(InvokeInst *II, InlineFunctionInfo &IFI,
40 return InlineFunction(CallSite(II), IFI, InsertLifetime);
282 InlineFunctionInfo &IFI) {
283 CallGraph &CG = *IFI.CG;
316 IFI.InlinedCalls.push_back(NewCall);
343 InlineFunctionInfo &IFI,
360 IFI.TD) >= ByValAlignment)
373 if (IFI.TD)
374 Align = IFI.TD->getPrefTypeAlignment(AggTy);
394 if (IFI.TD == 0)
398 IFI.TD->getTypeStoreSize(AggTy));
500 bool llvm::InlineFunction(CallSite CS, InlineFunctionInfo &IFI,
506 // If IFI has any state in it, zap it before we fill it in.
507 IFI.reset();
598 ActualArg = HandleByValArgument(ActualArg, TheCall, CalledFunc, IFI,
616 &InlinedFunctionInfo, IFI.TD, TheCall);
622 if (IFI.CG)
623 UpdateCallGraphAfterInlining(CS, FirstNewBlock, VMap, IFI);
651 IFI.StaticAllocas.push_back(AI);
657 IFI.StaticAllocas.push_back(cast<AllocaInst>(I));
672 if (InsertLifetime && !IFI.StaticAllocas.empty()) {
674 for (unsigned ai = 0, ae = IFI.StaticAllocas.size(); ai != ae; ++ai) {
675 AllocaInst *AI = IFI.StaticAllocas[ai];
686 if (IFI.TD) {
688 uint64_t AllocaTypeSize = IFI.TD->getTypeAllocSize(AllocaType);
925 if (Value *V = SimplifyInstruction(PHI, IFI.TD)) {