OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:UDiv
(Results
1 - 25
of
66
) sorted by relevancy
1
2
3
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
IntegerDivision.cpp
76
/// code generated, e.g. at the urem instruction. This will generate a
udiv
in
77
/// the process, and Builder's insert point will be pointing at the
udiv
(if
85
// ; %quotient =
udiv
i32 %dividend, %divisor
92
if (Instruction *
UDiv
= dyn_cast<Instruction>(Quotient))
93
Builder.SetInsertPoint(
UDiv
);
100
/// code generated, e.g. at the sdiv instruction. This will generate a
udiv
in
101
/// the process, and Builder's insert point will be pointing at the
udiv
(if
127
// ; %q_mag =
udiv
i32 %u_dvnd, %u_dvsr
141
if (Instruction *
UDiv
= dyn_cast<Instruction>(Q_Mag))
142
Builder.SetInsertPoint(
UDiv
);
[
all
...]
BypassSlowDivision.cpp
99
SlowDivOrRem->getOpcode() == Instruction::
UDiv
;
115
case Instruction::
UDiv
:
299
//
udiv
/urem because this optimization only handles positive numbers.
SimplifyIndVar.cpp
136
case Instruction::
UDiv
:
322
// Replace sdiv by
udiv
if both of the operands are non-negative
324
auto *
UDiv
= BinaryOperator::Create(
325
BinaryOperator::
UDiv
, SDiv->getOperand(0), SDiv->getOperand(1),
326
SDiv->getName() + ".
udiv
", SDiv);
327
UDiv
->setIsExact(SDiv->isExact());
328
SDiv->replaceAllUsesWith(
UDiv
);
1209
case Instruction::
UDiv
:
1340
case Instruction::
UDiv
:
/src/external/apache2/llvm/dist/llvm/lib/IR/
ReplaceConstant.cpp
36
case Instruction::
UDiv
:
Instruction.cpp
150
case Instruction::
UDiv
:
343
case
UDiv
: return "
udiv
";
ConstantFold.cpp
1175
case Instruction::
UDiv
:
1267
case Instruction::
UDiv
:
1387
case Instruction::
UDiv
:
1389
return ConstantInt::get(CI1->getContext(), C1V.
udiv
(C2V));
1426
case Instruction::
UDiv
:
1528
case Instruction::
UDiv
:
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
DivRemPairs.cpp
79
/// The actual
udiv
/sdiv instruction. Source of truth.
88
assert((DivInst->getOpcode() == Instruction::
UDiv
||
135
else if (I.getOpcode() == Instruction::
UDiv
)
CorrelatedValuePropagation.cpp
63
STATISTIC(NumSDivs, "Number of sdiv converted to
udiv
");
724
/// Try to shrink a
udiv
/urem's width down to the smallest power of two that's
727
assert(Instr->getOpcode() == Instruction::
UDiv
||
760
if (BinOp->getOpcode() == Instruction::
UDiv
)
821
/// If this is the case, replace the SDiv with a
UDiv
. Even for local
856
auto *
UDiv
=
858
UDiv
->setDebugLoc(SDI->getDebugLoc());
859
UDiv
->setIsExact(SDI->isExact());
861
Value *Res =
UDiv
;
870
// Try to simplify our new
udiv
[
all
...]
/src/external/apache2/llvm/dist/llvm/include/llvm/IR/
Operator.h
118
/// A
udiv
or sdiv instruction, which can be marked as "exact",
142
OpC == Instruction::
UDiv
||
446
: public ConcreteOperator<PossiblyExactOperator, Instruction::
UDiv
> {
Instruction.h
191
return Opcode ==
UDiv
|| Opcode == SDiv || Opcode == URem || Opcode == SRem;
/src/external/apache2/llvm/dist/llvm/lib/FuzzMutate/
Operations.cpp
23
Ops.push_back(binOpDescriptor(1, Instruction::
UDiv
));
101
case Instruction::
UDiv
:
/src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
SystemZTargetTransformInfo.cpp
165
case Instruction::
UDiv
:
415
Opcode == Instruction::
UDiv
|| Opcode == Instruction::URem;
1004
UserI->getOpcode() == Instruction::
UDiv
) &&
1032
case Instruction::
UDiv
:
/src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUCodeGenPrepare.cpp
318
I.getOpcode() == Instruction::
UDiv
||
991
// fold (
udiv
x, (shl c, y)) -> x >>u (log2(c)+y) iff c is power of 2
1017
assert(Opc == Instruction::URem || Opc == Instruction::
UDiv
||
1027
bool IsDiv = Opc == Instruction::
UDiv
|| Opc == Instruction::SDiv;
1069
// unsigned
udiv
(unsigned x, unsigned y) {
1146
bool IsDiv = Opc == Instruction::SDiv || Opc == Instruction::
UDiv
;
1172
if (Opc == Instruction::
UDiv
|| Opc == Instruction::SDiv) {
1204
if ((Opc == Instruction::URem || Opc == Instruction::
UDiv
||
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
PoisonChecking.cpp
153
case Instruction::
UDiv
: {
/src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
ScalarEvolutionExpressions.h
657
const SCEVUDivExpr *
UDiv
= cast<SCEVUDivExpr>(S);
658
push(
UDiv
->getLHS());
659
push(
UDiv
->getRHS());
TargetTransformInfoImpl.h
463
case Instruction::
UDiv
:
975
case Instruction::
UDiv
:
/src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/InstCombine/
InstCombiner.h
333
case Instruction::
UDiv
: // 0 /u X = 0
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/
ExpandVectorPredication.cpp
235
case Instruction::
UDiv
:
/src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineInternal.h
685
Instruction *foldICmpSRemConstant(ICmpInst &Cmp, BinaryOperator *
UDiv
,
687
Instruction *foldICmpUDivConstant(ICmpInst &Cmp, BinaryOperator *
UDiv
,
InstCombineMulDivRem.cpp
9
// This file implements the visit functions for mul, fmul, sdiv,
udiv
, fdiv,
271
if (!Div || (Div->getOpcode() != Instruction::
UDiv
&&
279
(Div->getOpcode() == Instruction::
UDiv
||
290
auto RemOpc = Div->getOpcode() == Instruction::
UDiv
? Instruction::URem
720
/// instructions (
udiv
and sdiv). It is called by the visitors to those integer
800
if (!C2->isNullValue()) // avoid X
udiv
0
886
// X
udiv
2^C -> X >> C
892
llvm_unreachable("Failed to constant fold
udiv
-> logbase2");
899
// X
udiv
(C1 << N), where C1 is "1<<C2" --> X >> (N+C2)
900
// X
udiv
(zext (C1 << N)), where C1 is "1<<C2" --> X >> (N+C2
[
all
...]
InstCombineVectorOps.cpp
1483
case Instruction::
UDiv
:
1564
case Instruction::
UDiv
:
1654
case Instruction::
UDiv
:
/src/external/apache2/llvm/dist/llvm/lib/Analysis/
CFLGraph.h
574
case Instruction::
UDiv
:
ObjCARCInstKind.cpp
259
case Instruction::
UDiv
:
ScalarEvolution.cpp
343
const SCEVUDivExpr *
UDiv
= cast<SCEVUDivExpr>(this);
344
OS << "(" << *
UDiv
->getLHS() << " /u " << *
UDiv
->getRHS() << ")";
804
// Lexicographically compare
udiv
expressions.
3114
// Fallback to %a == %x urem %y == %x -<nuw> ((%x
udiv
%y) *<nuw> %y)
3115
const SCEV *
UDiv
= getUDivExpr(LHS, RHS);
3116
const SCEV *Mult = getMulExpr(
UDiv
, RHS, SCEV::FlagNUW);
3138
return LHS; // X
udiv
1 --> x
3139
// If the denominator is zero, the result of the
udiv
is undefined. Don't
3289
/// possible. There is no representation for an exact
udiv
in SCEV IR, but w
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/
ExecutionEngine.cpp
778
case Instruction::
UDiv
:
796
case Instruction::
UDiv
:GV.IntVal = LHS.IntVal.
udiv
(RHS.IntVal); break;
Completed in 52 milliseconds
1
2
3
Indexes created Fri Sep 25 00:27:33 UTC 2026