| /freebsd-12.1/contrib/llvm/lib/FuzzMutate/ |
| H A D | Operations.cpp | 20 Ops.push_back(binOpDescriptor(1, Instruction::Add)); in describeFuzzerIntOps() 21 Ops.push_back(binOpDescriptor(1, Instruction::Sub)); in describeFuzzerIntOps() 72 std::vector<fuzzerop::OpDescriptor> &Ops) { in describeFuzzerControlFlowOps() argument 73 Ops.push_back(splitBlockDescriptor(1)); in describeFuzzerControlFlowOps() 77 Ops.push_back(gepDescriptor(1)); in describeFuzzerPointerOps() 81 std::vector<fuzzerop::OpDescriptor> &Ops) { in describeFuzzerAggregateOps() argument 82 Ops.push_back(extractValueDescriptor(1)); in describeFuzzerAggregateOps() 83 Ops.push_back(insertValueDescriptor(1)); in describeFuzzerAggregateOps() 87 Ops.push_back(extractElementDescriptor(1)); in describeFuzzerVectorOps() 88 Ops.push_back(insertElementDescriptor(1)); in describeFuzzerVectorOps() [all …]
|
| H A D | IRMutator.cpp | 86 std::vector<fuzzerop::OpDescriptor> Ops; in getDefaultOps() local 87 describeFuzzerIntOps(Ops); in getDefaultOps() 88 describeFuzzerFloatOps(Ops); in getDefaultOps() 89 describeFuzzerControlFlowOps(Ops); in getDefaultOps() 90 describeFuzzerPointerOps(Ops); in getDefaultOps() 91 describeFuzzerAggregateOps(Ops); in getDefaultOps() 92 describeFuzzerVectorOps(Ops); in getDefaultOps() 93 return Ops; in getDefaultOps()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGBuiltin.cpp | 5432 Ops[0] = Builder.CreateLShr(Ops[0], Ops[1]); in EmitCommonNeonBuiltinExpr() 5434 Ops[0] = Builder.CreateAShr(Ops[0], Ops[1]); in EmitCommonNeonBuiltinExpr() 5515 Ops[0] = Builder.CreateAnd(Ops[0], Ops[1]); in EmitCommonNeonBuiltinExpr() 7415 Ops[0] = Builder.CreateFCmp(P, Ops[0], Ops[1]); in EmitAArch64BuiltinExpr() 7493 Ops[0] = Builder.CreateAnd(Ops[0], Ops[1]); in EmitAArch64BuiltinExpr() 9422 {Ops[0], Ops[1], Ops[2], Ops[4]}); in EmitScalarFMAExpr() 10365 Ops[1] = Ops[0]; in EmitX86BuiltinExpr() 11125 Ops.erase(&Ops[2]); in EmitX86BuiltinExpr() 11179 Ops.erase(&Ops[2]); in EmitX86BuiltinExpr() 11580 Ops[0] = Builder.CreateGEP(Ops[1], Ops[0]); in EmitPPCBuiltinExpr() [all …]
|
| H A D | CGExprScalar.cpp | 684 return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul() 687 return Builder.CreateNSWMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul() 702 Value *V = Builder.CreateFMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul() 705 return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul() 723 return Builder.CreateAnd(Ops.LHS, Ops.RHS, "and"); in EmitAnd() 726 return Builder.CreateXor(Ops.LHS, Ops.RHS, "xor"); in EmitXor() 729 return Builder.CreateOr(Ops.LHS, Ops.RHS, "or"); in EmitOr() 2998 return Builder.CreateUDiv(Ops.LHS, Ops.RHS, "div"); in EmitDiv() 3000 return Builder.CreateSDiv(Ops.LHS, Ops.RHS, "div"); in EmitDiv() 3015 return Builder.CreateURem(Ops.LHS, Ops.RHS, "rem"); in EmitRem() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | Reassociate.cpp | 1126 if (i+1 != Ops.size() && Ops[i+1].Op == Ops[i].Op) { in OptimizeAndOrXor() 1129 Ops.erase(Ops.begin()+i); in OptimizeAndOrXor() 1141 Ops.erase(Ops.begin()+i, Ops.begin()+i+2); in OptimizeAndOrXor() 1424 Ops.erase(Ops.begin()+i); in OptimizeAdd() 1476 Ops.erase(Ops.begin()+i); in OptimizeAdd() 1481 Ops.erase(Ops.begin()+FoundX); in OptimizeAdd() 1590 Ops.erase(Ops.begin()+j); in OptimizeAdd() 1683 Ops.erase(Ops.begin()+Idx, Ops.begin()+Idx+Count); in collectMultiplyFactors() 2175 Ops.insert(Ops.begin(), Tmp); in ReassociateExpression() 2182 Ops.insert(Ops.begin(), Tmp); in ReassociateExpression() [all …]
|
| H A D | Float2Int.cpp | 247 Op = [I](ArrayRef<ConstantRange> Ops) { in walkForwards() argument 248 assert(Ops.size() == 2 && "its a binary operator!"); in walkForwards() 250 return Ops[0].binaryOp(BinOp, Ops[1]); in walkForwards() 260 Op = [I](ArrayRef<ConstantRange> Ops) { in walkForwards() argument 261 assert(Ops.size() == 1 && "FPTo[US]I is a unary operator!"); in walkForwards() 265 return Ops[0].castOp(CastOp, MaxIntegerBW+1); in walkForwards() 270 Op = [](ArrayRef<ConstantRange> Ops) { in walkForwards() argument 271 assert(Ops.size() == 2 && "FCmp is a binary operator!"); in walkForwards() 272 return Ops[0].unionWith(Ops[1]); in walkForwards()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | DebugInfoMetadata.cpp | 68 Ops.push_back(Scope); in getImpl() 429 assert((std::end(Ops) - std::begin(Ops)) == (int)CT->getNumOperands() && in buildODRType() 523 Metadata *Ops[] = { in getImpl() local 641 Ops.pop_back(); in getImpl() 643 Ops.pop_back(); in getImpl() 651 Ops.size()); in getImpl() 952 if (Ops.empty()) in prependOpcodes() 981 NewOps.append(Ops.begin(), Ops.end()); in append() 984 Ops = None; in append() 989 NewOps.append(Ops.begin(), Ops.end()); in append() [all …]
|
| H A D | ConstantsContext.h | 477 SubclassData(SubclassData), Ops(Ops), Indexes(Indexes), 495 Ops = Storage; 523 hash_combine_range(Ops.begin(), Ops.end()), 538 return new BinaryConstantExpr(Opcode, Ops[0], Ops[1], 542 return new SelectConstantExpr(Ops[0], Ops[1], Ops[2]); 544 return new ExtractElementConstantExpr(Ops[0], Ops[1]); 546 return new InsertElementConstantExpr(Ops[0], Ops[1], Ops[2]); 548 return new ShuffleVectorConstantExpr(Ops[0], Ops[1], Ops[2]); 558 Ops[0], Ops.slice(1), Ty, SubclassOptionalData); 561 Ops[0], Ops[1]); [all …]
|
| H A D | MDBuilder.cpp | 64 SmallVector<Metadata *, 8> Ops; in createFunctionEntryCount() local 78 return MDNode::get(Context, Ops); in createFunctionEntryCount() 104 SmallVector<Metadata *, 4> Ops; in createCallees() local 106 Ops.push_back(createConstant(F)); in createCallees() 107 return MDNode::get(Context, Ops); in createCallees() 175 Ops[0] = createString(Name); in createTBAAStructTypeNode() 180 return MDNode::get(Context, Ops); in createTBAAStructTypeNode() 210 Ops[0] = Parent; in createTBAATypeNode() 212 Ops[2] = Id; in createTBAATypeNode() 214 Ops[I * 3 + 3] = Fields[I].Type; in createTBAATypeNode() [all …]
|
| H A D | IRBuilder.cpp | 316 Value *Ops[] = {Src}; in getReductionIntrinsic() local 324 Value *Ops[] = {Acc, Src}; in CreateFAddReduce() local 329 return createCallHelper(Decl, Ops, this); in CreateFAddReduce() 334 Value *Ops[] = {Acc, Src}; in CreateFMulReduce() local 339 return createCallHelper(Decl, Ops, this); in CreateFMulReduce() 410 Value *Ops[] = { Size, Ptr }; in CreateLifetimeStart() local 414 return createCallHelper(TheFn, Ops, this); in CreateLifetimeStart() 426 Value *Ops[] = { Size, Ptr }; in CreateLifetimeEnd() local 430 return createCallHelper(TheFn, Ops, this); in CreateLifetimeEnd() 444 Value *Ops[] = {Size, Ptr}; in CreateInvariantStart() local [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMUnwindOpAsm.h | 28 SmallVector<uint8_t, 32> Ops; 39 Ops.clear(); in Reset() 64 Ops.insert(Ops.end(), Opcodes.begin(), Opcodes.end()); in EmitRaw() 74 Ops.push_back(Opcode & 0xff); in EmitInt8() 79 Ops.push_back((Opcode >> 8) & 0xff); in EmitInt16() 80 Ops.push_back(Opcode & 0xff); in EmitInt16() 85 Ops.insert(Ops.end(), Opcode, Opcode + Size); in EmitBytes()
|
| /freebsd-12.1/contrib/llvm/lib/Target/XCore/ |
| H A 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 191 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local 223 SmallVector<SDValue, 8> Ops; in replaceInChain() local 227 Ops.push_back(New); in replaceInChain() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMISelDAGToDAG.cpp | 2014 Ops.push_back(Align); in SelectVST() 2023 Ops.push_back(Pred); in SelectVST() 2024 Ops.push_back(Reg0); in SelectVST() 2025 Ops.push_back(Chain); in SelectVST() 2101 Ops.push_back(Align); in SelectVLDSTLane() 2129 Ops.push_back(Pred); in SelectVLDSTLane() 2130 Ops.push_back(Reg0); in SelectVLDSTLane() 3929 if (!Ops.empty()) { in tryReadRegister() 4044 if (!Ops.empty()) { in tryWriteRegister() 4052 Ops.insert(Ops.begin()+2, N->getOperand(2)); in tryWriteRegister() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/Utils/ |
| H A D | AArch64BaseInfo.cpp | 132 SmallVector<StringRef, 5> Ops; in parseGenericRegister() local 133 if (!GenericRegPattern.match(UpperName, &Ops)) in parseGenericRegister() 138 Ops[1].getAsInteger(10, Op0); in parseGenericRegister() 139 Ops[2].getAsInteger(10, Op1); in parseGenericRegister() 140 Ops[3].getAsInteger(10, CRn); in parseGenericRegister() 141 Ops[4].getAsInteger(10, CRm); in parseGenericRegister() 142 Ops[5].getAsInteger(10, Op2); in parseGenericRegister()
|
| /freebsd-12.1/contrib/llvm/include/llvm/FuzzMutate/ |
| H A D | Operations.h | 26 void describeFuzzerIntOps(std::vector<fuzzerop::OpDescriptor> &Ops); 27 void describeFuzzerFloatOps(std::vector<fuzzerop::OpDescriptor> &Ops); 28 void describeFuzzerControlFlowOps(std::vector<fuzzerop::OpDescriptor> &Ops); 29 void describeFuzzerPointerOps(std::vector<fuzzerop::OpDescriptor> &Ops); 30 void describeFuzzerAggregateOps(std::vector<fuzzerop::OpDescriptor> &Ops); 31 void describeFuzzerVectorOps(std::vector<fuzzerop::OpDescriptor> &Ops);
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 2400 Ops.erase(Ops.begin()); in getAddExpr() 2428 Ops.erase(Ops.begin()+i+1, Ops.begin()+i+Count); in getAddExpr() 2513 Ops.erase(Ops.begin()+Idx); in getAddExpr() 2923 Ops.erase(Ops.begin()); in getMulExpr() 3533 Ops.erase(Ops.begin()); in getSMaxExpr() 3568 if (Ops[i] == Ops[i+1] || in getSMaxExpr() 3570 Ops.erase(Ops.begin()+i+1, Ops.begin()+i+2); in getSMaxExpr() 3573 Ops.erase(Ops.begin()+i, Ops.begin()+i+1); in getSMaxExpr() 3635 Ops.erase(Ops.begin()); in getUMaxExpr() 3672 Ops.erase(Ops.begin() + i + 1, Ops.begin() + i + 2); in getUMaxExpr() [all …]
|
| H A D | ConstantFolding.cpp | 818 Constant *Ptr = Ops[0]; in SymbolicallyEvaluateGEP() 853 makeArrayRef((Value * const *)Ops.data() + 1, Ops.size() - 1))); in SymbolicallyEvaluateGEP() 1005 return ConstantFoldBinaryOpOperands(Opcode, Ops[0], Ops[1], DL); in ConstantFoldInstOperandsImpl() 1030 return ConstantFoldCall(CS, F, Ops.slice(0, Ops.size() - 1), TLI); in ConstantFoldInstOperandsImpl() 1034 return ConstantExpr::getSelect(Ops[0], Ops[1], Ops[2]); in ConstantFoldInstOperandsImpl() 1036 return ConstantExpr::getExtractElement(Ops[0], Ops[1]); in ConstantFoldInstOperandsImpl() 1038 return ConstantExpr::getInsertElement(Ops[0], Ops[1], Ops[2]); in ConstantFoldInstOperandsImpl() 1040 return ConstantExpr::getShuffleVector(Ops[0], Ops[1], Ops[2]); in ConstantFoldInstOperandsImpl() 1078 Ops.push_back(NewC); in ConstantFoldConstantImpl() 1140 Ops.push_back(Op); in ConstantFoldInstruction() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | StatepointLowering.cpp | 427 Ops.push_back(Incoming); in lowerIncomingStatepointValue() 436 Ops.push_back(Res.first); in lowerIncomingStatepointValue() 697 SmallVector<SDValue, 40> Ops; in LowerAsSTATEPOINT() local 701 Ops.push_back( in LowerAsSTATEPOINT() 712 Ops.push_back(CallTarget); in LowerAsSTATEPOINT() 721 Ops.insert(Ops.end(), CallNode->op_begin() + 2, RegMaskIt); in LowerAsSTATEPOINT() 730 pushStackMapConstant(Ops, *this, Flags); in LowerAsSTATEPOINT() 733 Ops.insert(Ops.end(), LoweredMetaArgs.begin(), LoweredMetaArgs.end()); in LowerAsSTATEPOINT() 736 Ops.push_back(*RegMaskIt); in LowerAsSTATEPOINT() 739 Ops.push_back(Chain); in LowerAsSTATEPOINT() [all …]
|
| H A D | SelectionDAG.cpp | 1239 Ops.insert(Ops.end(), EltParts.begin(), EltParts.end()); in getConstant() 4030 return Ops[0]; in FoldCONCAT_VECTORS() 7071 case 2: return getNode(Opcode, DL, VT, Ops[0], Ops[1]); in getNode() 7072 case 3: return getNode(Opcode, DL, VT, Ops[0], Ops[1], Ops[2]); in getNode() 7078 SmallVector<SDValue, 8> NewOps(Ops.begin(), Ops.end()); in getNode() 7088 case 2: return getNode(Opcode, DL, VT, Ops[0], Ops[1], Flags); in getNode() 7089 case 3: return getNode(Opcode, DL, VT, Ops[0], Ops[1], Ops[2], Flags); in getNode() 7107 assert(Ops[0].getValueType() == Ops[1].getValueType() && in getNode() 7109 assert(Ops[2].getValueType() == Ops[3].getValueType() && in getNode() 7116 assert(Ops[2].getValueType() == Ops[3].getValueType() && in getNode() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyCallIndirectFixup.cpp | 117 SmallVector<MachineOperand, 8> Ops; in runOnMachineFunction() local 120 Ops.push_back(MachineOperand::CreateImm(0)); in runOnMachineFunction() 124 Ops.push_back(MachineOperand::CreateImm(0)); in runOnMachineFunction() 129 Ops.push_back(MO); in runOnMachineFunction() 130 Ops.push_back(MI.getOperand(MI.getDesc().getNumDefs())); in runOnMachineFunction() 135 for (const MachineOperand &MO : Ops) in runOnMachineFunction()
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 827 SDValue Ops[] = { Chain, 839 SmallVector<SDValue, 4> Ops; 840 Ops.push_back(Chain); 841 Ops.push_back(Op1); 842 Ops.push_back(Op2); 844 Ops.push_back(InGlue); 864 ArrayRef<SDUse> Ops); 868 ArrayRef<SDValue> Ops); 1019 ArrayRef<SDValue> Ops, EVT MemVT, 1665 for (auto& Op : Ops) { [all …]
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | IntrinsicLowering.cpp | 481 Value *Ops[3]; in LowerIntrinsicCall() local 482 Ops[0] = CI->getArgOperand(0); in LowerIntrinsicCall() 484 Ops[2] = Size; in LowerIntrinsicCall() 485 ReplaceCallWith("memcpy", CI, Ops, Ops+3, CI->getArgOperand(0)->getType()); in LowerIntrinsicCall() 492 Value *Ops[3]; in LowerIntrinsicCall() local 495 Ops[2] = Size; in LowerIntrinsicCall() 496 ReplaceCallWith("memmove", CI, Ops, Ops+3, CI->getArgOperand(0)->getType()); in LowerIntrinsicCall() 504 Value *Ops[3]; in LowerIntrinsicCall() local 505 Ops[0] = Op0; in LowerIntrinsicCall() 510 Ops[2] = Size; in LowerIntrinsicCall() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/Transforms/Scalar/ |
| H A D | Reassociate.h | 99 SmallVectorImpl<reassociate::ValueEntry> &Ops); 101 SmallVectorImpl<reassociate::ValueEntry> &Ops); 103 SmallVectorImpl<reassociate::ValueEntry> &Ops); 105 SmallVectorImpl<reassociate::ValueEntry> &Ops); 114 SmallVectorImpl<reassociate::ValueEntry> &Ops);
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | CSEMIRBuilder.h | 59 void profileDstOps(ArrayRef<DstOp> Ops, GISelInstProfileBuilder &B) const { in profileDstOps() argument 60 for (const DstOp &Op : Ops) in profileDstOps() 66 void profileSrcOps(ArrayRef<SrcOp> Ops, GISelInstProfileBuilder &B) const { in profileSrcOps() argument 67 for (const SrcOp &Op : Ops) in profileSrcOps()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | SILowerControlFlow.cpp | 447 SmallVector<MachineOperand, 4> Ops; in combineMasks() local 449 findMaskOperands(MI, 1, Ops); in combineMasks() 450 if (Ops.size() == 1) OpToReplace = 2; // First operand can be exec or its copy in combineMasks() 451 findMaskOperands(MI, 2, Ops); in combineMasks() 452 if (Ops.size() != 3) return; in combineMasks() 455 if (Ops[0].isIdenticalTo(Ops[1])) UniqueOpndIdx = 2; in combineMasks() 456 else if (Ops[0].isIdenticalTo(Ops[2])) UniqueOpndIdx = 1; in combineMasks() 457 else if (Ops[1].isIdenticalTo(Ops[2])) UniqueOpndIdx = 1; in combineMasks() 462 MI.addOperand(Ops[UniqueOpndIdx]); in combineMasks()
|