/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeTypes.cpp | 472 SDValue Op = OrigOp; local 474 AnalyzeNewValue(Op); // Op may morph. 476 if (Op.getNode()->getNodeId() == Processed) 481 NewOps.push_back(Op); 482 } else if (Op != OrigOp) { 485 NewOps.push_back(Op); 728 void DAGTypeLegalizer::SetPromotedInteger(SDValue Op, SDValue Result) { argument 730 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) && 734 SDValue &OpEntry = PromotedIntegers[Op]; 739 SetSoftenedFloat(SDValue Op, SDValue Result) argument 750 SetScalarizedVector(SDValue Op, SDValue Result) argument 764 GetExpandedInteger(SDValue Op, SDValue &Lo, SDValue &Hi) argument 774 SetExpandedInteger(SDValue Op, SDValue Lo, SDValue Hi) argument 791 GetExpandedFloat(SDValue Op, SDValue &Lo, SDValue &Hi) argument 801 SetExpandedFloat(SDValue Op, SDValue Lo, SDValue Hi) argument 818 GetSplitVector(SDValue Op, SDValue &Lo, SDValue &Hi) argument 828 SetSplitVector(SDValue Op, SDValue Lo, SDValue Hi) argument 847 SetWidenedVector(SDValue Op, SDValue Result) argument 864 BitConvertToInteger(SDValue Op) argument 872 BitConvertVectorToIntegerVector(SDValue Op) argument 881 CreateStackStoreLoad(SDValue Op, EVT DestVT) argument 1024 SDValue Op = N->getOperand(0); local 1110 SplitInteger(SDValue Op, EVT LoVT, EVT HiVT, SDValue &Lo, SDValue &Hi) argument 1124 SplitInteger(SDValue Op, SDValue &Lo, SDValue &Hi) argument [all...] |
/external/llvm/lib/Target/ARM/InstPrinter/ |
H A D | ARMInstPrinter.cpp | 203 const MCOperand &Op = MI->getOperand(OpNo); local 204 if (Op.isReg()) { 205 unsigned Reg = Op.getReg(); 207 } else if (Op.isImm()) { 208 O << '#' << Op.getImm(); 210 assert(Op.isExpr() && "unknown operand kind in printOperand"); 213 const MCConstantExpr *BranchTarget = dyn_cast<MCConstantExpr>(Op.getExpr()); 221 O << *Op.getExpr(); 280 void ARMInstPrinter::printAM2PreOrOffsetIndexOp(const MCInst *MI, unsigned Op, argument 282 const MCOperand &MO1 = MI->getOperand(Op); 308 printAM2PostIndexOp(const MCInst *MI, unsigned Op, raw_ostream &O) argument 333 printAddrModeTBB(const MCInst *MI, unsigned Op, raw_ostream &O) argument 341 printAddrModeTBH(const MCInst *MI, unsigned Op, raw_ostream &O) argument 349 printAddrMode2Operand(const MCInst *MI, unsigned Op, raw_ostream &O) argument 395 printAM3PostIndexOp(const MCInst *MI, unsigned Op, raw_ostream &O) argument 415 printAM3PreOrOffsetIndexOp(const MCInst *MI, unsigned Op, raw_ostream &O) argument 436 printAddrMode3Operand(const MCInst *MI, unsigned Op, raw_ostream &O) argument 517 unsigned Op = ARM_AM::getAM5Op(MO2.getImm()); local 614 const MCOperand &Op = MI->getOperand(OpNum); local 623 const MCOperand &Op = MI->getOperand(OpNum); local 629 const MCOperand &Op = MI->getOperand(OpNum); local 641 const MCOperand &Op = MI->getOperand(OpNum); local 769 printThumbAddrModeRROperand(const MCInst *MI, unsigned Op, raw_ostream &O) argument 785 printThumbAddrModeImm5SOperand(const MCInst *MI, unsigned Op, raw_ostream &O, unsigned Scale) argument 803 printThumbAddrModeImm5S1Operand(const MCInst *MI, unsigned Op, raw_ostream &O) argument 809 printThumbAddrModeImm5S2Operand(const MCInst *MI, unsigned Op, raw_ostream &O) argument 815 printThumbAddrModeImm5S4Operand(const MCInst *MI, unsigned Op, raw_ostream &O) argument 821 printThumbAddrModeSPOperand(const MCInst *MI, unsigned Op, raw_ostream &O) argument [all...] |
/external/llvm/lib/Target/MBlaze/AsmParser/ |
H A D | MBlazeAsmParser.cpp | 220 MBlazeOperand *Op = new MBlazeOperand(Token); local 221 Op->Tok.Data = Str.data(); 222 Op->Tok.Length = Str.size(); 223 Op->StartLoc = S; 224 Op->EndLoc = S; 225 return Op; 229 MBlazeOperand *Op = new MBlazeOperand(Register); local 230 Op->Reg.RegNum = RegNum; 231 Op->StartLoc = S; 232 Op 237 MBlazeOperand *Op = new MBlazeOperand(Immediate); local 245 MBlazeOperand *Op = new MBlazeOperand(Fsl); local 254 MBlazeOperand *Op = new MBlazeOperand(Memory); local 265 MBlazeOperand *Op = new MBlazeOperand(Memory); local 372 MBlazeOperand *Op; local 455 MBlazeOperand *Op; local [all...] |
/external/llvm/lib/Target/Mips/ |
H A D | MipsISelDAGToDAG.cpp | 106 virtual bool SelectInlineAsmMemoryOperand(const SDValue &Op, 556 SelectInlineAsmMemoryOperand(const SDValue &Op, char ConstraintCode, argument 559 OutOps.push_back(Op);
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86MCCodeEmitter.cpp | 117 void EmitMemModRMByte(const MCInst &MI, unsigned Op, 163 /// a 32-bit memory operand. Op specifies the operand # of the memoperand. 164 static bool Is32BitMemOperand(const MCInst &MI, unsigned Op) { 165 const MCOperand &BaseReg = MI.getOperand(Op+X86::AddrBaseReg); 166 const MCOperand &IndexReg = MI.getOperand(Op+X86::AddrIndexReg); 177 /// a 64-bit memory operand. Op specifies the operand # of the memoperand. 179 static bool Is64BitMemOperand(const MCInst &MI, unsigned Op) { 180 const MCOperand &BaseReg = MI.getOperand(Op+X86::AddrBaseReg); 181 const MCOperand &IndexReg = MI.getOperand(Op+X86::AddrIndexReg); 193 /// a 16-bit memory operand. Op specifie 296 EmitMemModRMByte(const MCInst &MI, unsigned Op, unsigned RegOpcodeField, uint64_t TSFlags, unsigned &CurByte, raw_ostream &OS, SmallVectorImpl<MCFixup> &Fixups) const argument [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombinePHI.cpp | 543 Value *Op = PN->getIncomingValue(i); local 544 if (PHINode *OpPN = dyn_cast<PHINode>(Op)) { 547 } else if (Op != NonPhiInVal)
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | DeadStoreElimination.cpp | 126 Value *Op = DeadInst->getOperand(op); local 130 if (!Op->use_empty()) continue; 132 if (Instruction *OpI = dyn_cast<Instruction>(Op))
|
/external/llvm/tools/llvm-stress/ |
H A D | llvm-stress.cpp | 326 Instruction::BinaryOps Op; local 330 case 0:{Op = (isFloat?Instruction::FAdd : Instruction::Add); break; } 331 case 1:{Op = (isFloat?Instruction::FSub : Instruction::Sub); break; } 332 case 2:{Op = (isFloat?Instruction::FMul : Instruction::Mul); break; } 333 case 3:{Op = (isFloat?Instruction::FDiv : Instruction::SDiv); break; } 334 case 4:{Op = (isFloat?Instruction::FDiv : Instruction::UDiv); break; } 335 case 5:{Op = (isFloat?Instruction::FRem : Instruction::SRem); break; } 336 case 6:{Op = (isFloat?Instruction::FRem : Instruction::URem); break; } 337 case 7: {Op = Instruction::Shl; break; } 338 case 8: {Op [all...] |
/external/llvm/utils/TableGen/ |
H A D | AsmWriterEmitter.cpp | 156 for (unsigned Op = 1; ; ++Op) { 166 if (!FirstInst || FirstInst->Operands.size() == Op) 188 if (!OtherInst || OtherInst->Operands.size() == Op || 189 OtherInst->Operands[Op] != FirstInst->Operands[Op]) { 198 std::string Command = " " + FirstInst->Operands[Op].getCode() + "\n"; 600 void addOperand(StringRef Op, unsigned Idx) { OpMap[Op] = Idx; } argument 601 unsigned getOpIndex(StringRef Op) { retur argument 602 isOpMapped(StringRef Op) argument 735 const DefInit *Op = dynamic_cast<const DefInit*>(DI->getOperator()); local [all...] |
H A D | CodeGenInstruction.h | 45 static ConstraintInfo getTied(unsigned Op) { argument 48 I.OtherTiedOperand = Op; 168 std::pair<unsigned,unsigned> ParseOperandName(const std::string &Op, 173 unsigned getFlattenedOperandNumber(std::pair<unsigned,unsigned> Op) const { 174 return OperandList[Op.first].MIOperandNo + Op.second; 179 std::pair<unsigned,unsigned> getSubOperandNumber(unsigned Op) const { 182 if (OperandList[i].MIOperandNo+OperandList[i].MINumOperands > Op) 183 return std::make_pair(i, Op-OperandList[i].MIOperandNo); 191 std::pair<unsigned,unsigned> Op local [all...] |
H A D | DAGISelMatcherGen.cpp | 647 Record *Op = N->getOperator(); local 649 CodeGenInstruction &II = CGT.getInstruction(Op); 676 Record *Op = N->getOperator(); local 678 CodeGenInstruction &II = CGT.getInstruction(Op); 679 const DAGInstruction &Inst = CGP.getInstruction(Op);
|
/external/valgrind/main/lackey/ |
H A D | lk_main.c | 297 typedef enum { OpLoad=0, OpStore=1, OpAlu=2 } Op; typedef in typeref:enum:__anon12677 353 static void instrument_detail(IRSB* sb, Op op, IRType type)
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SymbolManager.h | 348 BinaryOperator::Opcode Op; member in class:clang::ento::SymIntExpr 355 : SymExpr(SymIntKind), LHS(lhs), Op(op), RHS(rhs), T(t) {} 361 BinaryOperator::Opcode getOpcode() const { return Op; } 379 Profile(ID, LHS, Op, RHS, T); 391 BinaryOperator::Opcode Op; member in class:clang::ento::IntSymExpr 398 : SymExpr(IntSymKind), LHS(lhs), Op(op), RHS(rhs), T(t) {} 402 BinaryOperator::Opcode getOpcode() const { return Op; } 420 Profile(ID, LHS, Op, RHS, T); 432 BinaryOperator::Opcode Op; member in class:clang::ento::SymSymExpr 439 : SymExpr(SymSymKind), LHS(lhs), Op(o [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGExprComplex.cpp | 145 ComplexPairTy EmitCast(CastExpr::CastKind CK, Expr *Op, QualType DestTy); 224 ComplexPairTy EmitBinAdd(const BinOpInfo &Op); 225 ComplexPairTy EmitBinSub(const BinOpInfo &Op); 226 ComplexPairTy EmitBinMul(const BinOpInfo &Op); 227 ComplexPairTy EmitBinDiv(const BinOpInfo &Op); 369 ComplexPairTy ComplexExprEmitter::EmitCast(CastExpr::CastKind CK, Expr *Op, argument 381 return Visit(Op); 384 llvm::Value *V = CGF.EmitLValue(Op).getAddress(); 434 llvm::Value *Elt = CGF.EmitScalarExpr(Op); 438 Elt = CGF.EmitScalarConversion(Elt, Op 457 ComplexPairTy Op = Visit(E->getSubExpr()); local 474 ComplexPairTy Op = Visit(E->getSubExpr()); local 484 EmitBinAdd(const BinOpInfo &Op) argument 497 EmitBinSub(const BinOpInfo &Op) argument 510 EmitBinMul(const BinOpInfo &Op) argument 534 EmitBinDiv(const BinOpInfo &Op) argument [all...] |
H A D | CodeGenFunction.cpp | 287 llvm::Value *Op = Fn; local 288 OpenCLMetadata->addOperand(llvm::MDNode::get(Context, Op));
|
/external/clang/test/SemaCXX/ |
H A D | overload-call.cpp | 547 template<typename T> struct Op { struct in namespace:IncompleteArg 548 friend bool operator==(const Op &, const Op &); 550 extern Op<char> op;
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
H A D | toy.cpp | 124 char Op; member in class:BinaryExprAST 128 : Op(op), LHS(lhs), RHS(rhs) {} 478 switch (Op) {
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
H A D | toy.cpp | 139 char Op; member in class:BinaryExprAST 143 : Op(op), LHS(lhs), RHS(rhs) {} 574 switch (Op) { 588 Function *F = TheModule->getFunction(std::string("binary")+Op);
|
/external/llvm/include/llvm/CodeGen/ |
H A D | ScheduleDAG.h | 576 SUnitIterator(SUnit *N, unsigned Op) : Node(N), Operand(Op) {} argument
|
H A D | SelectionDAG.h | 456 /// getAnyExtOrTrunc - Convert Op, which must be of integer type, to the 458 SDValue getAnyExtOrTrunc(SDValue Op, DebugLoc DL, EVT VT); 460 /// getSExtOrTrunc - Convert Op, which must be of integer type, to the 462 SDValue getSExtOrTrunc(SDValue Op, DebugLoc DL, EVT VT); 464 /// getZExtOrTrunc - Convert Op, which must be of integer type, to the 466 SDValue getZExtOrTrunc(SDValue Op, DebugLoc DL, EVT VT); 468 /// getZeroExtendInReg - Return the expression required to zero extend the Op 470 SDValue getZeroExtendInReg(SDValue Op, DebugLoc DL, EVT SrcTy); 478 SDValue getCALLSEQ_START(SDValue Chain, SDValue Op) { argument 480 SDValue Ops[] = { Chain, Op }; [all...] |
/external/llvm/include/llvm/MC/ |
H A D | MCExpr.h | 260 Opcode Op; member in class:llvm::MCUnaryExpr 264 : MCExpr(MCExpr::Unary), Op(_Op), Expr(_Expr) {} 270 static const MCUnaryExpr *Create(Opcode Op, const MCExpr *Expr, 290 Opcode getOpcode() const { return Op; } 332 Opcode Op; member in class:llvm::MCBinaryExpr 336 : MCExpr(MCExpr::Binary), Op(_Op), LHS(_LHS), RHS(_RHS) {} 342 static const MCBinaryExpr *Create(Opcode Op, const MCExpr *LHS, 422 Opcode getOpcode() const { return Op; }
|
/external/llvm/include/llvm/Support/ |
H A D | PatternMatch.h | 568 Op_t Op; member in struct:llvm::PatternMatch::CastClass_match 570 CastClass_match(const Op_t &OpMatch) : Op(OpMatch) {} 575 return O->getOpcode() == Opcode && Op.match(O->getOperand(0)); 583 m_BitCast(const OpTy &Op) { argument 584 return CastClass_match<OpTy, Instruction::BitCast>(Op); 590 m_PtrToInt(const OpTy &Op) { argument 591 return CastClass_match<OpTy, Instruction::PtrToInt>(Op); 597 m_Trunc(const OpTy &Op) { argument 598 return CastClass_match<OpTy, Instruction::Trunc>(Op); 604 m_SExt(const OpTy &Op) { argument 611 m_ZExt(const OpTy &Op) argument [all...] |
/external/llvm/include/llvm/Target/ |
H A D | TargetLowering.h | 344 virtual bool canOpTrap(unsigned Op, EVT VT) const; 359 LegalizeAction getOperationAction(unsigned Op, EVT VT) const { argument 361 assert(Op < array_lengthof(OpActions[0]) && "Table isn't big enough!"); 363 return (LegalizeAction)OpActions[I][Op]; 369 bool isOperationLegalOrCustom(unsigned Op, EVT VT) const { 371 (getOperationAction(Op, VT) == Legal || 372 getOperationAction(Op, VT) == Custom); 377 bool isOperationLegal(unsigned Op, EVT VT) const { 379 getOperationAction(Op, VT) == Legal; 484 EVT getTypeToPromoteTo(unsigned Op, EV 1051 setOperationAction(unsigned Op, MVT VT, LegalizeAction Action) argument [all...] |
/external/llvm/lib/Analysis/ |
H A D | BasicAliasAnalysis.cpp | 269 const Operator *Op = dyn_cast<Operator>(V); local 270 if (Op == 0) { 281 if (Op->getOpcode() == Instruction::BitCast) { 282 V = Op->getOperand(0); 286 const GEPOperator *GEPOp = dyn_cast<GEPOperator>(Op);
|
H A D | ConstantFolding.cpp | 791 if (Constant *Op = dyn_cast<Constant>(*i)) 792 Ops.push_back(Op); 1183 if (ConstantFP *Op = dyn_cast<ConstantFP>(Operands[0])) { 1185 APFloat Val(Op->getValueAPF()); 1201 if (Op->getValueAPF().isNaN() || Op->getValueAPF().isInfinity()) 1208 double V = Ty->isFloatTy() ? (double)Op->getValueAPF().convertToFloat() : 1209 Op->getValueAPF().convertToDouble(); 1282 if (ConstantInt *Op = dyn_cast<ConstantInt>(Operands[0])) { 1285 return ConstantInt::get(F->getContext(), Op 1310 Constant *Op = cast<Constant>(Operands[0]); local [all...] |