OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:OpI
(Results
1 - 25
of
25
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
MachineInstrBundle.h
98
MachineInstr::mop_iterator
OpI
, OpE;
103
while (
OpI
== OpE) {
109
OpI
= InstrI->operands_begin();
123
OpI
= InstrI->operands_begin();
129
/// iterators point to the end of the BB and
OpI
== OpE.
132
: InstrI(InstrE), InstrE(InstrE),
OpI
(OpE), OpE(OpE) {}
136
bool isValid() const { return
OpI
!= OpE; }
141
++
OpI
;
145
ValueT &operator*() const { return *
OpI
; }
146
ValueT *operator->() const { return &*
OpI
; }
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
SpeculateAroundPHIs.cpp
99
auto *
OpI
= dyn_cast<Instruction>(*OpIt);
103
if (!
OpI
)
116
auto *ParentBB =
OpI
->getParent();
118
if (isa<PHINode>(
OpI
)) {
129
if (PotentialSpecSet.count(
OpI
))
134
if (UnsafeSet.count(
OpI
) || ParentBB != PhiBB ||
135
mayBeMemoryDependent(*
OpI
)) {
137
<< *
OpI
<< "\n");
140
UnsafeSet.insert(
OpI
);
149
if (!Visited.insert(
OpI
).second
[
all
...]
DCE.cpp
110
if (Instruction *
OpI
= dyn_cast<Instruction>(OpV))
111
if (isInstructionTriviallyDead(
OpI
, TLI))
112
WorkList.insert(
OpI
);
LoopUnrollPass.cpp
427
if (auto *
OpI
= dyn_cast<Instruction>(
429
if (L->contains(
OpI
))
430
PHIUsedList.push_back(
OpI
);
448
auto *
OpI
= dyn_cast<Instruction>(Op);
449
if (!
OpI
|| !L->contains(
OpI
))
453
CostWorklist.push_back(
OpI
);
636
if (auto *
OpI
= dyn_cast<Instruction>(Op))
637
if (L->contains(
OpI
))
638
AddCostRecursively(*
OpI
, TripCount - 1)
[
all
...]
Reassociate.cpp
2457
Instruction *
OpI
= dyn_cast<Instruction>(Op);
2458
if (!
OpI
||
OpI
->getOpcode() != I.getOpcode() || !
OpI
->hasOneUse()) {
2463
if (
OpI
->getOperand(0) !=
OpI
)
2464
Worklist.push_back(
OpI
->getOperand(0));
2465
if (
OpI
->getOperand(1) !=
OpI
)
2466
Worklist.push_back(
OpI
->getOperand(1))
[
all
...]
LoopInterchange.cpp
1352
Instruction *
OpI
= dyn_cast<Instruction>(Op);
1353
if (!
OpI
||
1354
this->LI->getLoopFor(
OpI
->getParent()) != this->InnerLoop ||
1355
OpI
== InductionPHI)
1357
WorkList.insert(
OpI
);
Scalarizer.cpp
543
Value *
OpI
= CI.getOperand(I);
544
if (
OpI
->getType()->isVectorTy()) {
545
Scattered[I] = scatter(&CI,
OpI
);
548
ScalarOperands[I] =
OpI
;
SimpleLoopUnswitch.cpp
143
Instruction *
OpI
= dyn_cast<Instruction>(OpV);
145
if (
OpI
&& ((IsRootAnd && match(
OpI
, m_LogicalAnd())) ||
146
(IsRootOr && match(
OpI
, m_LogicalOr())))) {
148
if (Visited.insert(
OpI
).second)
149
Worklist.push_back(
OpI
);
DeadStoreElimination.cpp
1671
if (Instruction *
OpI
= dyn_cast<Instruction>(O)) {
1673
if (isInstructionTriviallyDead(
OpI
, &TLI))
1674
NowDeadInsts.push_back(
OpI
);
/src/external/apache2/llvm/dist/llvm/utils/TableGen/
GICombinerEmitter.cpp
284
if (const DefInit *
OpI
= dyn_cast<DefInit>(&N))
285
if (
OpI
->getDef()->getName() == Def)
295
if (const DefInit *
OpI
= dyn_cast<DefInit>(&N))
296
if (
OpI
->getDef()->isSubClassOf(Cls))
297
return
OpI
->getDef();
309
if (const DefInit *
OpI
= dyn_cast<DefInit>(I->getOperator()))
310
if (
OpI
->getDef()->getName() == Name)
323
if (const DefInit *
OpI
= dyn_cast<DefInit>(I->getOperator()))
324
if (
OpI
->getDef()->isSubClassOf(Cls))
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
Utils.cpp
144
for (unsigned
OpI
= 0, OpE = I.getNumExplicitOperands();
OpI
!= OpE; ++
OpI
) {
145
MachineOperand &MO = I.getOperand(
OpI
);
167
constrainOperandRegClass(MF, TRI, MRI, TII, RBI, I, I.getDesc(), MO,
OpI
);
172
int DefIdx = I.getDesc().getOperandConstraint(
OpI
, MCOI::TIED_TO);
174
I.tieOperands(DefIdx,
OpI
);
/src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
R600Packetizer.cpp
182
int
OpI
= TII->getOperandIdx(MII->getOpcode(), R600::OpName::pred_sel),
184
Register PredI = (
OpI
> -1)?MII->getOperand(
OpI
).getReg() : Register(),
/src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64FalkorHWPFFix.cpp
743
for (unsigned
OpI
= 0, OpE = MI.getNumOperands();
OpI
< OpE; ++
OpI
) {
744
if (
OpI
== static_cast<unsigned>(LdI.BaseRegIdx))
746
MachineOperand &MO = MI.getOperand(
OpI
);
/src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonLoopIdiomRecognition.cpp
482
Value *
OpI
= I->getOperand(i), *OpJ = J->getOperand(i);
483
if (
OpI
== OpJ)
485
auto *InI = dyn_cast<const Instruction>(
OpI
);
523
if (Instruction *
OpI
= dyn_cast<Instruction>(Op))
524
link(
OpI
, B, At);
2336
Instruction *
OpI
= dyn_cast<Instruction>(I);
2337
if (!
OpI
)
2339
BasicBlock *PB =
OpI
->getParent();
2342
Worklist.insert(
OpI
);
HexagonVLIWPacketizer.cpp
522
unsigned BPI,
OPI
;
523
if (!HII->getBaseAndOffsetPosition(MI, BPI,
OPI
))
542
int64_t Offset = MI.getOperand(
OPI
).getImm();
546
MI.getOperand(
OPI
).setImm(Offset + Incr);
1280
for (const MachineOperand &
OpI
: I.operands()) {
1281
if (
OpI
.isReg()) {
1282
if (OpJ.clobbersPhysReg(
OpI
.getReg()))
1284
} else if (
OpI
.isRegMask()) {
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
Local.cpp
562
if (Instruction *
OpI
= dyn_cast<Instruction>(OpV))
563
if (isInstructionTriviallyDead(
OpI
, TLI))
564
DeadInsts.push_back(
OpI
);
647
if (Instruction *
OpI
= dyn_cast<Instruction>(OpV))
648
if (isInstructionTriviallyDead(
OpI
, TLI))
649
WorkList.insert(
OpI
);
ScalarEvolutionExpander.cpp
2627
auto *
OpI
= dyn_cast<Instruction>(OpV);
2628
if (!
OpI
)
2631
Loop *DefLoop = SE.LI.getLoopFor(
OpI
->getParent());
2636
ToUpdate.push_back(
OpI
);
SimplifyCFG.cpp
2428
Instruction *
OpI
= dyn_cast<Instruction>(Op);
2429
if (!
OpI
||
OpI
->getParent() != BB ||
OpI
->mayHaveSideEffects())
2432
++SinkCandidateUseCounts[
OpI
];
/src/external/apache2/llvm/dist/llvm/include/llvm/IR/
PatternMatch.h
2032
unsigned
OpI
;
2035
Argument_match(unsigned OpIdx, const Opnd_t &V) :
OpI
(OpIdx), Val(V) {}
2040
return Val.match(CI->getArgOperand(
OpI
));
2046
template <unsigned
OpI
, typename Opnd_t>
2048
return Argument_match<Opnd_t>(
OpI
, Op);
/src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineCasts.cpp
1679
// If we have fptrunc(
OpI
(fpextend x), (fpextend y)), we would like to
1702
// will not occur because the result of
OpI
is exact (as we will for
1753
// type of
OpI
doesn't enter into things at all. We simply evaluate
1881
auto *
OpI
= cast<CastInst>(FI.getOperand(0));
1882
Value *X =
OpI
->getOperand(0);
1893
if (!isKnownExactCastIntToFP(*
OpI
)) {
1900
if (OutputSize >
OpI
->getType()->getFPMantissaWidth())
1905
bool IsInputSigned = isa<SIToFPInst>(
OpI
);
InstructionCombining.cpp
3701
if (Instruction *
OpI
= dyn_cast<Instruction>(U.get()))
3702
Worklist.push(
OpI
);
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
SLPVectorizer.cpp
1351
for (unsigned
OpI
= 0, OpE = getNumOperands();
OpI
!= OpE; ++
OpI
) {
1352
OperandData &Data = getData(
OpI
, Ln);
1770
for (unsigned
OpI
= 0, OpE = Operands.size();
OpI
!= OpE; ++
OpI
) {
1771
dbgs() << "Operand " <<
OpI
<< ":\n";
1772
for (const Value *V : Operands[
OpI
])
LoopVectorize.cpp
9825
if (auto *
OpI
= dyn_cast<Instruction>(Op))
9826
Worklist.push_back(
OpI
);
/src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMBaseInstrInfo.cpp
3188
unsigned
OpI
= Opc != ARM::tSUBrr ? 1 : 2;
3190
(SrcReg2 != 0 && SubAdd->getOperand(
OpI
).getReg() == SrcReg2 &&
3191
SubAdd->getOperand(
OpI
+ 1).getReg() == SrcReg)) {
ARMISelLowering.cpp
7461
SDValue
OpI
= Op.getOperand(I);
7462
if (
OpI
.getOpcode() != ISD::ADD ||
OpI
.getOperand(0) != Op0 ||
7463
!isa<ConstantSDNode>(
OpI
.getOperand(1)) ||
7464
OpI
.getConstantOperandVal(1) != I * N)
Completed in 147 milliseconds
Indexes created Wed Aug 05 00:25:39 UTC 2026