OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Rem
(Results
1 - 16
of
16
) sorted by relevancy
/src/sys/external/bsd/gnu-efi/dist/lib/ia32/
math.c
150
UINT32
Rem
;
160
Rem
= 0;
175
: "m"(Dividend), "m"(Divisor), "m"(
Rem
)
180
shl dword ptr Dividend[0], 1 ; shift
rem
:dividend left one
182
rcl dword ptr
Rem
, 1
184
mov eax,
Rem
185
cmp eax, Divisor ; Is
Rem
>= Divisor?
190
sub
Rem
, eax ; subtract divisor
196
*Remainder =
Rem
;
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/
TargetSchedule.cpp
50
unsigned
Rem
= Dividend % Divisor;
52
Divisor =
Rem
;
/src/external/apache2/llvm/dist/llvm/lib/Support/
APFixedPoint.cpp
305
APInt
Rem
;
306
APInt::sdivrem(ThisVal, OtherVal, Result,
Rem
);
309
if (ThisVal.isNegative() != OtherVal.isNegative() && !
Rem
.isNullValue())
/src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUPrintfRuntimeBinding.cpp
258
size_t
Rem
= SizeStr % DWORD_ALIGN;
262
if (
Rem
) {
263
NSizeStr = SizeStr + (DWORD_ALIGN -
Rem
);
439
size_t
Rem
= SizeStr % DWORD_ALIGN;
441
if (
Rem
) {
442
NSizeStr = SizeStr + (DWORD_ALIGN -
Rem
);
AMDGPUCodeGenPrepare.cpp
170
/// Expands 24 bit div or
rem
.
179
/// Expands 32 bit div or
rem
.
945
//
Rem
needs compensation, it's easier to recompute it
946
Value *
Rem
= Builder.CreateMul(Div, Den);
947
Res = Builder.CreateSub(Num,
Rem
);
AMDGPUISelLowering.cpp
1748
//
Rem
needs compensation, it's easier to recompute it
1749
SDValue
Rem
= DAG.getNode(ISD::MUL, DL, VT, Div, RHS);
1750
Rem
= DAG.getNode(ISD::SUB, DL, VT, LHS,
Rem
);
1757
Rem
= DAG.getNode(ISD::SIGN_EXTEND_INREG, DL, VT,
Rem
, InRegSize);
1761
Rem
= DAG.getNode(ISD::AND, DL, VT,
Rem
, TruncMask);
1764
return DAG.getMergeValues({ Div,
Rem
}, DL);
1796
SDValue
REM
= DAG.getBuildVector(MVT::v2i32, DL, {Res.getValue(1), Zero})
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineSimplifyDemanded.cpp
699
ConstantInt *
Rem
;
700
if (match(I->getOperand(1), m_ConstantInt(
Rem
))) {
703
if (
Rem
->isMinusOne())
705
APInt RA =
Rem
->getValue().abs();
1551
// TODO: We bail completely on integer div/
rem
and shifts because they have
InstCombineMulDivRem.cpp
292
Value *
Rem
= Builder.CreateBinOp(RemOpc, X, DivOp1);
294
return BinaryOperator::CreateSub(X,
Rem
);
295
return BinaryOperator::CreateSub(
Rem
, X);
622
/// because div/
rem
by zero is undefined.
630
// div/
rem
X, (Cond ? 0 : Y) -> div/
rem
X, Y
633
// div/
rem
X, (Cond ? Y : 0) -> div/
rem
X, Y
638
// Change the div/
rem
to use 'Y' instead of the select.
641
// Okay, we know we replace the operand of the div/
rem
with 'Y' with n
[
all
...]
InstCombineShifts.cpp
419
Value *
Rem
= Builder.CreateAnd(A, Mask, Op1->getName());
420
return replaceOperand(I, 1,
Rem
);
/src/external/apache2/llvm/dist/llvm/lib/MC/
WinCOFFObjectWriter.cpp
450
unsigned
Rem
= Value % 64;
452
*(Ptr--) = Alphabet[
Rem
];
/src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGStmt.cpp
1337
uint64_t Weight = Total / NCases,
Rem
= Total % NCases;
1340
SwitchWeights->push_back(Weight + (
Rem
? 1 : 0));
1344
if (
Rem
)
1345
Rem
--;
/src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
MachineScheduler.h
619
SchedRemainder *
Rem
= nullptr;
700
SchedRemainder *
rem
);
911
SchedRemainder
Rem
;
/src/external/apache2/llvm/dist/llvm/lib/Analysis/
LoopAccessAnalysis.cpp
1102
int64_t
Rem
= StepVal % Size;
1103
if (
Rem
)
/src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
AttributorAttributes.cpp
217
uint64_t
Rem
= Offset - SL->getElementOffset(Idx);
221
<< " Idx: " << Idx << "
Rem
: " <<
Rem
<< "\n");
225
Offset =
Rem
;
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
DAGCombiner.cpp
4367
// fold (
rem
c1, c2) -> c1%c2
6655
APInt
Rem
;
6656
APInt::udivrem(ExtractFromAmt, ExtractDiv, ResultAmt,
Rem
);
6657
if (
Rem
!= 0 || ResultAmt != OppLHSAmt)
/src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMISelLowering.cpp
18722
"Invalid opcode for Div/
Rem
lowering");
18730
//
rem
= a - b * div
18731
// return {div,
rem
}
18742
SDValue
Rem
= DAG.getNode(ISD::SUB, dl, VT, Dividend, Mul);
18744
SDValue Values[2] = {Div,
Rem
};
18773
// Lowers
REM
using divmod helpers
18776
// Build return types (div and
rem
)
18812
// Return second (
rem
) result operand (first contains div)
Completed in 173 milliseconds
Indexes created Tue Sep 22 00:26:15 UTC 2026