search for: argv_alloca

Displaying 3 results from an estimated 3 matches for "argv_alloca".

Did you mean: argc_alloca
2007 Mar 06
6
[LLVMdev] alloca & store generation
...arg_iterator argv_it = argc_it; ++argv_it; Argument* argc = &*argc_it; Argument* argv = &*argv_it; Instruction* insertNewInstsBefore = &eb->front(); AllocaInst* argc_alloca = new AllocaInst(argc->getType(), "", insertNewInstsBefore); AllocaInst* argv_alloca = new AllocaInst(argv->getType(), "", insertNewInstsBefore); new StoreInst(argc, argc_alloca, false, insertNewInstsBefore); new StoreInst(argv, argv_alloca, false, insertNewInstsBefore); ----- Why isn't llvm giving a name to the value returned by the allocas and usi...
2007 Mar 06
0
[LLVMdev] alloca & store generation
...; ++argv_it; > Argument* argc = &*argc_it; > Argument* argv = &*argv_it; > Instruction* insertNewInstsBefore = &eb->front(); > AllocaInst* argc_alloca = new AllocaInst(argc->getType(), "", > insertNewInstsBefore); > AllocaInst* argv_alloca = new AllocaInst(argv->getType(), "", > insertNewInstsBefore); > new StoreInst(argc, argc_alloca, false, insertNewInstsBefore); > new StoreInst(argv, argv_alloca, false, insertNewInstsBefore); > ----- > > Why isn't llvm giving a name to the value re...
2007 Mar 06
0
[LLVMdev] alloca & store generation
...g for the name in the new AllocaInst calls below. Replace the empty strings with "argc_addr" or whatever you want. > AllocaInst* argc_alloca = new AllocaInst(argc->getType(), "", > insertNewInstsBefore); > AllocaInst* argv_alloca = new AllocaInst(argv->getType(), "", > insertNewInstsBefore);