Displaying 3 results from an estimated 3 matches for "isbar".
Did you mean:
isar
2013 Jul 22
6
[LLVMdev] Inverse of ConstantFP::get and similar functions?
...iven
constant value or a splat vector with the given constant value? I
can't seem to find any, and it doesn't look like the pattern matching
interface provides something similar to this either.
If this doesn't exist, then I propose adding static versions of all
the various ConstantFoo::isBar() functions, which take a value as a
parameter and check that the value is of a constant of the appropriate
type and value (checking for vectors matching the predicate in the
vector case).
For example:
static bool ConstantFP::isExactlyValue(Value *V, double D);
would return true is V is Const...
2013 Jul 22
0
[LLVMdev] Inverse of ConstantFP::get and similar functions?
...splat vector with the given constant value? I
> can't seem to find any, and it doesn't look like the pattern matching
> interface provides something similar to this either.
>
> If this doesn't exist, then I propose adding static versions of all
> the various ConstantFoo::isBar() functions, which take a value as a
> parameter and check that the value is of a constant of the appropriate
> type and value (checking for vectors matching the predicate in the
> vector case).
>
> For example:
>
> static bool ConstantFP::isExactlyValue(Value *V, double D);...
2013 Jul 22
0
[LLVMdev] Inverse of ConstantFP::get and similar functions?
...splat vector with the given constant value? I
> can't seem to find any, and it doesn't look like the pattern matching
> interface provides something similar to this either.
>
> If this doesn't exist, then I propose adding static versions of all
> the various ConstantFoo::isBar() functions, which take a value as a
> parameter and check that the value is of a constant of the
> appropriate
> type and value (checking for vectors matching the predicate in the
> vector case).
>
> For example:
>
> static bool ConstantFP::isExactlyValue(Value *V, dou...