Displaying 20 results from an estimated 7000 matches similar to: "[LLVMdev] llvm::ConvertibleToGEP"
2005 Jul 26
2
[LLVMdev] llvm::ConvertibleToGEP
But it's completely empty, no?
const Type *llvm::ConvertibleToGEP(const Type *Ty, Value *OffsetVal,
std::vector<Value*> &Indices,
const TargetData &TD,
BasicBlock::iterator *BI) {
return 0;
}
in lib/Transforms/TransformInternals.cpp, how can this be?
Naftali
On Tue,
2005 Jul 26
2
[LLVMdev] llvm::ConvertibleToGEP
I'm sorry, it had seemed to me that the documented functionality:
// ConvertibleToGEP - This function returns true if the specified value V
is
// a valid index into a pointer of type Ty. If it is valid, Idx is filled
in
// with the values that would be appropriate to make this a getelementptr
// instruction. The type returned is the root type that the GEP would
point to
would be quite
2005 Jul 26
0
[LLVMdev] llvm::ConvertibleToGEP
On Tue, 26 Jul 2005, Naftali Schwartz wrote:
> But it's completely empty, no?
>
> const Type *llvm::ConvertibleToGEP(const Type *Ty, Value *OffsetVal,
> std::vector<Value*> &Indices,
> const TargetData &TD,
> BasicBlock::iterator *BI) {
> return 0;
> }
2005 Jul 26
1
[LLVMdev] llvm::ConvertibleToGEP
Well, I guess I was hoping soemthing like this would help in the
pointer-to-array transformation for the following code:
> > int A[100], B[100], C[100], X, Y, Z;
> >
> > int *p_a = &A[0];
> > int *p_b = &B[0];
> > int *p_c = &C[0];
> >
> > int i, j, k, f;
> > for ( k = 0; k < Z; k++ )
> >
2005 Jul 26
0
[LLVMdev] llvm::ConvertibleToGEP
On Tue, 26 Jul 2005, Naftali Schwartz wrote:
> I'm sorry, it had seemed to me that the documented functionality:
>
> // ConvertibleToGEP - This function returns true if the specified value V is
> // a valid index into a pointer of type Ty. If it is valid, Idx is filled in
> // with the values that would be appropriate to make this a getelementptr
> // instruction. The type
2005 Jul 26
0
[LLVMdev] llvm::ConvertibleToGEP
On Tue, 26 Jul 2005, Naftali Schwartz wrote:
> It seems like general dependence analysis in LLVM should require that this
> function be, well, functional. Is it simply a placeholder waiting for
> someone to come and fill in the details? It also appears that some other
> things besides dependence analysis depend on it as well...anyone working on
> this?
I don't understand
2005 Jul 18
3
[LLVMdev] Dependence Analysis
Hi, everyone. I've been examining llvm for a while and been duly
impressed. I'd like to contribute in the area of dependence analysis, and
a good place to start seems to be in the transformation of pointers to
explicit array accesses. Is anyone else working on this? If not, does
this seem a plausible place to start and how would be the best way to go
about it?
Thanks,
Naftali
2005 Jul 21
0
[LLVMdev] Re: Dependence Analysis
On Thu, 21 Jul 2005, Naftali Schwartz wrote:
>> If you're interested in dependence analysis, the next important step is
> to
>> start analyzing distance and direction vectors.
>
> Well, specifically, I was thinking of a mechanism to turn this:
The indvars pass is *intentionally* restricted to only promoting affine
expressions to array subscripts, not arbitrary
2005 Jul 21
5
[LLVMdev] Re: Dependence Analysis
> LLVM already includes this: the -indvars pass. It turns things like
this:
>
> int *P = for (...; ... ; ++P)
> *P
>
> to:
>
> int *P = ...
> for (int i = 0; ... ; ++i)
> P[i]
>
> If you're interested in dependence analysis, the next important step is
to
> start analyzing distance and direction vectors.
Well, specifically, I was thinking of a
2005 Jul 29
1
[LLVMdev] help with pointer-to-array conversion
OK, thanks Chris, I've found that running
opt -loopsimplify -instcombine -indvars -stats
gives me the setup I need for this transformation, and a small patch
makes it happen in the simple case we discussed. However, I'm having
some trouble when things get a bit more complicated with 3 nesting levels:
int A[3000000], B[20000], C[100], Z;
int main()
{
int i, j, k, *a, *b,
2005 Jul 28
0
[LLVMdev] help with pointer-to-array conversion
On Thu, 28 Jul 2005, Naftali Schwartz wrote:
> I now understand that IndVarSimplify.cpp is capable of reproducing array
> references when the pointer initialization from the array address is found
> inside the immediately enclosing loop, such that in the following code:
Ok.
> int A[20000], B[100], Z;
> int main()
> {
> int i, j, *a, *b;
> for ( a =
2005 Jul 28
2
[LLVMdev] help with pointer-to-array conversion
I now understand that IndVarSimplify.cpp is capable of reproducing array
references when the pointer initialization from the array address is found
inside the immediately enclosing loop, such that in the following code:
int A[20000], B[100], Z;
int main()
{
int i, j, *a, *b;
for ( a = &A[0], i = 0; i != 200; i++ )
for ( b = &B[0], j = 0; j != 100; j++
2012 Jul 23
2
file and on SayNumber() app
Hello,
I use the SayNumber() with variable.
for example the number 1234 - asterisk play the number without and.
-- Executing [888 at from-internal:1] Set("SIP/103-0000035d",
"LANGUAGE=en") in new stack
-- Executing [888 at from-internal:2] SayNumber("SIP/103-0000035d",
"1234") in new stack
-- <SIP/103-0000035d> Playing
2005 Jul 21
0
[LLVMdev] Re: Dependence Analysis
This may sound like a dumb question but for those who do not follow either
:-
"why do you want to turn pointers into indexes ?"
Aaron
2005 Jul 21
0
[LLVMdev] Dependence Analysis
On Mon, 18 Jul 2005, Naftali Schwartz wrote:
> Hi, everyone. I've been examining llvm for a while and been duly impressed.
> I'd like to contribute in the area of dependence analysis, and a good place
> to start seems to be in the transformation of pointers to explicit array
> accesses. Is anyone else working on this? If not, does this seem a
> plausible place to
2005 Jul 21
1
[LLVMdev] Dependence Analysis
> LLVM already includes this: the -indvars pass. It turns things like this:
>
> int *P = for (...; ... ; ++P)
> *P
>
> to:
>
> int *P = ...
> for (int i = 0; ... ; ++i)
> P[i]
>
> If you're interested in dependence analysis, the next important step is to
> start analyzing distance and direction vectors.
You can check out
2020 Oct 12
3
MemorySSA LLVM-dev meeting notes and upcoming meetings
Hello,
Following up on last week's LLVM-Dev meeting where we discussed MemorySSA
related topics, I created the following google doc
<https://docs.google.com/document/d/1-uEEZfmRdPThZlctOq9eXlmUaSSAAi8oKxhrPY_lpjk/edit#>
with some of the meeting notes and planning for future meetings. For those
who participated, please feel free to add items I may have missed into the
document and cc
2023 Apr 21
2
Generalised piping into operators
On 21/04/2023 12:16 p.m., Michael Milton wrote:
> I'm afraid I don't understand. I know that parsing `+`(1, 1) returns a
> result equivalent to `1?+ 1`, but why does that impose a restriction on
> parsing the pipe operator? What is the downside of allowing arbitrary
> RHS functions?
I thought the decision to exclude "_ + 1" happens after enough parsing
has
2013 Jun 25
5
Marvell, IOMMU/VT-d, and pci-phantom
Hi, guys.
I''ve been trying to use the pci-phantom command line options to xen so
as to work around the hardware issue with the Marvell 88SE91xx SATA
controllers in IOMMU ([Intel:] VT-d) mode, but I cannot seem to get my
head around it. From having had a glance here:
http://xenbits.xen.org/docs/unstable/misc/xen-command-line.html
and in particular the syntax described as such:
2008 Jul 16
5
''$'' placeholder naming can confuse your runner
Hi guys, I''m facing a strange behavior that smells like a bug.
consider this scenario:
Scenario: I''m cool
Given that I am cool 4 times out of 7
and this step:
Given("that I am cool $n times out of $n_total") do |n, n_total|
...
end
When running my story, this step is considered as PENDING.
If I change the name of the second placeholder to $total, the step
runs