search for: v3_1

Displaying 2 results from an estimated 2 matches for "v3_1".

Did you mean: v3.1
2008 May 28
1
Search&replace string?
...to modify a text file with a R function. In fact I would like to know if a function "Search & Replace" exists. My problem is to create config files from a Base file in which I have to modify values of parameters. My Base File: #... #... Param1= V1_1 #... Param2 = V2_1 Param3 = V3_1 #... What I would like for each created file i: #... #... Param1= V1_i #... Param2 = V2_i Param3 = V3_i #... For the moment my solution is to read each line of the config file, modify if needed the line and recopy it in the new file. But the problem is that my file is about 500 lines and I w...
2010 Aug 26
2
[LLVMdev] analysis and transformation of Machine IRs
...ring the loop. For example, if I wanted to execute the loop (n - 3) times in the code above, I could modify it in the following ways: 1) add 3 to v0 (I1) v0 := (I1_1) v0_1 := v0 + 3 <= add inserted here ... (I2) v1 := phi(v0_1, v2) <= change operand 2) subtract 3 from v3. (I0) v3 := (I0.a) v3_1 := v3 - 3 <= sub inserted here ... (I4) cmp v2, v3_1 <= change operand Is there a class or function that generates an add or sub instruction in a target-independent manner? I am looking for something similar to TargetInstrInfo::copyRegTpReg but one that creates other types of instructions....