/external/llvm/examples/Kaleidoscope/Chapter3/ |
H A D | toy.cpp | 125 char Op; member in class:__anon13557::BinaryExprAST 129 BinaryExprAST(char Op, std::unique_ptr<ExprAST> LHS, argument 131 : Op(Op), LHS(std::move(LHS)), RHS(std::move(RHS)) {} 419 switch (Op) {
|
/external/llvm/include/llvm/Analysis/ |
H A D | TargetFolder.h | 168 Constant *CreateCast(Instruction::CastOps Op, Constant *C, argument 172 return Fold(ConstantExpr::getCast(Op, C, DestTy));
|
/external/llvm/include/llvm/Bitcode/ |
H A D | BitstreamWriter.h | 263 void EmitAbbreviatedLiteral(const BitCodeAbbrevOp &Op, uintty V) { argument 264 assert(Op.isLiteral() && "Not a literal"); 267 assert(V == Op.getLiteralValue() && 274 void EmitAbbreviatedField(const BitCodeAbbrevOp &Op, uintty V) { argument 275 assert(!Op.isLiteral() && "Literals should use EmitAbbreviatedLiteral!"); 278 switch (Op.getEncoding()) { 281 if (Op.getEncodingData()) 282 Emit((unsigned)V, (unsigned)Op.getEncodingData()); 285 if (Op.getEncodingData()) 286 EmitVBR64(V, (unsigned)Op 314 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i++); local 328 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); local 481 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); local [all...] |
/external/llvm/include/llvm/IR/ |
H A D | NoFolder.h | 215 Instruction *CreateCast(Instruction::CastOps Op, Constant *C, argument 217 return CastInst::Create(Op, C, DestTy);
|
/external/llvm/include/llvm/MC/MCParser/ |
H A D | MCTargetAsmParser.h | 194 virtual unsigned validateTargetOperandClass(MCParsedAsmOperand &Op, argument
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FunctionLoweringInfo.cpp | 183 TargetLowering::AsmOperandInfo &Op = Ops[I]; local 184 if (Op.Type == InlineAsm::isClobber) { 186 TLI->ComputeConstraintToUse(Op, SDValue(), DAG); 188 TLI->getRegForInlineAsmConstraint(TRI, Op.ConstraintCode, 189 Op.ConstraintVT);
|
/external/llvm/lib/IR/ |
H A D | Metadata.cpp | 471 unsigned Op = 0; local 473 setOperand(Op++, MD); 475 setOperand(Op++, MD); 496 static bool isOperandUnresolved(Metadata *Op) { argument 497 if (auto *N = dyn_cast_or_null<MDNode>(Op)) 513 for (auto &Op : mutable_operands()) 514 Op.reset(Op.get(), this); 592 for (const auto &Op : operands()) { 593 auto *N = dyn_cast_or_null<MDNode>(Op); 663 unsigned Op = static_cast<MDOperand *>(Ref) - op_begin(); local [all...] |
/external/llvm/lib/Target/AMDGPU/ |
H A D | SIInsertWaits.cpp | 103 bool isOpRelevant(MachineOperand &Op); 225 bool SIInsertWaits::isOpRelevant(MachineOperand &Op) { argument 227 if (!Op.isReg() || !TRI->isInAllocatableClass(Op.getReg())) 231 if (Op.isDef()) 235 MachineInstr &MI = *Op.getParent(); 250 if (Data && Op.isIdenticalTo(*Data)) 256 if (Data0 && Op.isIdenticalTo(*Data0)) 260 return Data1 && Op.isIdenticalTo(*Data1); 269 return Op 337 MachineOperand &Op = I->getOperand(i); local 467 MachineOperand &Op = MI.getOperand(i); local 505 const MachineOperand &Op = I->getOperand(i); local [all...] |
H A D | SILowerControlFlow.cpp | 387 const MachineOperand &Op = MI.getOperand(0); local 397 if ((Op.isImm())) { 399 if (Op.getImm() & 0x80000000) { 406 .addOperand(Op);
|
H A D | SIWholeQuadMode.cpp | 395 const MachineOperand &Op = MI.getOperand(0); local 396 if (Op.isReg()) { 397 if (TRI->isSGPRReg(*MRI, Op.getReg())) {
|
/external/llvm/lib/Target/ARM/ |
H A D | A15SDOptimizer.cpp | 201 MachineOperand *Op = MI->findRegisterDefOperand(Reg); local 203 if (!Op) 206 MachineInstr *Def = Op->getParent();
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMAddressingModes.h | 41 static inline const char *getAddrOpcStr(AddrOpc Op) { argument 42 return Op == sub ? "-" : ""; 45 static inline const char *getShiftOpcStr(ShiftOpc Op) { argument 46 switch (Op) { 56 static inline unsigned getShiftOpcEncoding(ShiftOpc Op) { argument 57 switch (Op) { 115 static inline unsigned getSORegOffset(unsigned Op) { 116 return Op >> 3; 118 static inline ShiftOpc getSORegShOp(unsigned Op) { 119 return (ShiftOpc)(Op [all...] |
/external/llvm/lib/Target/BPF/ |
H A D | BPFISelLowering.cpp | 135 SDValue BPFTargetLowering::LowerOperation(SDValue Op, SelectionDAG &DAG) const { argument 136 switch (Op.getOpcode()) { 138 return LowerBR_CC(Op, DAG); 140 return LowerGlobalAddress(Op, DAG); 142 return LowerSELECT_CC(Op, DAG); 436 SDValue BPFTargetLowering::LowerBR_CC(SDValue Op, SelectionDAG &DAG) const { argument 437 SDValue Chain = Op.getOperand(0); 438 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(1))->get(); 439 SDValue LHS = Op.getOperand(2); 440 SDValue RHS = Op 450 LowerSELECT_CC(SDValue Op, SelectionDAG &DAG) const argument 486 LowerGlobalAddress(SDValue Op, SelectionDAG &DAG) const argument [all...] |
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonCopyToCombine.cpp | 176 const MachineOperand &Op = I.getOperand(1); local 177 return !Op.isImm() || !isInt<N>(Op.getImm()); 226 MachineOperand &Op = MI.getOperand(I); local 227 if (!Op.isReg() || Op.getReg() != RegNotKilled || !Op.isKill()) 229 Op.setIsKill(false); 392 MachineOperand &Op = MI.getOperand(OpdIdx); local 395 if (!Op 428 MachineOperand &Op = MI.getOperand(I); local [all...] |
/external/llvm/lib/Target/X86/ |
H A D | X86OptimizeLEAs.cpp | 584 MachineOperand &Op = MI.getOperand(MemOpNo + X86::AddrDisp); local 585 if (Op.isImm()) 586 Op.setImm(Op.getImm() + AddrDispShift); 587 else if (!Op.isJTI()) 588 Op.setOffset(Op.getOffset() + AddrDispShift);
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineInternal.h | 255 Instruction *FoldOrWithConstants(BinaryOperator &I, Value *Op, Value *A, 257 Instruction *FoldXorWithConstants(BinaryOperator &I, Value *Op, Value *A, 279 Instruction *FoldICmpCstShrCst(ICmpInst &I, Value *Op, Value *A, 281 Instruction *FoldICmpCstShlCst(ICmpInst &I, Value *Op, Value *A, 356 Instruction *FoldOpIntoSelect(Instruction &Op, SelectInst *SI); 487 unsigned ComputeNumSignBits(Value *Op, unsigned Depth = 0, argument 489 return llvm::ComputeNumSignBits(Op, DL, Depth, AC, CxtI, DT); 557 Instruction *OptAndOp(Instruction *Op, ConstantInt *OpRHS,
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | StraightLineStrengthReduce.cpp | 696 Value *Op = UnlinkedInst->getOperand(I); local 698 RecursivelyDeleteTriviallyDeadInstructions(Op);
|
/external/llvm/lib/Transforms/Utils/ |
H A D | BuildLibCalls.cpp | 867 /// Append a suffix to the function name according to the type of 'Op'. 868 static void appendTypeSuffix(Value *Op, StringRef &Name, argument 870 if (!Op->getType()->isDoubleTy()) { 873 if (Op->getType()->isFloatTy()) 882 Value *llvm::emitUnaryFloatFnCall(Value *Op, StringRef Name, IRBuilder<> &B, argument 885 appendTypeSuffix(Op, Name, NameBuffer); 888 Value *Callee = M->getOrInsertFunction(Name, Op->getType(), 889 Op->getType(), nullptr); 890 CallInst *CI = B.CreateCall(Callee, Op, Name);
|
H A D | LoopUnroll.cpp | 58 Value *Op = I->getOperand(op); local 59 ValueToValueMapTy::iterator It = VMap.find(Op);
|
/external/llvm/tools/bugpoint/ |
H A D | CrashDebugger.cpp | 222 Constant *Op = cast<Constant>(V->stripPointerCasts()); local 223 if(!Op->isNullValue()) {
|
/external/llvm/utils/TableGen/ |
H A D | CodeGenInstruction.cpp | 160 CGIOperandList::ParseOperandName(const std::string &Op, bool AllowWholeOp) { argument 161 if (Op.empty() || Op[0] != '$') 162 PrintFatalError(TheDef->getName() + ": Illegal operand name: '" + Op + "'"); 164 std::string OpName = Op.substr(1); 172 PrintFatalError(TheDef->getName() + ": illegal empty suboperand name in '" +Op +"'"); 183 " whole operand part of complex operand '" + Op + "'"); 192 PrintFatalError(TheDef->getName() + ": unknown suboperand name in '" + Op + "'"); 200 PrintFatalError(TheDef->getName() + ": unknown suboperand name in '" + Op + "'"); 215 std::pair<unsigned,unsigned> Op local 284 std::pair<unsigned,unsigned> Op = ParseOperandName(OpName, false); local [all...] |
/external/skia/tools/ |
H A D | remote_demo.cpp | 52 class Op { class 54 Op(OpCode opCode, SkFontID typefaceId, const SkScalerContextRec& rec) function in class:Op 82 Op* op = this->createOp(OpCode::kFontMetrics, tf, rec); 86 op->~Op(); 92 Op* op = this->createOp(OpCode::kGlyphMetrics, tf, rec); 97 op->~Op(); 104 Op* op = this->createOp(OpCode::kGlyphImage, tf, rec); 108 memcpy(glyph.fImage, fBuffer + sizeof(Op), glyph.rowBytes() * glyph.fHeight); 109 op->~Op(); 116 Op* o [all...] |
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter2/ |
H A D | toy.cpp | 100 char Op; member in class:BinaryExprAST 104 : Op(op), LHS(lhs), RHS(rhs) {}
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
H A D | ScalarEvolutionExpressions.h | 59 const SCEV *Op; member in class:llvm::SCEVCastExpr 66 const SCEV *getOperand() const { return Op; }
|
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/ |
H A D | BitstreamWriter.h | 262 void EmitAbbreviatedLiteral(const BitCodeAbbrevOp &Op, uintty V) { argument 263 assert(Op.isLiteral() && "Not a literal"); 266 assert(V == Op.getLiteralValue() && 273 void EmitAbbreviatedField(const BitCodeAbbrevOp &Op, uintty V) { argument 274 assert(!Op.isLiteral() && "Literals should use EmitAbbreviatedLiteral!"); 277 switch (Op.getEncoding()) { 280 if (Op.getEncodingData()) 281 Emit((unsigned)V, (unsigned)Op.getEncodingData()); 284 if (Op.getEncodingData()) 285 EmitVBR64(V, (unsigned)Op 311 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); local 461 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); local [all...] |