/external/llvm/lib/Target/X86/ |
H A D | X86InstrInfo.cpp | 1512 bool X86InstrInfo::isFrameOperand(const MachineInstr *MI, unsigned int Op, argument 1514 if (MI->getOperand(Op+X86::AddrBaseReg).isFI() && 1515 MI->getOperand(Op+X86::AddrScaleAmt).isImm() && 1516 MI->getOperand(Op+X86::AddrIndexReg).isReg() && 1517 MI->getOperand(Op+X86::AddrDisp).isImm() && 1518 MI->getOperand(Op+X86::AddrScaleAmt).getImm() == 1 && 1519 MI->getOperand(Op+X86::AddrIndexReg).getReg() == 0 && 1520 MI->getOperand(Op+X86::AddrDisp).getImm() == 0) { 1521 FrameIndex = MI->getOperand(Op+X86::AddrBaseReg).getIndex(); 4612 MachineOperand &Op local 4729 SDValue Op = N->getOperand(i); local [all...] |
/external/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 2006 Constant *Op = cast<Constant>(C->getOperand(i)); local 2007 if (!isSimpleEnoughValueToCommit(Op, SimpleConstants, DL))
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 1330 Instruction *Op; local 1332 Op = BinaryOperator::CreateAnd(ICIP, ICIQ); 1334 Op = BinaryOperator::CreateOr(ICIP, ICIQ); 1335 return Op; 3591 Value *Op; local 3592 if (match(LHSI, m_FNeg(m_Value(Op)))) 3593 return new FCmpInst(I.getSwappedPredicate(), Op,
|
H A D | InstructionCombining.cpp | 416 getBinOpsForFactorization(BinaryOperator *Op, Value *&LHS, Value *&RHS) { argument 417 if (!Op) 420 if (Op->getOpcode() == Instruction::Shl) { 421 if (Constant *CST = dyn_cast<Constant>(Op->getOperand(1))) { 423 RHS = ConstantExpr::getShl(ConstantInt::get(Op->getType(), 1), CST); 424 LHS = Op->getOperand(0); 431 LHS = Op->getOperand(0); 432 RHS = Op->getOperand(1); 433 return Op->getOpcode(); 687 Instruction *InstCombiner::FoldOpIntoSelect(Instruction &Op, SelectIns argument 1858 Value *Op = FI.getArgOperand(0); local 1900 Value *Op = FI.getArgOperand(0); local [all...] |
/external/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARCOpts.cpp | 1530 Value *Op = PN->getIncomingValue(i); local 1532 if (Op->getType() != ParamTy) 1533 Op = new BitCastInst(Op, ParamTy, "", InsertPos); 1534 Clone->setArgOperand(0, Op);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | GVN.cpp | 1767 BinaryOperator *Op = dyn_cast<BinaryOperator>(I); local 1769 if (Op && ReplOp && isa<OverflowingBinaryOperator>(Op) && 1771 if (ReplOp->hasNoSignedWrap() && !Op->hasNoSignedWrap()) 1773 if (ReplOp->hasNoUnsignedWrap() && !Op->hasNoUnsignedWrap()) 2541 Value *Op = PREInstr->getOperand(i); local 2542 if (isa<Argument>(Op) || isa<Constant>(Op) || isa<GlobalValue>(Op)) 2545 if (Value *V = findLeader(PREPred, VN.lookup(Op))) { [all...] |
H A D | SROA.cpp | 626 Value *Op = SI->getOperand(0); local 627 if (Op == UsedI) 629 Size = std::max(Size, DL.getTypeStoreSize(Op->getType()));
|
H A D | LoopStrengthReduce.cpp | 582 const SCEV *Op = getExactSDiv(*I, RHS, SE, local 584 if (!Op) return nullptr; 585 Ops.push_back(Op);
|
/external/llvm/utils/TableGen/ |
H A D | CodeGenDAGPatterns.cpp | 707 Record *Op = PatFragRec->getOnlyTree()->getOperator(); local 708 ClassName = PatFragRec->getDAGPatterns().getSDNodeInfo(Op).getSDClassName(); 1103 Record *Op = nullptr; local 1106 Op = DI->getDef(); 1107 assert(Op && "Invalid Fragment"); 1108 return GetNumNodeResults(Op, CDP); 1272 Record *Op = getOperator(); 1274 if (!Op->isSubClassOf("PatFrag")) { 1291 TreePattern *Frag = TP.getDAGPatterns().getPatternFragment(Op); 1295 TP.error("'" + Op 2848 CGIOperandList::OperandInfo &Op = CGI.Operands[i]; local [all...] |
/external/clang/lib/AST/ |
H A D | Expr.cpp | 1024 StringRef UnaryOperator::getOpcodeStr(Opcode Op) { 1025 switch (Op) { 1709 ExprValueKind VK, CastKind K, Expr *Op, 1717 new (Buffer) CStyleCastExpr(T, VK, K, Op, PathSize, WrittenTy, L, R); 1731 StringRef BinaryOperator::getOpcodeStr(Opcode Op) { argument 1732 switch (Op) { 2087 const CXXOperatorCallExpr *Op = cast<CXXOperatorCallExpr>(this); local 2088 switch (Op->getOperator()) { 2097 if (Op->getCallReturnType()->isReferenceType() || 2098 Op 1708 Create(const ASTContext &C, QualType T, ExprValueKind VK, CastKind K, Expr *Op, const CXXCastPath *BasePath, TypeSourceInfo *WrittenTy, SourceLocation L, SourceLocation R) argument 4172 getNumSubExprs(AtomicOp Op) argument [all...] |
/external/clang/lib/Analysis/ |
H A D | ThreadSafety.cpp | 96 unsigned char Op; ///< Opcode of the root node member in class:__anon17783::SExpr::SExprNode 103 : Op(static_cast<unsigned char>(O)), 110 ExprOp kind() const { return static_cast<ExprOp>(Op); } 113 assert(Op == EOP_NVar || Op == EOP_LVar || Op == EOP_Dot); 118 assert(Op == EOP_Call || Op == EOP_MCall); 122 bool isArrow() const { return Op == EOP_Dot && Flags == 1; } 126 switch (Op) { [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 116 Instruction::BinaryOps Op) { 140 Result = CGF.Builder.CreateBinOp(Op, Result, Args[1]); 2978 Value *Op, llvm::Type *Ty, const CmpInst::Predicate Fp, 2980 llvm::Type *OTy = Op->getType(); 2986 if (BitCastInst *BI = dyn_cast<BitCastInst>(Op)) 2989 Op = Builder.CreateBitCast(Op, OTy); 2991 Op = Builder.CreateFCmp(Fp, Op, Constant::getNullValue(OTy)); 2993 Op 113 EmitBinaryAtomicPost(CodeGenFunction &CGF, llvm::AtomicRMWInst::BinOp Kind, const CallExpr *E, Instruction::BinaryOps Op) argument 2977 EmitAArch64CompareBuiltinExpr( Value *Op, llvm::Type *Ty, const CmpInst::Predicate Fp, const CmpInst::Predicate Ip, const Twine &Name) argument 3751 vectorWrapScalar16(Value *Op) argument 3760 vectorWrapScalar8(Value *Op) argument [all...] |
H A D | CGExprScalar.cpp | 1780 Value *Op = Visit(E->getSubExpr()); local 1781 return Builder.CreateNot(Op, "neg"); 1937 Expr *Op = E->getSubExpr(); local 1938 if (Op->getType()->isAnyComplexType()) { 1940 // Note that we have to ask E because Op might be an l-value that 1947 return CGF.EmitComplexExpr(Op, false, true).first; 1950 return Visit(Op); 1954 Expr *Op = E->getSubExpr(); local 1955 if (Op->getType()->isAnyComplexType()) { 1957 // Note that we have to ask E because Op migh [all...] |
/external/clang/lib/Sema/ |
H A D | SemaExprCXX.cpp | 3192 static bool HasNoThrowOperator(const RecordType *RT, OverloadedOperatorKind Op, argument 3202 DeclarationName Name = C.DeclarationNames.getCXXOperatorName(Op); 3208 for (LookupResult::iterator Op = Res.begin(), OpEnd = Res.end(); 3209 Op != OpEnd; ++Op) { 3210 if (isa<FunctionTemplateDecl>(*Op)) 3213 CXXMethodDecl *Operator = cast<CXXMethodDecl>(*Op);
|
H A D | SemaLookup.cpp | 2333 void Sema::LookupOverloadedOperatorName(OverloadedOperatorKind Op, Scope *S, argument 2342 DeclarationName OpName = Context.DeclarationNames.getCXXOperatorName(Op);
|
/external/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAGNodes.h | 473 SDUse *Op; member in class:llvm::SDNode::use_iterator 474 explicit use_iterator(SDUse *op) : Op(op) { 483 use_iterator(const use_iterator &I) : Op(I.Op) {} 484 use_iterator() : Op(nullptr) {} 487 return Op == x.Op; 494 bool atEnd() const { return Op == nullptr; } 498 assert(Op && "Cannot increment end iterator!"); 499 Op 944 SDUse Op; member in class:llvm::UnarySDNode 1013 SDUse Op; member in class:llvm::HandleSDNode 1242 unsigned Op = getOpcode(); local 1941 SDNodeIterator(const SDNode *N, unsigned Op) argument [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeVectorTypes.cpp | 152 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); local 153 return GetScalarizedVector(Op); 191 SDValue Op = GetScalarizedVector(N->getOperand(0)); local 193 NewVT, Op, N->getOperand(1)); 197 SDValue Op = GetScalarizedVector(N->getOperand(0)); local 199 Op.getValueType(), Op, N->getOperand(1)); 205 SDValue Op = N->getOperand(1); local 207 if (Op.getValueType() != EltVT) 209 Op 237 SDValue Op = GetScalarizedVector(N->getOperand(0)); local 348 unsigned Op = !cast<ConstantSDNode>(Arg)->isNullValue(); local 460 SDValue Op = DAG.getNode(N->getOpcode(), SDLoc(N), local 1420 SDValue Op = N->getOperand(op); local [all...] |
H A D | SelectionDAG.cpp | 189 SDValue Op = N->getOperand(i); local 190 if (Op.getOpcode() == ISD::UNDEF) 192 if (!isa<ConstantSDNode>(Op)) 265 ISD::CondCode ISD::getSetCCInverse(ISD::CondCode Op, bool isInteger) { argument 266 unsigned Operation = Op; 308 unsigned Op = Op1 | Op2; // Combine all of the condition bits. local 312 if (Op > ISD::SETTRUE2) 313 Op &= ~16; // Clear the U bit if the N bit is set. 316 if (isInteger && Op == ISD::SETUNE) // e.g. SETUGT | SETULT 317 Op 794 FindModifiedNodeSlot(SDNode *N, SDValue Op, void *&InsertPos) argument 997 getAnyExtOrTrunc(SDValue Op, SDLoc DL, EVT VT) argument 1003 getSExtOrTrunc(SDValue Op, SDLoc DL, EVT VT) argument 1009 getZExtOrTrunc(SDValue Op, SDLoc DL, EVT VT) argument 1015 getBoolExtOrTrunc(SDValue Op, SDLoc SL, EVT VT, EVT OpVT) argument 1024 getZeroExtendInReg(SDValue Op, SDLoc DL, EVT VT) argument 1036 getAnyExtendVectorInReg(SDValue Op, SDLoc DL, EVT VT) argument 1046 getSignExtendVectorInReg(SDValue Op, SDLoc DL, EVT VT) argument 1056 getZeroExtendVectorInReg(SDValue Op, SDLoc DL, EVT VT) argument 1750 getShiftAmountOperand(EVT LHSTy, SDValue Op) argument 1901 SignBitIsZero(SDValue Op, unsigned Depth) const argument 1913 MaskedValueIsZero(SDValue Op, const APInt &Mask, unsigned Depth) const argument 1922 computeKnownBits(SDValue Op, APInt &KnownZero, APInt &KnownOne, unsigned Depth) const argument 2359 ComputeNumSignBits(SDValue Op, unsigned Depth) const argument 5210 UpdateNodeOperands(SDNode *N, SDValue Op) argument 6389 SDNode *Op = M->getOperand(i).getNode(); local 6592 ExtractVectorElements(SDValue Op, SmallVectorImpl<SDValue> &Args, unsigned Start, unsigned Count) argument 6693 SDValue Op = getOperand(i); local [all...] |
/external/llvm/lib/Target/AArch64/AsmParser/ |
H A D | AArch64AsmParser.cpp | 132 unsigned validateTargetOperandClass(MCParsedAsmOperand &Op, 1578 auto Op = make_unique<AArch64Operand>(k_Token, Ctx); local 1579 Op->Tok.Data = Str.data(); 1580 Op->Tok.Length = Str.size(); 1581 Op->Tok.IsSuffix = IsSuffix; 1582 Op->StartLoc = S; 1583 Op->EndLoc = S; 1584 return Op; 1589 auto Op = make_unique<AArch64Operand>(k_Register, Ctx); local 1590 Op 1600 auto Op = make_unique<AArch64Operand>(k_VectorList, Ctx); local 1612 auto Op = make_unique<AArch64Operand>(k_VectorIndex, Ctx); local 1621 auto Op = make_unique<AArch64Operand>(k_Immediate, Ctx); local 1632 auto Op = make_unique<AArch64Operand>(k_ShiftedImm, Ctx); local 1642 auto Op = make_unique<AArch64Operand>(k_CondCode, Ctx); local 1651 auto Op = make_unique<AArch64Operand>(k_FPImm, Ctx); local 1660 auto Op = make_unique<AArch64Operand>(k_Barrier, Ctx); local 1669 auto Op = make_unique<AArch64Operand>(k_SysReg, Ctx); local 1680 auto Op = make_unique<AArch64Operand>(k_SysCR, Ctx); local 1689 auto Op = make_unique<AArch64Operand>(k_Prefetch, Ctx); local 1699 auto Op = make_unique<AArch64Operand>(k_ShiftExtend, Ctx); local 2356 StringRef Op = Tok.getString(); local 3582 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[0]); local 3743 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[2]); local 3752 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[1]); local 3758 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[2]); local 3768 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[1]); local 3774 AArch64Operand &Op = static_cast<AArch64Operand &>(*Operands[1]); local 4166 AArch64Operand &Op = static_cast<AArch64Operand &>(AsmOp); local [all...] |
/external/llvm/lib/Target/Mips/AsmParser/ |
H A D | MipsAsmParser.cpp | 386 auto Op = make_unique<MipsOperand>(k_RegisterIndex, Parser); local 387 Op->RegIdx.Index = Index; 388 Op->RegIdx.RegInfo = RegInfo; 389 Op->RegIdx.Kind = RegKind; 390 Op->StartLoc = S; 391 Op->EndLoc = E; 392 return Op; 725 auto Op = make_unique<MipsOperand>(k_Token, Parser); local 726 Op->Tok.Data = Str.data(); 727 Op 792 auto Op = make_unique<MipsOperand>(k_Immediate, Parser); local 802 auto Op = make_unique<MipsOperand>(k_Memory, Parser); local 984 MCOperand &Op = Inst.getOperand(i); local [all...] |
/external/llvm/lib/Target/Mips/ |
H A D | MipsISelLowering.cpp | 505 // Returns Op if setcc is not a floating point comparison. 506 static SDValue createFPCmp(SelectionDAG &DAG, const SDValue &Op) { argument 508 if (Op.getOpcode() != ISD::SETCC) 509 return Op; 511 SDValue LHS = Op.getOperand(0); 514 return Op; 516 SDValue RHS = Op.getOperand(1); 517 SDLoc DL(Op); 521 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(2))->get(); 629 // Op' 779 LowerOperation(SDValue Op, SelectionDAG &DAG) const argument 1474 lowerBR_JT(SDValue Op, SelectionDAG &DAG) const argument 1505 lowerBRCOND(SDValue Op, SelectionDAG &DAG) const argument 1530 lowerSELECT(SDValue Op, SelectionDAG &DAG) const argument 1544 lowerSELECT_CC(SDValue Op, SelectionDAG &DAG) const argument 1557 lowerSETCC(SDValue Op, SelectionDAG &DAG) const argument 1570 lowerGlobalAddress(SDValue Op, SelectionDAG &DAG) const argument 1613 lowerBlockAddress(SDValue Op, SelectionDAG &DAG) const argument 1627 lowerGlobalTLSAddress(SDValue Op, SelectionDAG &DAG) const argument 1706 lowerJumpTable(SDValue Op, SelectionDAG &DAG) const argument 1720 lowerConstantPool(SDValue Op, SelectionDAG &DAG) const argument 1742 lowerVASTART(SDValue Op, SelectionDAG &DAG) const argument 1757 lowerFCOPYSIGN32(SDValue Op, SelectionDAG &DAG, bool HasExtractInsert) argument 1803 lowerFCOPYSIGN64(SDValue Op, SelectionDAG &DAG, bool HasExtractInsert) argument 1853 lowerFCOPYSIGN(SDValue Op, SelectionDAG &DAG) const argument 1861 lowerFRAMEADDR(SDValue Op, SelectionDAG &DAG) const argument 1876 lowerRETURNADDR(SDValue Op, SelectionDAG &DAG) const argument 1900 lowerEH_RETURN(SDValue Op, SelectionDAG &DAG) const argument 1924 lowerATOMIC_FENCE(SDValue Op, SelectionDAG &DAG) const argument 1934 lowerShiftLeftParts(SDValue Op, SelectionDAG &DAG) const argument 1965 lowerShiftRightParts(SDValue Op, SelectionDAG &DAG, bool IsSRA) const argument 2024 lowerLOAD(SDValue Op, SelectionDAG &DAG) const argument 2149 lowerSTORE(SDValue Op, SelectionDAG &DAG) const argument 2162 lowerADD(SDValue Op, SelectionDAG &DAG) const argument 2183 lowerFP_TO_SINT(SDValue Op, SelectionDAG &DAG) const argument 3124 LowerAsmOperandForConstraint(SDValue Op, std::string &Constraint, std::vector<SDValue>&Ops, SelectionDAG &DAG) const argument [all...] |
/external/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelLowering.cpp | 77 static MachineOperand earlyUseOperand(MachineOperand Op) { argument 78 if (Op.isReg()) 79 Op.setIsKill(false); 80 return Op; 560 LowerAsmOperandForConstraint(SDValue Op, std::string &Constraint, argument 567 if (auto *C = dyn_cast<ConstantSDNode>(Op)) 570 Op.getValueType())); 574 if (auto *C = dyn_cast<ConstantSDNode>(Op)) 577 Op.getValueType())); 581 if (auto *C = dyn_cast<ConstantSDNode>(Op)) 1204 isNaturalMemoryOperand(SDValue Op, unsigned ICmpType) argument 1684 lowerSETCC(SDValue Op, SelectionDAG &DAG) const argument 1696 lowerBR_CC(SDValue Op, SelectionDAG &DAG) const argument 1724 getAbsolute(SelectionDAG &DAG, SDLoc DL, SDValue Op, bool IsNegative) argument 1733 lowerSELECT_CC(SDValue Op, SelectionDAG &DAG) const argument 1911 lowerBITCAST(SDValue Op, SelectionDAG &DAG) const argument 1949 lowerVASTART(SDValue Op, SelectionDAG &DAG) const argument 1986 lowerVACOPY(SDValue Op, SelectionDAG &DAG) const argument 2001 lowerDYNAMIC_STACKALLOC(SDValue Op, SelectionDAG &DAG) const argument 2027 lowerSMUL_LOHI(SDValue Op, SelectionDAG &DAG) const argument 2069 lowerUMUL_LOHI(SDValue Op, SelectionDAG &DAG) const argument 2088 lowerSDIVREM(SDValue Op, SelectionDAG &DAG) const argument 2115 lowerUDIVREM(SDValue Op, SelectionDAG &DAG) const argument 2133 lowerOR(SDValue Op, SelectionDAG &DAG) const argument 2190 lowerATOMIC_LOAD(SDValue Op, SelectionDAG &DAG) const argument 2200 lowerATOMIC_STORE(SDValue Op, SelectionDAG &DAG) const argument 2212 lowerATOMIC_LOAD_OP(SDValue Op, SelectionDAG &DAG, unsigned Opcode) const argument 2286 lowerATOMIC_LOAD_SUB(SDValue Op, SelectionDAG &DAG) const argument 2323 lowerATOMIC_CMP_SWAP(SDValue Op, SelectionDAG &DAG) const argument 2366 lowerSTACKSAVE(SDValue Op, SelectionDAG &DAG) const argument 2374 lowerSTACKRESTORE(SDValue Op, SelectionDAG &DAG) const argument 2382 lowerPREFETCH(SDValue Op, SelectionDAG &DAG) const argument 2402 LowerOperation(SDValue Op, SelectionDAG &DAG) const argument [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | MemorySanitizer.cpp | 1859 Value *Op = I.getArgOperand(0); local 1860 Type *OpType = Op->getType(); 1863 setShadow(&I, IRB.CreateCall(BswapFunc, getShadow(Op))); 1864 setOrigin(&I, getOrigin(Op));
|
/external/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 152 ///\returns Opcode that can be clubbed with \p Op to create an alternate 154 static unsigned getAltOpcode(unsigned Op) { argument 155 switch (Op) { 169 ///\returns bool representing if Opcode \p Op can be part 172 static bool canCombineAsAltInst(unsigned Op) { argument 173 if (Op == Instruction::FAdd || Op == Instruction::FSub || 174 Op == Instruction::Sub || Op == Instruction::Add) 671 unsigned Op local 1022 auto Op = cast<Instruction>(VL[j])->getOperand(1); local [all...] |
/external/clang/include/clang/AST/ |
H A D | Expr.h | 1693 static bool isPostfix(Opcode Op) { argument 1694 return Op == UO_PostInc || Op == UO_PostDec; 1698 static bool isPrefix(Opcode Op) { argument 1699 return Op == UO_PreInc || Op == UO_PreDec; 1705 static bool isIncrementOp(Opcode Op) { argument 1706 return Op == UO_PreInc || Op == UO_PostInc; 1712 static bool isDecrementOp(Opcode Op) { argument 1719 isIncrementDecrementOp(Opcode Op) argument 1724 isArithmeticOp(Opcode Op) argument 2660 Stmt *Op; member in class:clang::StringLiteral::OffsetOfExpr::CastExpr 4760 AtomicOp Op; member in class:clang::StringLiteral::DesignatedInitExpr::PseudoObjectExpr::AtomicExpr [all...] |