search for: 0th

Displaying 20 results from an estimated 84 matches for "0th".

Did you mean: 0t0
2006 Apr 26
2
[LLVMdev] finding implicit casts
...9;ve been doing is for each function taking all the instruction and going through each of their operands (and the opreands of their operands etc...) and checking to see if any are an instance of UnaryConstantExpr. When I encounter such an instance, I determine whether the type of that value and its 0th operand differ, if they do its an implicit cast. I do basically the same procedure for the the global variables. Is this the best approach to take or is there a better way of going about this? I've asked at least a few questions on this mailing-list and you have all been VERY helpful. Thank yo...
2004 Dec 03
5
how can I get the coefficients of x^0, x^1, x^2, . , x^6 from expansion of (1+x+x^2)^3
Hi, I would like to get the coefficients of x^0, x^1, x^2, . , x^6 from expansion of (1+x+x^2)^3. The result should be 1, 3, 6, 7, 6, 3, 1; How can I calculate in R? You help will be greatly appreciated. Peter [[alternative HTML version deleted]]
2011 Jan 07
0
[LLVMdev] Increasing TargetRegisterInfo::FirstVirtualRegister?
...d get rid of those annoying subtractions of FirstVirtualRegister all over the virtual-register-handling passes. Since 0 is used all over the place as "invalid register" it is probably best to leave this alone, let FirstVirtualRegister be 1, and simply ignore (i.e. treat as erroneous) the 0th element of anything keyed off FirstVirtualRegister. On Jan 7, 2011, at 11:08 AMPST, Andrew Clinton wrote: > On 01/07/2011 02:07 AM, Chris Lattner wrote: >> >> Unless your goal is to merge this work onto LLVM mainline, the best thing to do is a local hack in your tree. >> &g...
2018 Apr 23
0
Reconstructing files from shards
...tool/script that will recreate the file? or can you just sort them sort them properly and then simply cat/copy+ them back together? cat shardGFID.1 .. shardGFID.X > thefile " / The response from RedHat was: "Yes, this should work, but you would need to include the base file (the 0th shard, if you will) first in the list of files that you're stitching up.? In the happy case, you can test it by comparing the md5sum of the file from the mount to that of your stitched file." We tested it with some VM files and it indeed worked fine. That was probably on 3.10.1 at the...
2017 Apr 13
3
Question on induction variable simplification pass
Hi all, It looks like the induction variable simplification pass prefers doing a zero-extension to compute the wider trip count of loops when extending the IV. This can sometimes result in loss of information making ScalarEvolution's analysis conservative which can lead to missed performance opportunities. For example, consider this loopnest- int i, j; for(i=0; i< 40; i++) for(j=0;
2020 Sep 08
1
[PATCH v7 67/72] x86/smpboot: Load TSS and getcpu GDT entry before loading IDT
...from the GDT */ > + setup_getcpu(cpu); > + > + /* IST vectors need TSS to be set up. */ > + tss_setup_ist(tss); > + tss_setup_io_bitmap(tss); > + set_tss_desc(cpu, &get_cpu_entry_area(cpu)->tss.x86_tss); > + > + load_TR_desc(); Aha, this is what you mean here in your 0th message. I'm guessing it is ok to do those things twice in start_secondary... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette
2006 Apr 26
0
[LLVMdev] finding implicit casts
...or each function taking all the > instruction and going through each of their operands (and the opreands of > their operands etc...) and checking to see if any are an instance of > UnaryConstantExpr. When I encounter such an instance, I determine whether > the type of that value and its 0th operand differ, if they do its an > implicit cast. I do basically the same procedure for the the global > variables. Is this the best approach to take or is there a better way of > going about this? I'm not sure I follow here. It sounds like you are detecting things like: short A =...
2011 Jan 07
3
[LLVMdev] Increasing TargetRegisterInfo::FirstVirtualRegister?
On 01/07/2011 02:07 AM, Chris Lattner wrote: > > Unless your goal is to merge this work onto LLVM mainline, the best thing to do is a local hack in your tree. > > -Chris Yes, I will create a patch for my tree to increase FirstVirtualRegister. Would this be a good change to include in 2.9?
2010 May 28
3
CentOS 5 and seamonkey
...anyone had any success in rebuilding seamonkey 2.0.4 for CentOS 5 (32-bit)? I'm currently running seamonkey-2.0-1 which I rebuilt last November. Sadly, I have no idea where the SRPM originated. I found seamonkey-2.0.4-1.fc12.src.rpm and seamonkey-2.0.4-1.fc12.src.rpm, downloaded and got to 0th base: [rj at madeleine Downloads]$ rpmbuild --rebuild seamonkey-2.0.4-1.fc12.src.rpm Installing seamonkey-2.0.4-1.fc12.src.rpm warning: InstallSourcePackage: Header V3 RSA/SHA256 signature: NOKEY, key ID 57bbccba warning: user mockbuild does not exist - using root warni...
2010 Jan 28
2
Constrained vector permutation
Hello, I'm trying to permute a vector of positive integers > 0 with the constraint that each element must be <= twice the element before it (i.e. for some vector x, x[i] <= 2*x[i-1]), assuming the "0th" element is 1. Hence the first element of the vector must always be 1 or 2 (by assuming the "0th" element is 1). Similarly, the 2nd must always be below/= 4, the 3rd always below/= 6, etc. Here's an example, suppose I have the vector x x <- 2:6 This vector already fits the...
2011 Jan 09
2
[LLVMdev] Increasing TargetRegisterInfo::FirstVirtualRegister?
...d get rid of those annoying subtractions of FirstVirtualRegister all over the virtual-register-handling passes. Since 0 is used all over the place as "invalid register" it is probably best to leave this alone, let FirstVirtualRegister be 1, and simply ignore (i.e. treat as erroneous) the 0th element of anything keyed off FirstVirtualRegister. Fixed in r123137. I decided to move the virtual register numbers because there is so much code already using physical register numbers as direct indices. My first attempt was to let the virtuals run from -1 downwards, but it turns out that we h...
2006 Apr 26
1
[LLVMdev] finding implicit casts
...e > > instruction and going through each of their operands (and the opreands > of > > their operands etc...) and checking to see if any are an instance of > > UnaryConstantExpr. When I encounter such an instance, I determine > whether > > the type of that value and its 0th operand differ, if they do its an > > implicit cast. I do basically the same procedure for the the global > > variables. Is this the best approach to take or is there a better way of > > going about this? > > I'm not sure I follow here. It sounds like you are detecting...
2013 Feb 25
2
[LLVMdev] Queries regarding function's arguments data type
...nteger array, pointer, int, char, take different action. 3. I have added following code to check its data type. // F is any function basically of type function * FunctionType *FTy = F->getFunctionType(); unsigned int numArgs = FTy->getNumParams(); //Currently just checking data type of the 0th argument. Eventually will be running it in the loop from 0 to numArgs. errs() << "\n1 Argument type int 32 : " << FTy->getParamType(0)->isIntegerTy(32); errs() << "\n2 Argument type char : " << FTy->getParamType(0)->isIntegerTy(8); errs(...
2014 Oct 21
2
[LLVMdev] Question regarding getElementPtr/Addressing modes in backend
...ngle* %r, i16 0, i32 1 %1 = load i24* %height, align 4, !tbaa !6 %mul = mul nsw i24 %1, %0 ret i24 %mul } The DAG before isel would look like isel.png. I would then pattern match the load nodes with: [(set i24:$val, (load addr:$addr))] Where addr is a complex pattern. This is fine for the 0th element in the struct, as there is no offset so the resultant assembly would be (which works fine): r0 = *(i0) The issue I have is with the second load. I need the result to be: m0 = 4 r1 = *(i0 += m0) (offset is stored in a register(m0), and modifies the original pointer) rather than r1 = *(i...
2008 Aug 18
5
[LLVMdev] Type Legalizer - Load handling problem
...tValueType() == N->getValueType(0) && N->getNumValues() == 1 && "Invalid operand expansion"); LOAD node has two values but the assertion checks N->getNumValues() == 1 which is not letting us change load operation. Also in the first check of the insertion, 0th value type (MVT::Other (chain) for load) of the node N is being compared with the value type of Res. It is not trying to compare 1st value (which is i8) of LOAD with the 1st value of Res. Regards Sachin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http:/...
2018 Apr 23
1
Reconstructing files from shards
...> > or can you just sort them sort them properly and then simply cat/copy+ them back together? > > cat shardGFID.1 .. shardGFID.X > thefile " > > > The response from RedHat was: > > "Yes, this should work, but you would need to include the base file (the 0th shard, if you will) first in the list of files that you're stitching up. In the happy case, you can test it by comparing the md5sum of the file from the mount to that of your stitched file." > > We tested it with some VM files and it indeed worked fine. That was probably on 3.10.1...
2014 Dec 14
2
[LLVMdev] Question about node collapse
...s actually helpful and I think I now better understand what is going on here. Unless there is a pointer involved, DSA will not collapse nodes. That makes sense... What we would like to leverage DSA for is essentially type-unsafe memory accesses, such as the example where code write a byte into the 0th byte of an integer. Another example would be where a short is written over an integer. Or an integer is written starting from the 2nd byte of another integer. And so on... Now, after I read your answer below, it seems that DSA could still provide us with such conservative information - for each DS...
2016 Dec 29
1
Structure Padding and GetElementPtr
Yes, Reid. I have used these methods to figure out the layout. Now my question is to build a map between the original layout and the new layout. I show one example below. When LLVM IR access the 4th (starting from 0th) member (i32) of the class A, the map will tell that in fact it is accessing the originally 3rd member (i1). Any suggestion? Regards, Hu Hong On 29 December 2016 at 10:50, Reid Kleckner <rnk at google.com> wrote: > Only Clang really knows the original structure layout. You can pass >...
2006 Mar 27
6
tftpd: read(ack): Connection refused
I configure the system of remote boot. Almost all was done. But one simple problem. tftp doesn't download pxelinux.0 from boot-server, in.tftpd is running at. Problem isn't in pxelinux.0, but in protocol itself. I've created test file "test" in /tftpboot and tried to download it but "Timeout occured". From /var/log/messages: Mar 27 16:32:27 dk in.tftpd[26576]:
2017 Jul 05
2
[DWARFv5] Reading the .debug_str_offsets section
...t; in it. Each contribution has a header, which gives its size and whether the array elements are 32 or 64 bits wide. Any DWARF compile-unit or type-unit that uses the array (that is, any unit that uses any of the "strx" forms) has a DW_AT_str_offsets_base attribute that points to the 0th element of the array. The producer chooses whether to have one contribution shared by all units, one contribution per unit, or somewhere in between. There's an implication for how to read the .debug_str_offsets section, which is that the reader has to parse the section before using it to look...