OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:OpC
(Results
1 - 21
of
21
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
Annotation2Metadata.cpp
47
auto *
OpC
= dyn_cast<ConstantStruct>(&Op);
48
if (!
OpC
||
OpC
->getNumOperands() != 4)
50
auto *StrGEP = dyn_cast<ConstantExpr>(
OpC
->getOperand(1));
60
auto *Bitcast = dyn_cast<ConstantExpr>(
OpC
->getOperand(0));
/src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/Utils/
Local.h
50
if (Constant *
OpC
= dyn_cast<Constant>(Op)) {
51
if (
OpC
->isZeroValue())
56
uint64_t OpValue =
OpC
->getUniqueInteger().getZExtValue();
64
if (IntIdxTy->isVectorTy() && !
OpC
->getType()->isVectorTy())
65
OpC
= ConstantVector::getSplat(
66
cast<VectorType>(IntIdxTy)->getElementCount(),
OpC
);
70
ConstantExpr::getIntegerCast(
OpC
, IntIdxTy, true /*SExt*/);
/src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUAnnotateKernelFeatures.cpp
131
const auto *
OpC
= dyn_cast<Constant>(U);
132
if (!
OpC
)
135
if (!ConstantExprVisited.insert(
OpC
).second)
138
Stack.push_back(
OpC
);
337
const auto *
OpC
= dyn_cast<Constant>(U);
338
if (!
OpC
)
341
if (visitConstantExprsRecursively(
OpC
, ConstantExprVisited, IsFunc,
/src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCRegisterInfo.cpp
93
static unsigned offsetMinAlignForOpcode(unsigned
OpC
);
1153
static unsigned offsetMinAlignForOpcode(unsigned
OpC
) {
1154
switch (
OpC
) {
1183
unsigned
OpC
= MI.getOpcode();
1184
return offsetMinAlignForOpcode(
OpC
);
1230
unsigned
OpC
= MI.getOpcode();
1232
if ((
OpC
== PPC::DYNAREAOFFSET ||
OpC
== PPC::DYNAREAOFFSET8)) {
1239
(
OpC
== PPC::DYNALLOC ||
OpC
== PPC::DYNALLOC8))
[
all
...]
PPCInstrInfo.cpp
802
MachineOperand &
OpC
= Root.getOperand(0);
803
Register RegC =
OpC
.getReg();
1767
unsigned
Opc
;
1769
Opc
= PPC::OR;
1771
Opc
= PPC::OR8;
1773
Opc
= PPC::FMR;
1775
Opc
= PPC::MCRF;
1777
Opc
= PPC::VOR;
1787
Opc
= PPC::XXLOR;
1790
Opc
= (Subtarget.hasP9Vector()) ? PPC::XSCPSGNDP : PPC::XXLORf
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/IR/
Operator.cpp
42
ConstantInt *
OpC
= dyn_cast<ConstantInt>(GTI.getOperand());
46
Offset = SL->getElementOffset(
OpC
->getZExtValue());
52
if (
OpC
)
53
ElemCount =
OpC
->getZExtValue();
Constants.cpp
1736
Constant *
OpC
= getOperand(I);
1737
if (
OpC
== Elt)
1745
if (isa<UndefValue>(
OpC
))
1750
Elt =
OpC
;
1752
if (
OpC
!= Elt)
1958
static Constant *getFoldedCast(Instruction::CastOps
opc
, Constant *C, Type *Ty,
1962
if (Constant *FC = ConstantFoldCastInstruction(
opc
, C, Ty))
1971
ConstantExprKeyType Key(
opc
, C);
1978
Instruction::CastOps
opc
= Instruction::CastOps(oc);
1979
assert(Instruction::isCast(
opc
) && "opcode out of range")
[
all
...]
Verifier.cpp
2164
const auto *
OpC
= dyn_cast<Constant>(U);
2165
if (!
OpC
)
2167
if (!ConstantExprVisited.insert(
OpC
).second)
2169
Stack.push_back(
OpC
);
/src/external/apache2/llvm/dist/llvm/include/llvm/IR/
Operator.h
140
static bool isPossiblyExactOpcode(unsigned
OpC
) {
141
return
OpC
== Instruction::SDiv ||
142
OpC
== Instruction::UDiv ||
143
OpC
== Instruction::AShr ||
144
OpC
== Instruction::LShr;
414
template<typename SuperClass, unsigned
Opc
>
418
return I->getOpcode() ==
Opc
;
421
return CE->getOpcode() ==
Opc
;
/src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonStoreWidening.cpp
129
unsigned
OpC
= MI->getOpcode();
132
switch (
OpC
) {
156
unsigned
Opc
= MI->getOpcode();
157
switch (
Opc
) {
/src/external/apache2/llvm/dist/llvm/lib/Analysis/
CGSCCPassManager.cpp
948
if (auto *
OpC
= dyn_cast<Constant>(Op))
949
if (Visited.insert(
OpC
).second)
950
Worklist.push_back(
OpC
);
ConstantFolding.cpp
755
Constant *SymbolicallyEvaluateBinop(unsigned
Opc
, Constant *Op0, Constant *Op1,
763
if (
Opc
== Instruction::And) {
782
if (
Opc
== Instruction::Sub) {
1301
unsigned
OpC
=
1303
return ConstantFoldBinaryOpOperands(
OpC
, LHS, RHS, DL);
3031
if (ConstantFP *
OpC
= dyn_cast<ConstantFP>(Call->getArgOperand(0))) {
3032
const APFloat &Op =
OpC
->getValueAPF();
3049
if (
OpC
->getType()->isDoubleTy())
3051
if (
OpC
->getType()->isFloatTy())
3059
if (
OpC
->getType()->isDoubleTy()
[
all
...]
InlineCost.cpp
1002
ConstantInt *
OpC
= dyn_cast<ConstantInt>(GTI.getOperand());
1003
if (!
OpC
)
1005
OpC
= dyn_cast<ConstantInt>(SimpleOp);
1006
if (!
OpC
)
1008
if (
OpC
->isZero())
1013
unsigned ElementIdx =
OpC
->getZExtValue();
1020
Offset +=
OpC
->getValue().sextOrTrunc(IntPtrWidth) * TypeSize;
ValueTracking.cpp
2058
ConstantInt *
OpC
= cast<ConstantInt>(GTI.getOperand());
2059
unsigned ElementIdx =
OpC
->getZExtValue();
2073
if (ConstantInt *
OpC
= dyn_cast<ConstantInt>(GTI.getOperand())) {
2074
if (!
OpC
->isZero())
7000
ConstantInt *
OpC
= dyn_cast<ConstantInt>(GEP->getOperand(i));
7001
if (!
OpC
)
7003
if (
OpC
->isZero())
7008
Offset += DL.getStructLayout(STy)->getElementOffset(
OpC
->getZExtValue());
7017
Offset += Size.getFixedSize() *
OpC
->getSExtValue();
ScalarEvolution.cpp
6632
if (auto *
OpC
= dyn_cast<SCEVConstant>(LHSMul->getOperand(0))) {
6634
unsigned MulZeros =
OpC
->getAPInt().countTrailingZeros();
6638
MulOps.push_back(getConstant(
OpC
->getAPInt().lshr(GCD)));
8041
Instruction::BinaryOps
OpC
;
8053
if (MatchPositiveShift(LHS, V,
OpC
)) {
8054
PostShiftOpCode =
OpC
;
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/
TargetInstrInfo.cpp
842
MachineOperand &
OpC
= Root.getOperand(0);
848
Register RegC =
OpC
.getReg();
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
SimplifyLibCalls.cpp
2075
auto *
OpC
= dyn_cast<CallInst>(Op1);
2076
if (!
OpC
)
2080
if (!CI->isFast() || !
OpC
->isFast())
2087
Function *F =
OpC
->getCalledFunction();
2092
Ret =
OpC
->getArgOperand(0);
SCCPSolver.cpp
775
if (Constant *
OpC
= getConstant(OpSt)) {
777
Constant *C = ConstantFoldCastOperand(I.getOpcode(),
OpC
, I.getType(), DL);
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
SROA.cpp
735
ConstantInt *
OpC
= dyn_cast<ConstantInt>(GTI.getOperand());
736
if (!
OpC
)
741
unsigned ElementIdx =
OpC
->getZExtValue();
748
APInt Index =
OpC
->getValue().sextOrTrunc(Offset.getBitWidth());
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
SelectionDAG.cpp
555
static void AddNodeIDOpcode(FoldingSetNodeID &ID, unsigned
OpC
) {
556
ID.AddInteger(
OpC
);
583
static void AddNodeIDNode(FoldingSetNodeID &ID, unsigned short
OpC
,
585
AddNodeIDOpcode(ID,
OpC
);
1444
unsigned
Opc
= isT ? ISD::TargetConstant : ISD::Constant;
1446
AddNodeIDNode(ID,
Opc
, getVTList(EltVT), None);
1502
unsigned
Opc
= isTarget ? ISD::TargetConstantFP : ISD::ConstantFP;
1504
AddNodeIDNode(ID,
Opc
, getVTList(EltVT), None);
1556
unsigned
Opc
;
1558
Opc
= isTargetGA ? ISD::TargetGlobalTLSAddress : ISD::GlobalTLSAddress
[
all
...]
DAGCombiner.cpp
524
bool reassociationCanBreakAddressingModePattern(unsigned
Opc
,
527
SDValue reassociateOpsCommutative(unsigned
Opc
, const SDLoc &DL, SDValue N0,
529
SDValue reassociateOps(unsigned
Opc
, const SDLoc &DL, SDValue N0,
998
bool DAGCombiner::reassociationCanBreakAddressingModePattern(unsigned
Opc
,
1008
if (
Opc
!= ISD::ADD || N0.getOpcode() != ISD::ADD)
1055
// such as (
Opc
N0, N1), if \p N0 is the same kind of operation as \p
Opc
.
1056
SDValue DAGCombiner::reassociateOpsCommutative(unsigned
Opc
, const SDLoc &DL,
1060
if (N0.getOpcode() !=
Opc
)
1067
DAG.FoldConstantArithmetic(
Opc
, DL, VT, {N0.getOperand(1), N1})
[
all
...]
Completed in 87 milliseconds
Indexes created Tue Feb 24 08:35:24 UTC 2026