Home | History | Annotate | Download | only in cached

Lines Matching refs:Alloca

632 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
792 // var = alloca double
813 // Create an alloca for the variable in the entry block.
814 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
820 // Store the value into the alloca.
821 Builder.CreateStore(StartVal, Alloca);
836 NamedValues[VarName] = Alloca;
858 // Reload, increment, and restore the alloca. This handles the case where
860 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
862 Builder.CreateStore(NextVar, Alloca);
912 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
913 Builder.CreateStore(InitVal, Alloca);
920 NamedValues[VarName] = Alloca;
970 /// CreateArgumentAllocas - Create an alloca for each argument and register the
975 // Create an alloca for this variable.
976 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
978 // Store the initial value into the alloca.
979 Builder.CreateStore(AI, Alloca);
982 NamedValues[Args[Idx]] = Alloca;