/external/llvm/lib/Target/Lanai/ |
LanaiMemAluCombiner.cpp | 184 bool isZeroOperand(const MachineOperand &Op) { 185 return ((Op.isReg() && Op.getReg() == Lanai::R0) || 186 (Op.isImm() && Op.getImm() == 0)); 271 // Create a pre-op if the ALU operation preceded the memory operation or the 273 // accessing it), else create a post-op.
|
/external/llvm/lib/Target/SystemZ/ |
SystemZTDC.cpp | 307 llvm_unreachable("Unknown op in convertLogicOp"); 331 BinaryOperator *Op = LogicOpsWorklist.back(); 335 if (ConvertedInsts.count(dyn_cast<Instruction>(Op->getOperand(0))) && 336 ConvertedInsts.count(dyn_cast<Instruction>(Op->getOperand(1))) && 337 !ConvertedInsts.count(Op)) 338 convertLogicOp(*Op);
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
SetTheory.cpp | 64 // SetIntBinOp - Abstract base class for (Op S, N) operators. 72 throw "Operator requires (Op Set, Int) arguments: " + Expr->getAsString(); 213 void SetTheory::addOperator(StringRef Name, Operator *Op) { 214 Operators[Name] = Op; 245 Operator *Op = Operators.lookup(OpInit->getDef()->getName()); 246 if (!Op) 248 Op->apply(*this, DagExpr, Elts);
|
AsmWriterEmitter.cpp | 155 for (unsigned Op = 1; ; ++Op) { 165 if (!FirstInst || FirstInst->Operands.size() == Op) 187 if (!OtherInst || OtherInst->Operands.size() == Op || 188 OtherInst->Operands[Op] != FirstInst->Operands[Op]) { 197 std::string Command = " " + FirstInst->Operands[Op].getCode() + "\n"; 624 void addOperand(StringRef Op, unsigned Idx) { OpMap[Op] = Idx; } 625 unsigned getOpIndex(StringRef Op) { return OpMap[Op]; [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
SelectionDAG.cpp | 211 /// getSetCCSwappedOperands - Return the operation corresponding to (Y op X) 212 /// when given the operation for (X op Y). 223 /// getSetCCInverse - Return the operation corresponding to !(X op Y), where 224 /// 'op' is a valid SetCC operation. 225 ISD::CondCode ISD::getSetCCInverse(ISD::CondCode Op, bool isInteger) { 226 unsigned Operation = Op; 268 unsigned Op = Op1 | Op2; // Combine all of the condition bits. 272 if (Op > ISD::SETTRUE2) 273 Op &= ~16; // Clear the U bit if the N bit is set. 276 if (isInteger && Op == ISD::SETUNE) // e.g. SETUGT | SETUL [all...] |
LegalizeIntegerTypes.cpp | 148 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); 149 return GetPromotedInteger(Op); 154 SDValue Op = SExtPromotedInteger(N->getOperand(0)); 156 Op.getValueType(), Op, N->getOperand(1)); 161 SDValue Op = ZExtPromotedInteger(N->getOperand(0)); 163 Op.getValueType(), Op, N->getOperand(1)); 264 SDValue Op = GetPromotedInteger(N->getOperand(0)); 266 EVT NVT = Op.getValueType() [all...] |
/external/llvm/lib/Target/X86/AsmParser/ |
X86AsmParser.cpp | 95 ICToken Op = PostfixStack.pop_back_val(); 96 assert ((Op.first == IC_IMM || Op.first == IC_REGISTER) 98 return Op.second; 100 void pushOperand(InfixCalculatorTok Op, int64_t Val = 0) { 101 assert ((Op == IC_IMM || Op == IC_REGISTER) && 103 PostfixStack.push_back(std::make_pair(Op, Val)); 107 void pushOperator(InfixCalculatorTok Op) { 110 InfixOperatorStack.push_back(Op); [all...] |
/external/llvm/tools/llvm-stress/ |
llvm-stress.cpp | 345 Instruction::BinaryOps Op; 349 case 0:{Op = (isFloat?Instruction::FAdd : Instruction::Add); break; } 350 case 1:{Op = (isFloat?Instruction::FSub : Instruction::Sub); break; } 351 case 2:{Op = (isFloat?Instruction::FMul : Instruction::Mul); break; } 352 case 3:{Op = (isFloat?Instruction::FDiv : Instruction::SDiv); break; } 353 case 4:{Op = (isFloat?Instruction::FDiv : Instruction::UDiv); break; } 354 case 5:{Op = (isFloat?Instruction::FRem : Instruction::SRem); break; } 355 case 6:{Op = (isFloat?Instruction::FRem : Instruction::URem); break; } 356 case 7: {Op = Instruction::Shl; break; } 357 case 8: {Op = Instruction::LShr; break; 602 int op; variable [all...] |
/external/spirv-llvm/lib/SPIRV/ |
SPIRVInternal.h | 73 typedef SPIRVMap<std::string, Op, SPIRVOpaqueType> 88 SPIRVMap<unsigned, Op>::init() { 89 #define _SPIRV_OP(x,y) add(Instruction::x, Op##y); 126 typedef SPIRVMap<unsigned, Op> OpCodeMap; 129 SPIRVMap<CmpInst::Predicate, Op>::init() { 130 #define _SPIRV_OP(x,y) add(CmpInst::x, Op##y); 157 typedef SPIRVMap<CmpInst::Predicate, Op> CmpMap; 161 SPIRVMap<Op, Op, IntBoolOpMapId>::init() { 169 typedef SPIRVMap<Op, Op, IntBoolOpMapId> IntBoolOpMap [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Canvas.java | 750 * @param op How the clip is modified 753 * @deprecated Region.Op values other than {@link Region.Op#INTERSECT} and 754 * {@link Region.Op#DIFFERENCE} have the ability to expand the clip. The canvas clipping APIs 760 public boolean clipRect(@NonNull RectF rect, @NonNull Region.Op op) { 762 op.nativeInt); 770 * @param op How the clip is modified 773 * @deprecated Region.Op values other than {@link Region.Op#INTERSECT} an [all...] |
/external/llvm/lib/Target/Hexagon/ |
RDFGraph.cpp | 383 assert(Ref.Op != nullptr); 384 return { Ref.Op->getReg(), Ref.Op->getSubReg() }; 397 void RefNode::setRegRef(MachineOperand *Op) { 400 Ref.Op = Op; 705 const MachineOperand &Op = In.getOperand(OpNum); 709 if (Op.getSubReg() != 0) 711 unsigned Reg = Op.getReg(); 712 const MCPhysReg *ImpR = Op.isDef() ? D.getImplicitDefs( [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ |
Instructions.h | [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
SelectionDAGNodes.h | 422 SDUse *Op; 423 explicit use_iterator(SDUse *op) : Op(op) { 432 use_iterator(const use_iterator &I) : Op(I.Op) {} 433 use_iterator() : Op(0) {} 436 return Op == x.Op; 443 bool atEnd() const { return Op == 0; [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
CanvasTest.java | 44 import android.graphics.Region.Op; 1002 assertTrue(mCanvas.clipRect(new RectF(0, 0, 10, 31), Op.INTERSECT)); 1004 assertFalse(mCanvas.clipRect(new RectF(10, 31, 11, 32), Op.INTERSECT)); 1006 assertTrue(mCanvas.clipRect(new RectF(0, 0, 10, 31), Op.REPLACE)); 1008 assertTrue(mCanvas.clipRect(new RectF(0, 0, 20, 10), Op.INTERSECT)); 1010 assertFalse(mCanvas.clipRect(new RectF(0, 10, 20, 32), Op.INTERSECT)); 1012 assertFalse(mCanvas.clipRect(new RectF(0, 0, 10, 31), Op.DIFFERENCE)); 1018 assertTrue(mCanvas.clipRect(new Rect(0, 0, 10, 31), Op.INTERSECT)); 1020 assertFalse(mCanvas.clipRect(new Rect(10, 31, 11, 32), Op.INTERSECT)); 1022 assertTrue(mCanvas.clipRect(new Rect(0, 0, 10, 31), Op.REPLACE)) [all...] |
/external/llvm/include/llvm/IR/ |
PatternMatch.h | 551 if (auto *Op = dyn_cast<OverflowingBinaryOperator>(V)) { 552 if (Op->getOpcode() != Opcode) 555 !Op->hasNoUnsignedWrap()) 558 !Op->hasNoSignedWrap()) 560 return L.match(Op->getOperand(0)) && R.match(Op->getOperand(1)); 776 Op_t Op; 778 CastClass_match(const Op_t &OpMatch) : Op(OpMatch) {} 782 return O->getOpcode() == Opcode && Op.match(O->getOperand(0)); 789 inline CastClass_match<OpTy, Instruction::BitCast> m_BitCast(const OpTy &Op) { [all...] |
/external/llvm/lib/Target/AArch64/InstPrinter/ |
AArch64InstPrinter.cpp | [all...] |
/external/llvm/lib/Target/X86/ |
X86FloatingPoint.cpp | [all...] |
/external/llvm/lib/Target/Mips/ |
MipsSEISelDAGToDAG.cpp | 970 SelectInlineAsmMemoryOperand(const SDValue &Op, unsigned ConstraintID, 979 OutOps.push_back(Op); 980 OutOps.push_back(CurDAG->getTargetConstant(0, SDLoc(Op), MVT::i32)); [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
PatternMatch.h | 526 Op_t Op; 528 CastClass_match(const Op_t &OpMatch) : Op(OpMatch) {} 533 return I->getOpcode() == Opcode && Op.match(I->getOperand(0)); 535 return CE->getOpcode() == Opcode && Op.match(CE->getOperand(0)); 543 m_BitCast(const OpTy &Op) { 544 return CastClass_match<OpTy, Instruction::BitCast>(Op); 550 m_PtrToInt(const OpTy &Op) { 551 return CastClass_match<OpTy, Instruction::PtrToInt>(Op); 557 m_Trunc(const OpTy &Op) { 558 return CastClass_match<OpTy, Instruction::Trunc>(Op); [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
obj.go | 176 if n.Op != ONAME { 198 if n.Op != ONAME { 322 if nam.Op != ONAME { 364 if nam.Op != ONAME { 365 Fatalf("gdata nam op %v", nam.Op) 372 switch nr.Op { 413 if nr.Left.Op != ONAME { 414 Fatalf("gdata ADDR left op %v", nr.Left.Op) [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/gen/ |
main.go | 49 clobberFlags bool // this op clobbers flags register 51 nilCheck bool // this op is a nil check on arg0 52 faultOnNilArg0 bool // this op will fault if arg0 is nil (and aux encodes a small offset) 53 faultOnNilArg1 bool // this op will fault if arg1 is nil (and aux encodes a small offset) 54 usesScratch bool // this op requires scratch memory space 132 // generate Op* declarations 134 fmt.Fprintln(w, "OpInvalid Op = iota") // make sure OpInvalid is 0. 141 fmt.Fprintf(w, "Op%s%s\n", a.Name(), v.name) 213 fmt.Fprintln(w, "},") // close op 260 fmt.Fprintln(w, "},") // close op [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
obj.go | 176 if n.Op != ONAME { 198 if n.Op != ONAME { 322 if nam.Op != ONAME { 364 if nam.Op != ONAME { 365 Fatalf("gdata nam op %v", nam.Op) 372 switch nr.Op { 413 if nr.Left.Op != ONAME { 414 Fatalf("gdata ADDR left op %v", nr.Left.Op) [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/gen/ |
main.go | 49 clobberFlags bool // this op clobbers flags register 51 nilCheck bool // this op is a nil check on arg0 52 faultOnNilArg0 bool // this op will fault if arg0 is nil (and aux encodes a small offset) 53 faultOnNilArg1 bool // this op will fault if arg1 is nil (and aux encodes a small offset) 54 usesScratch bool // this op requires scratch memory space 132 // generate Op* declarations 134 fmt.Fprintln(w, "OpInvalid Op = iota") // make sure OpInvalid is 0. 141 fmt.Fprintf(w, "Op%s%s\n", a.Name(), v.name) 213 fmt.Fprintln(w, "},") // close op 260 fmt.Fprintln(w, "},") // close op [all...] |
/external/llvm/lib/Analysis/ |
ScalarEvolutionExpander.cpp | 39 Instruction::CastOps Op, 58 if (CI->getOpcode() == Op) { 66 Ret = CastInst::Create(Op, V, Ty, "", &*IP); 78 Ret = CastInst::Create(Op, V, Ty, V->getName(), &*IP); 113 Instruction::CastOps Op = CastInst::getCastOpcode(V, false, Ty, false); 114 assert((Op == Instruction::BitCast || 115 Op == Instruction::PtrToInt || 116 Op == Instruction::IntToPtr) && 122 if (Op == Instruction::BitCast) { 131 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) & [all...] |
/external/llvm/lib/Transforms/Utils/ |
SimplifyLibCalls.cpp | 864 Value *Op = Cast->getOperand(0); 865 if (Op->getType()->isFloatTy()) 866 return Op; [all...] |