Lines Matching refs:Alloca
631 /// CreateEntryBlockAlloca - Create an alloca instruction in the entry block of
791 // var = alloca double
812 // Create an alloca for the variable in the entry block.
813 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
819 // Store the value into the alloca.
820 Builder.CreateStore(StartVal, Alloca);
835 NamedValues[VarName] = Alloca;
857 // Reload, increment, and restore the alloca. This handles the case where
859 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
861 Builder.CreateStore(NextVar, Alloca);
911 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
912 Builder.CreateStore(InitVal, Alloca);
919 NamedValues[VarName] = Alloca;
969 /// CreateArgumentAllocas - Create an alloca for each argument and register the
974 // Create an alloca for this variable.
975 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
977 // Store the initial value into the alloca.
978 Builder.CreateStore(AI, Alloca);
981 NamedValues[Args[Idx]] = Alloca;