/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/ |
D | Operations.cpp | 18 void llvm::describeFuzzerIntOps(std::vector<fuzzerop::OpDescriptor> &Ops) { in describeFuzzerIntOps() argument 19 Ops.push_back(binOpDescriptor(1, Instruction::Add)); in describeFuzzerIntOps() 20 Ops.push_back(binOpDescriptor(1, Instruction::Sub)); in describeFuzzerIntOps() 21 Ops.push_back(binOpDescriptor(1, Instruction::Mul)); in describeFuzzerIntOps() 22 Ops.push_back(binOpDescriptor(1, Instruction::SDiv)); in describeFuzzerIntOps() 23 Ops.push_back(binOpDescriptor(1, Instruction::UDiv)); in describeFuzzerIntOps() 24 Ops.push_back(binOpDescriptor(1, Instruction::SRem)); in describeFuzzerIntOps() 25 Ops.push_back(binOpDescriptor(1, Instruction::URem)); in describeFuzzerIntOps() 26 Ops.push_back(binOpDescriptor(1, Instruction::Shl)); in describeFuzzerIntOps() 27 Ops.push_back(binOpDescriptor(1, Instruction::LShr)); in describeFuzzerIntOps() [all …]
|
D | IRMutator.cpp | 85 std::vector<fuzzerop::OpDescriptor> Ops; in getDefaultOps() local 86 describeFuzzerIntOps(Ops); in getDefaultOps() 87 describeFuzzerFloatOps(Ops); in getDefaultOps() 88 describeFuzzerControlFlowOps(Ops); in getDefaultOps() 89 describeFuzzerPointerOps(Ops); in getDefaultOps() 90 describeFuzzerAggregateOps(Ops); in getDefaultOps() 91 describeFuzzerVectorOps(Ops); in getDefaultOps() 92 return Ops; in getDefaultOps()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 76 static void PrintOps(Instruction *I, const SmallVectorImpl<ValueEntry> &Ops) { in PrintOps() argument 79 << *Ops[0].Op->getType() << '\t'; in PrintOps() 80 for (unsigned i = 0, e = Ops.size(); i != e; ++i) { in PrintOps() 82 Ops[i].Op->printAsOperand(dbgs(), false, M); in PrintOps() 83 dbgs() << ", #" << Ops[i].Rank << "] "; in PrintOps() 453 SmallVectorImpl<RepeatedValue> &Ops) { in LinearizeExprTree() argument 618 Ops.push_back(std::make_pair(V, Weight)); in LinearizeExprTree() 624 if (Ops.empty()) { in LinearizeExprTree() 627 Ops.emplace_back(Identity, APInt(Bitwidth, 1)); in LinearizeExprTree() 636 SmallVectorImpl<ValueEntry> &Ops) { in RewriteExprTree() argument [all …]
|
D | Float2Int.cpp | 257 Op = [](ArrayRef<ConstantRange> Ops) { in walkForwards() argument 258 assert(Ops.size() == 1 && "FNeg is a unary operator!"); in walkForwards() 259 unsigned Size = Ops[0].getBitWidth(); in walkForwards() 261 return Zero.sub(Ops[0]); in walkForwards() 268 Op = [I](ArrayRef<ConstantRange> Ops) { in walkForwards() argument 269 assert(Ops.size() == 2 && "its a binary operator!"); in walkForwards() 271 return Ops[0].binaryOp(BinOp, Ops[1]); in walkForwards() 281 Op = [I](ArrayRef<ConstantRange> Ops) { in walkForwards() argument 282 assert(Ops.size() == 1 && "FPTo[US]I is a unary operator!"); in walkForwards() 286 return Ops[0].castOp(CastOp, MaxIntegerBW+1); in walkForwards() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/PowerPC/ |
D | PPCGenDAGISel.inc | 79 MVT::v4i32, 2/*#Ops*/, 1, 5, // Results = #6 81 3/*#Ops*/, 6, 3, 4, 96 MVT::v4i32, 2/*#Ops*/, 1, 5, // Results = #6 98 3/*#Ops*/, 6, 3, 4, 117 MVT::v4i32, 2/*#Ops*/, 1, 5, // Results = #6 119 3/*#Ops*/, 6, 3, 4, 134 MVT::v4i32, 2/*#Ops*/, 1, 5, // Results = #6 136 3/*#Ops*/, 6, 3, 4, 154 MVT::f64, 2/*#Ops*/, 1, 5, // Results = #6 156 3/*#Ops*/, 6, 3, 4, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | DebugInfoMetadata.cpp | 69 SmallVector<Metadata *, 2> Ops; in getImpl() local 70 Ops.push_back(Scope); in getImpl() 72 Ops.push_back(InlinedAt); in getImpl() 73 return storeImpl(new (Ops.size()) DILocation(Context, Storage, Line, Column, in getImpl() 74 Ops, ImplicitCode), in getImpl() 331 Metadata *Ops[] = { CountNode }; in getImpl() local 332 DEFINE_GETIMPL_STORE(DISubrange, (CountNode, Lo), Ops); in getImpl() 340 Metadata *Ops[] = {Name}; in getImpl() local 341 DEFINE_GETIMPL_STORE(DIEnumerator, (Value, IsUnsigned), Ops); in getImpl() 352 Metadata *Ops[] = {nullptr, nullptr, Name}; in getImpl() local [all …]
|
D | MDBuilder.cpp | 63 SmallVector<Metadata *, 8> Ops; in createFunctionEntryCount() local 65 Ops.push_back(createString("synthetic_function_entry_count")); in createFunctionEntryCount() 67 Ops.push_back(createString("function_entry_count")); in createFunctionEntryCount() 68 Ops.push_back(createConstant(ConstantInt::get(Int64Ty, Count))); in createFunctionEntryCount() 73 Ops.push_back(createConstant(ConstantInt::get(Int64Ty, ID))); in createFunctionEntryCount() 75 return MDNode::get(Context, Ops); in createFunctionEntryCount() 101 SmallVector<Metadata *, 4> Ops; in createCallees() local 103 Ops.push_back(createConstant(F)); in createCallees() 104 return MDNode::get(Context, Ops); in createCallees() 110 SmallVector<Metadata *, 4> Ops; in createCallbackEncoding() local [all …]
|
D | ConstantsContext.h | 466 ArrayRef<Constant *> Ops; 470 ConstantExprKeyType(unsigned Opcode, ArrayRef<Constant *> Ops, 476 SubclassData(SubclassData), Ops(Ops), Indexes(Indexes), 482 SubclassData(CE->isCompare() ? CE->getPredicate() : 0), Ops(Operands), 496 Ops = Storage; 501 SubclassOptionalData == X.SubclassOptionalData && Ops == X.Ops && 510 if (Ops.size() != CE->getNumOperands()) 514 for (unsigned I = 0, E = Ops.size(); I != E; ++I) 515 if (Ops[I] != CE->getOperand(I)) 524 hash_combine_range(Ops.begin(), Ops.end()), [all …]
|
D | IRBuilder.cpp | 74 static CallInst *createCallHelper(Function *Callee, ArrayRef<Value *> Ops, in createCallHelper() argument 78 CallInst *CI = CallInst::Create(Callee, Ops, Name); in createCallHelper() 88 ArrayRef<Value *> Ops, in createInvokeHelper() argument 92 InvokeInst::Create(Invokee, NormalDest, UnwindDest, Ops, Name); in createInvokeHelper() 104 Value *Ops[] = {Ptr, Val, Size, getInt1(isVolatile)}; in CreateMemSet() local 109 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemSet() 132 Value *Ops[] = {Ptr, Val, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemSet() local 138 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateElementUnorderedAtomicMemSet() 173 Value *Ops[] = {Dst, Src, Size, getInt1(isVolatile)}; in CreateMemCpy() local 178 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemCpy() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/Mips/ |
D | MipsGenDAGISel.inc | 73 3/*#Ops*/, 1, 3, 4, 81 3/*#Ops*/, 1, 3, 4, 89 3/*#Ops*/, 1, 3, 4, 97 3/*#Ops*/, 1, 3, 4, 113 3/*#Ops*/, 1, 2, 3, 120 3/*#Ops*/, 1, 2, 3, 136 3/*#Ops*/, 1, 3, 4, 144 3/*#Ops*/, 1, 3, 4, 160 3/*#Ops*/, 1, 2, 3, 167 3/*#Ops*/, 1, 2, 3, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMISelDAGToDAG.cpp | 218 void AddMVEPredicateToOps(SDValueVector &Ops, SDLoc Loc, 221 void AddMVEPredicateToOps(SDValueVector &Ops, SDLoc Loc, 225 void AddEmptyMVEPredicateToOps(SDValueVector &Ops, SDLoc Loc); 227 void AddEmptyMVEPredicateToOps(SDValueVector &Ops, SDLoc Loc, EVT InactiveTy); 1577 SDValue Ops[]= { Base, AMOpc, getAL(CurDAG, SDLoc(N)), in tryARMIndexedLoad() local 1580 MVT::Other, Ops); in tryARMIndexedLoad() 1587 SDValue Ops[]= { Base, Offset, AMOpc, getAL(CurDAG, SDLoc(N)), in tryARMIndexedLoad() local 1590 MVT::Other, Ops); in tryARMIndexedLoad() 1618 SDValue Ops[]= { Base, getAL(CurDAG, SDLoc(N)), in tryT1IndexedLoad() local 1621 MVT::i32, MVT::Other, Ops); in tryT1IndexedLoad() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/ARM/ |
D | ARMGenDAGISel.inc | 86 MVT::i32, 3/*#Ops*/, 0, 1, 2, 94 MVT::i32, 3/*#Ops*/, 0, 1, 2, 124 MVT::i32, 3/*#Ops*/, 0, 1, 2, 132 MVT::i32, 3/*#Ops*/, 0, 1, 2, 159 MVT::i32, 5/*#Ops*/, 0, 1, 3, 4, 5, 185 MVT::i32, 5/*#Ops*/, 0, 1, 3, 4, 5, 204 MVT::i32, 5/*#Ops*/, 0, 1, 3, 4, 5, 231 MVT::i32, 5/*#Ops*/, 0, 1, 3, 4, 5, 258 MVT::i32, 5/*#Ops*/, 0, 1, 3, 4, 5, 277 MVT::i32, 5/*#Ops*/, 0, 1, 3, 4, 5, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMUnwindOpAsm.h | 27 SmallVector<uint8_t, 32> Ops; 38 Ops.clear(); in Reset() 63 Ops.insert(Ops.end(), Opcodes.begin(), Opcodes.end()); in EmitRaw() 73 Ops.push_back(Opcode & 0xff); in EmitInt8() 78 Ops.push_back((Opcode >> 8) & 0xff); in EmitInt16() 79 Ops.push_back(Opcode & 0xff); in EmitInt16() 84 Ops.insert(Ops.end(), Opcode, Opcode + Size); in EmitBytes()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreISelDAGToDAG.cpp | 163 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local 166 MVT::i32, Ops)); in Select() 170 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local 173 MVT::i32, Ops)); in Select() 177 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local 180 MVT::i32, Ops)); in Select() 184 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local 187 MVT::i32, Ops)); in Select() 191 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local 194 MVT::i32, Ops)); in Select() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/Utils/ |
D | AArch64BaseInfo.cpp | 131 SmallVector<StringRef, 5> Ops; in parseGenericRegister() local 132 if (!GenericRegPattern.match(UpperName, &Ops)) in parseGenericRegister() 137 Ops[1].getAsInteger(10, Op0); in parseGenericRegister() 138 Ops[2].getAsInteger(10, Op1); in parseGenericRegister() 139 Ops[3].getAsInteger(10, CRn); in parseGenericRegister() 140 Ops[4].getAsInteger(10, CRm); in parseGenericRegister() 141 Ops[5].getAsInteger(10, Op2); in parseGenericRegister()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/FuzzMutate/ |
D | Operations.h | 25 void describeFuzzerIntOps(std::vector<fuzzerop::OpDescriptor> &Ops); 26 void describeFuzzerFloatOps(std::vector<fuzzerop::OpDescriptor> &Ops); 27 void describeFuzzerControlFlowOps(std::vector<fuzzerop::OpDescriptor> &Ops); 28 void describeFuzzerPointerOps(std::vector<fuzzerop::OpDescriptor> &Ops); 29 void describeFuzzerAggregateOps(std::vector<fuzzerop::OpDescriptor> &Ops); 30 void describeFuzzerVectorOps(std::vector<fuzzerop::OpDescriptor> &Ops);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 809 static void GroupByComplexity(SmallVectorImpl<const SCEV *> &Ops, in GroupByComplexity() argument 811 if (Ops.size() < 2) return; // Noop in GroupByComplexity() 815 if (Ops.size() == 2) { in GroupByComplexity() 818 const SCEV *&LHS = Ops[0], *&RHS = Ops[1]; in GroupByComplexity() 825 llvm::stable_sort(Ops, [&](const SCEV *LHS, const SCEV *RHS) { in GroupByComplexity() 834 for (unsigned i = 0, e = Ops.size(); i != e-2; ++i) { in GroupByComplexity() 835 const SCEV *S = Ops[i]; in GroupByComplexity() 840 for (unsigned j = i+1; j != e && Ops[j]->getSCEVType() == Complexity; ++j) { in GroupByComplexity() 841 if (Ops[j] == S) { // Found a duplicate. in GroupByComplexity() 843 std::swap(Ops[i+1], Ops[j]); in GroupByComplexity() [all …]
|
D | ConstantFolding.cpp | 145 Constant *Ops = C; // don't take the address of C! in FoldBitCast() local 146 return FoldBitCast(ConstantVector::get(Ops), DestTy, DL); in FoldBitCast() 766 Constant *CastGEPIndices(Type *SrcElemTy, ArrayRef<Constant *> Ops, in CastGEPIndices() argument 774 for (unsigned i = 1, e = Ops.size(); i != e; ++i) { in CastGEPIndices() 777 SrcElemTy, Ops.slice(1, i - 1)))) && in CastGEPIndices() 778 Ops[i]->getType()->getScalarType() != IntIdxScalarTy) { in CastGEPIndices() 780 Type *NewType = Ops[i]->getType()->isVectorTy() in CastGEPIndices() 783 NewIdxs.push_back(ConstantExpr::getCast(CastInst::getCastOpcode(Ops[i], in CastGEPIndices() 787 Ops[i], NewType)); in CastGEPIndices() 789 NewIdxs.push_back(Ops[i]); in CastGEPIndices() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 342 Value *Ops[3]; in LowerIntrinsicCall() local 343 Ops[0] = CI->getArgOperand(0); in LowerIntrinsicCall() 344 Ops[1] = CI->getArgOperand(1); in LowerIntrinsicCall() 345 Ops[2] = Size; in LowerIntrinsicCall() 346 ReplaceCallWith("memcpy", CI, Ops, Ops+3, CI->getArgOperand(0)->getType()); in LowerIntrinsicCall() 353 Value *Ops[3]; in LowerIntrinsicCall() local 354 Ops[0] = CI->getArgOperand(0); in LowerIntrinsicCall() 355 Ops[1] = CI->getArgOperand(1); in LowerIntrinsicCall() 356 Ops[2] = Size; in LowerIntrinsicCall() 357 ReplaceCallWith("memmove", CI, Ops, Ops+3, CI->getArgOperand(0)->getType()); in LowerIntrinsicCall() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | StatepointLowering.cpp | 64 static void pushStackMapConstant(SmallVectorImpl<SDValue>& Ops, in pushStackMapConstant() argument 67 Ops.push_back(Builder.DAG.getTargetConstant(StackMaps::ConstantOp, L, in pushStackMapConstant() 69 Ops.push_back(Builder.DAG.getTargetConstant(Value, L, MVT::i64)); in pushStackMapConstant() 416 SmallVectorImpl<SDValue> &Ops, in lowerIncomingStatepointValue() argument 431 pushStackMapConstant(Ops, Builder, C->getSExtValue()); in lowerIncomingStatepointValue() 438 Ops.push_back(Builder.DAG.getTargetFrameIndex(FI->getIndex(), in lowerIncomingStatepointValue() 452 Ops.push_back(Incoming); in lowerIncomingStatepointValue() 461 Ops.push_back(std::get<0>(Res)); in lowerIncomingStatepointValue() 478 lowerStatepointMetaArgs(SmallVectorImpl<SDValue> &Ops, in lowerStatepointMetaArgs() argument 547 pushStackMapConstant(Ops, Builder, NumVMSArgs); in lowerStatepointMetaArgs() [all …]
|
D | SelectionDAG.cpp | 463 ArrayRef<SDValue> Ops) { in AddNodeIDOperands() argument 464 for (auto& Op : Ops) { in AddNodeIDOperands() 472 ArrayRef<SDUse> Ops) { in AddNodeIDOperands() argument 473 for (auto& Op : Ops) { in AddNodeIDOperands() 955 SDValue Ops[] = { Op }; in FindModifiedNodeSlot() local 957 AddNodeIDNode(ID, N->getOpcode(), N->getVTList(), Ops); in FindModifiedNodeSlot() 975 SDValue Ops[] = { Op1, Op2 }; in FindModifiedNodeSlot() local 977 AddNodeIDNode(ID, N->getOpcode(), N->getVTList(), Ops); in FindModifiedNodeSlot() 989 SDNode *SelectionDAG::FindModifiedNodeSlot(SDNode *N, ArrayRef<SDValue> Ops, in FindModifiedNodeSlot() argument 995 AddNodeIDNode(ID, N->getOpcode(), N->getVTList(), Ops); in FindModifiedNodeSlot() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyCallIndirectFixup.cpp | 120 SmallVector<MachineOperand, 8> Ops; in runOnMachineFunction() local 123 Ops.push_back(MachineOperand::CreateImm(0)); in runOnMachineFunction() 127 Ops.push_back(MachineOperand::CreateImm(0)); in runOnMachineFunction() 132 Ops.push_back(MO); in runOnMachineFunction() 133 Ops.push_back(MI.getOperand(MI.getDesc().getNumDefs())); in runOnMachineFunction() 138 for (const MachineOperand &MO : Ops) in runOnMachineFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | SelectionDAG.h | 715 SDValue Ops[] = { Chain, getRegister(Reg, N.getValueType()), N, Glue }; 717 makeArrayRef(Ops, Glue.getNode() ? 4 : 3)); 724 SDValue Ops[] = { Chain, Reg, N, Glue }; 726 makeArrayRef(Ops, Glue.getNode() ? 4 : 3)); 731 SDValue Ops[] = { Chain, getRegister(Reg, VT) }; 732 return getNode(ISD::CopyFromReg, dl, VTs, Ops); 741 SDValue Ops[] = { Chain, getRegister(Reg, VT), Glue }; 743 makeArrayRef(Ops, Glue.getNode() ? 3 : 2)); 758 SDValue getBuildVector(EVT VT, const SDLoc &DL, ArrayRef<SDValue> Ops) { 760 return getNode(ISD::BUILD_VECTOR, DL, VT, Ops); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | PoisonChecking.cpp | 92 static Value *buildOrChain(IRBuilder<> &B, ArrayRef<Value*> Ops) { in buildOrChain() argument 93 if (Ops.size() == 0) in buildOrChain() 96 for (; i < Ops.size() && isConstantFalse(Ops[i]); i++) {} in buildOrChain() 97 if (i == Ops.size()) in buildOrChain() 99 Value *Accum = Ops[i++]; in buildOrChain() 100 for (; i < Ops.size(); i++) in buildOrChain() 101 if (!isConstantFalse(Ops[i])) in buildOrChain() 102 Accum = B.CreateOr(Accum, Ops[i]); in buildOrChain()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelDAGToDAG.cpp | 437 SDValue Ops[] = { in matchLoadD16FromBuildVector() local 451 Ops, LdHi->getMemoryVT(), in matchLoadD16FromBuildVector() 479 SDValue Ops[] = { in matchLoadD16FromBuildVector() local 485 Ops, LdLo->getMemoryVT(), in matchLoadD16FromBuildVector() 609 SmallVector <SDValue, 8> Ops; in glueCopyToOp() local 610 Ops.push_back(NewChain); // Replace the chain. in glueCopyToOp() 612 Ops.push_back(N->getOperand(i)); in glueCopyToOp() 614 Ops.push_back(Glue); in glueCopyToOp() 615 return CurDAG->MorphNodeTo(N, N->getOpcode(), N->getVTList(), Ops); in glueCopyToOp() 650 const SDValue Ops[] = { in buildSMovImm64() local [all …]
|