Searched defs:OpC (Results 1 - 10 of 10) sorted by relevance

/external/llvm/include/llvm/IR/
H A DOperator.h146 static bool isPossiblyExactOpcode(unsigned OpC) { argument
147 return OpC == Instruction::SDiv ||
148 OpC == Instruction::UDiv ||
149 OpC == Instruction::AShr ||
150 OpC == Instruction::LShr;
460 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); local
461 if (!OpC)
463 if (OpC->isZero())
468 unsigned ElementIdx = OpC->getZExtValue();
476 APInt Index = OpC
[all...]
/external/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.cpp696 unsigned OpC = MI.getOpcode(); local
698 switch (OpC) {
752 unsigned OpC = MI.getOpcode(); local
756 (OpC == PPC::DYNALLOC || OpC == PPC::DYNALLOC8)) {
762 if (OpC == PPC::SPILL_CR) {
765 } else if (OpC == PPC::RESTORE_CR) {
768 } else if (OpC == PPC::SPILL_CRBIT) {
771 } else if (OpC == PPC::RESTORE_CRBIT) {
774 } else if (OpC
[all...]
H A DPPCInstrInfo.cpp1207 unsigned OpC = MI->getOpcode(); local
1208 if (OpC == PPC::BLR || OpC == PPC::BLR8) {
1230 } else if (OpC == PPC::B) {
1264 } else if (OpC == PPC::BCTR || OpC == PPC::BCTR8 ||
1265 OpC == PPC::BCTRL || OpC == PPC::BCTRL8) {
1269 bool setLR = OpC == PPC::BCTRL || OpC
1366 unsigned OpC = MI->getOpcode(); local
1416 int OpC = CmpInstr->getOpcode(); local
[all...]
H A DPPCISelDAGToDAG.cpp665 unsigned OpC = Hi ? PPC::LIS8 : PPC::LI8; local
666 Result = CurDAG->getMachineNode(OpC, dl, MVT::i64, getI32Imm(Hi));
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp34 ConstantInt *OpC = dyn_cast<ConstantInt>(I->getOperand(OpNo)); local
35 if (!OpC) return false;
38 Demanded = Demanded.zextOrTrunc(OpC->getValue().getBitWidth());
39 if ((~Demanded & OpC->getValue()) == 0)
43 Demanded &= OpC->getValue();
44 I->setOperand(OpNo, ConstantInt::get(OpC->getType(), Demanded));
52 if (OpC->getValue().isNegative()) {
/external/llvm/lib/Analysis/
H A DConstantFolding.cpp1175 unsigned OpC = local
1178 return ConstantFoldInstOperands(OpC, LHS->getType(), Ops, DL, TLI);
H A DValueTracking.cpp1651 ConstantInt *OpC = cast<ConstantInt>(GTI.getOperand()); local
1652 unsigned ElementIdx = OpC->getZExtValue();
1666 if (ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand())) {
1667 if (!OpC->isZero())
/external/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp251 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); local
252 if (!OpC)
254 OpC = dyn_cast<ConstantInt>(SimpleOp);
255 if (!OpC)
257 if (OpC->isZero()) continue;
261 unsigned ElementIdx = OpC->getZExtValue();
268 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize;
/external/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp54 ConstantInt *OpC = dyn_cast<ConstantInt>(GEP->getOperand(i)); local
55 if (!OpC)
57 if (OpC->isZero()) continue; // No offset.
61 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue());
68 Offset += Size*OpC->getSExtValue();
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp373 static void AddNodeIDOpcode(FoldingSetNodeID &ID, unsigned OpC) { argument
374 ID.AddInteger(OpC);
417 static void AddNodeIDNode(FoldingSetNodeID &ID, unsigned short OpC, argument
419 AddNodeIDOpcode(ID, OpC);

Completed in 175 milliseconds