Searched refs:getOpcode (Results 1 - 25 of 267) sorted by last modified time

1234567891011

/macosx-10.10.1/llvmCore-3425.0.34/unittests/Transforms/Utils/
H A DIntegerDivision.cpp41 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SDiv);
46 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr);
49 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::Sub);
71 EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv);
76 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
79 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::PHI);
101 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SRem);
106 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr);
109 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub);
131 EXPECT_TRUE(BB->front().getOpcode()
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/utils/TableGen/
H A DDAGISelMatcher.cpp367 return COM->getOpcode().getEnumName() != getOpcode().getEnumName();
375 if (CT->getResNo() >= getOpcode().getNumResults())
378 MVT::SimpleValueType NodeType = getOpcode().getKnownType(CT->getResNo());
H A DDAGISelMatcher.h455 const SDNodeInfo &getOpcode() const { return Opcode; } function in class:llvm::CheckOpcodeMatcher
H A DDAGISelMatcherEmitter.cpp264 << cast<CheckOpcodeMatcher>(N)->getOpcode().getEnumName() << "),\n";
H A DDAGISelMatcherOpt.cpp449 assert(Opcodes.insert(COM->getOpcode().getEnumName()) &&
451 Cases.push_back(std::make_pair(&COM->getOpcode(), COM->getNext()));
/macosx-10.10.1/llvmCore-3425.0.34/tools/llvm-diff/
H A DDifferenceEngine.cpp254 if (L->getOpcode() != R->getOpcode()) {
403 if (L->getOpcode() != R->getOpcode())
406 switch (L->getOpcode()) {
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Scalar/
H A DEarlyCSE.cpp121 return (Res << 1) ^ Inst->getOpcode();
130 if (LHSI->getOpcode() != RHSI->getOpcode()) return false;
194 return (Res << 1) ^ Inst->getOpcode();
H A DGVN.cpp163 e.opcode = I->getOpcode();
184 e.opcode = (C->getOpcode() << 8) | Predicate;
253 e.opcode = EI->getOpcode();
397 switch (I->getOpcode()) {
2148 uint32_t Num = VN.lookup_or_add_cmp(Cmp->getOpcode(), NotPred, Op0, Op1);
H A DIndVarSimplify.cpp259 if (Incr == 0 || Incr->getOpcode() != Instruction::FAdd) return;
620 bool IsSigned = Cast->getOpcode() == Instruction::SExt;
621 if (!IsSigned && Cast->getOpcode() != Instruction::ZExt)
750 unsigned Opcode = DU.NarrowUse->getOpcode();
777 BinaryOperator *WideBO = BinaryOperator::Create(NarrowBO->getOpcode(),
797 if (DU.NarrowUse->getOpcode() != Instruction::Add)
1192 switch (IncI->getOpcode()) {
1210 if (IncI->getOpcode() == Instruction::GetElementPtr)
H A DJumpThreading.cpp391 if (I->getOpcode() == Instruction::Or ||
392 I->getOpcode() == Instruction::And) {
402 if (I->getOpcode() == Instruction::Or)
433 if (I->getOpcode() == Instruction::Xor &&
460 Constant *Folded = ConstantExpr::get(BO->getOpcode(), V, CI);
804 if (CondInst->getOpcode() == Instruction::Xor &&
H A DLoopRotation.cpp172 switch (I->getOpcode()) {
H A DLoopStrengthReduce.cpp719 if (User && User->getOpcode() == Instruction::Mul
1725 if (Incr->getOpcode() != Instruction::Add
1726 && Incr->getOpcode() != Instruction::Sub)
1750 BinaryOperator::Create(Incr->getOpcode() == Instruction::Add ?
H A DLoopUnswitch.cpp362 if (BO->getOpcode() == Instruction::And ||
363 BO->getOpcode() == Instruction::Or) {
H A DObjCARC.cpp288 switch (I->getOpcode()) {
H A DReassociate.cpp66 dbgs() << Instruction::getOpcodeName(I->getOpcode()) << " "
162 cast<Instruction>(V)->getOpcode() == Opcode)
168 if (I->getOpcode() == Instruction::PHI ||
169 I->getOpcode() == Instruction::LandingPad ||
170 I->getOpcode() == Instruction::Alloca ||
171 I->getOpcode() == Instruction::Load ||
172 I->getOpcode() == Instruction::Invoke ||
173 (I->getOpcode() == Instruction::Call &&
175 I->getOpcode() == Instruction::UDiv ||
176 I->getOpcode()
[all...]
H A DSCCP.cpp760 markConstant(&I, ConstantExpr::getCast(I.getOpcode(),
863 ConstantExpr::get(I.getOpcode(), V1State.getConstant(),
875 if (I.getOpcode() == Instruction::And || I.getOpcode() == Instruction::Or) {
885 if (I.getOpcode() == Instruction::And)
895 if (I.getOpcode() == Instruction::And) {
1312 switch (I->getOpcode()) {
H A DSROA.cpp1615 if (Operator::getOpcode(Ptr) == Instruction::BitCast) {
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Utils/
H A DAddrModeMatcher.cpp126 switch (I->getOpcode()) {
332 if (MatchOperationAddr(I, I->getOpcode(), Depth)) {
348 if (MatchOperationAddr(CE, CE->getOpcode(), Depth))
H A DBypassSlowDivision.cpp231 unsigned Opcode = J->getOpcode();
H A DInlineFunction.cpp784 assert(Br && Br->getOpcode() == Instruction::Br &&
H A DIntegerDivision.cpp335 assert((Rem->getOpcode() == Instruction::SRem ||
336 Rem->getOpcode() == Instruction::URem) &&
342 if (Rem->getOpcode() == Instruction::SRem) {
352 if (!BO || BO->getOpcode() != Instruction::URem)
368 assert(UDiv->getOpcode() == Instruction::UDiv && "Non-udiv in expansion?");
385 assert((Div->getOpcode() == Instruction::SDiv ||
386 Div->getOpcode() == Instruction::UDiv) &&
395 if (Div->getOpcode() == Instruction::SDiv) {
405 if (!BO || BO->getOpcode() != Instruction::UDiv)
H A DSimplifyCFG.cpp281 switch (Operator::getOpcode(I)) {
401 if (CE->getOpcode() == Instruction::IntToPtr)
455 if (I->getOpcode() != (isEQ ? Instruction::Or : Instruction::And))
2646 if (Cond->getOpcode() == Instruction::Or) {
2649 } else if (Cond->getOpcode() == Instruction::And) {
H A DSimplifyIndVar.cpp93 switch (UseInst->getOpcode()) {
115 if (UseInst->getOpcode() == Instruction::LShr) {
244 bool IsSigned = Rem->getOpcode() == Instruction::SRem;
245 if (IsSigned || Rem->getOpcode() == Instruction::URem) {
/macosx-10.10.1/llvmCore-3425.0.34/lib/VMCore/
H A DConstantFold.cpp87 Instruction::CastOps firstOp = Instruction::CastOps(Op->getOpcode());
216 switch (CE->getOpcode()) {
531 } else if (CE->getOpcode() == Instruction::GetElementPtr) {
609 if (CE->getOpcode() == Instruction::GetElementPtr &&
725 if (TrueVal->getOpcode() == Instruction::Select)
730 if (FalseVal->getOpcode() == Instruction::Select)
973 if (CE1->getOpcode() == Instruction::ZExt) {
983 if (CE1->getOpcode() == Instruction::PtrToInt &&
1013 switch (CE1->getOpcode()) {
1029 if (CE1->getOpcode()
[all...]
H A DConstants.cpp232 switch (CE->getOpcode()) {
293 if (CE->getOpcode() == Instruction::Sub) {
297 LHS->getOpcode() == Instruction::PtrToInt &&
298 RHS->getOpcode() == Instruction::PtrToInt &&
980 return Instruction::isCast(getOpcode());
984 return getOpcode() == Instruction::ICmp || getOpcode() == Instruction::FCmp;
988 if (getOpcode() != Instruction::GetElementPtr) return false;
1013 return getOpcode() == Instruction::ExtractValue ||
1014 getOpcode()
[all...]

Completed in 323 milliseconds

1234567891011