/macosx-10.10.1/llvmCore-3425.0.34/unittests/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 41 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 D | DAGISelMatcher.cpp | 367 return COM->getOpcode().getEnumName() != getOpcode().getEnumName(); 375 if (CT->getResNo() >= getOpcode().getNumResults()) 378 MVT::SimpleValueType NodeType = getOpcode().getKnownType(CT->getResNo());
|
H A D | DAGISelMatcher.h | 455 const SDNodeInfo &getOpcode() const { return Opcode; } function in class:llvm::CheckOpcodeMatcher
|
H A D | DAGISelMatcherEmitter.cpp | 264 << cast<CheckOpcodeMatcher>(N)->getOpcode().getEnumName() << "),\n";
|
H A D | DAGISelMatcherOpt.cpp | 449 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 D | DifferenceEngine.cpp | 254 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 D | EarlyCSE.cpp | 121 return (Res << 1) ^ Inst->getOpcode(); 130 if (LHSI->getOpcode() != RHSI->getOpcode()) return false; 194 return (Res << 1) ^ Inst->getOpcode();
|
H A D | GVN.cpp | 163 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 D | IndVarSimplify.cpp | 259 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 D | JumpThreading.cpp | 391 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 D | LoopRotation.cpp | 172 switch (I->getOpcode()) {
|
H A D | LoopStrengthReduce.cpp | 719 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 D | LoopUnswitch.cpp | 362 if (BO->getOpcode() == Instruction::And || 363 BO->getOpcode() == Instruction::Or) {
|
H A D | ObjCARC.cpp | 288 switch (I->getOpcode()) {
|
H A D | Reassociate.cpp | 66 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 D | SCCP.cpp | 760 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 D | SROA.cpp | 1615 if (Operator::getOpcode(Ptr) == Instruction::BitCast) {
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Utils/ |
H A D | AddrModeMatcher.cpp | 126 switch (I->getOpcode()) { 332 if (MatchOperationAddr(I, I->getOpcode(), Depth)) { 348 if (MatchOperationAddr(CE, CE->getOpcode(), Depth))
|
H A D | BypassSlowDivision.cpp | 231 unsigned Opcode = J->getOpcode();
|
H A D | InlineFunction.cpp | 784 assert(Br && Br->getOpcode() == Instruction::Br &&
|
H A D | IntegerDivision.cpp | 335 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 D | SimplifyCFG.cpp | 281 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 D | SimplifyIndVar.cpp | 93 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 D | ConstantFold.cpp | 87 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 D | Constants.cpp | 232 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...] |