| /freebsd-14.2/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | Operations.cpp | 71 std::vector<fuzzerop::OpDescriptor> &Ops) { in describeFuzzerUnaryOperations() argument 72 Ops.push_back(fnegDescriptor(1)); in describeFuzzerUnaryOperations() 76 std::vector<fuzzerop::OpDescriptor> &Ops) { in describeFuzzerControlFlowOps() argument 77 Ops.push_back(splitBlockDescriptor(1)); in describeFuzzerControlFlowOps() 81 Ops.push_back(selectDescriptor(1)); in describeFuzzerOtherOps() 85 Ops.push_back(gepDescriptor(1)); in describeFuzzerPointerOps() 90 Ops.push_back(extractValueDescriptor(1)); in describeFuzzerAggregateOps() 91 Ops.push_back(insertValueDescriptor(1)); in describeFuzzerAggregateOps() 95 Ops.push_back(extractElementDescriptor(1)); in describeFuzzerVectorOps() 96 Ops.push_back(insertElementDescriptor(1)); in describeFuzzerVectorOps() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | MDBuilder.cpp | 63 SmallVector<Metadata *, 8> Ops; in createFunctionEntryCount() local 101 SmallVector<Metadata *, 4> Ops; in createCallees() local 110 SmallVector<Metadata *, 4> Ops; in createCallbackEncoding() local 134 SmallVector<Metadata *, 4> Ops; in mergeCallbackEncodings() local 136 Ops.resize(NumExistingOps + 1); in mergeCallbackEncodings() 149 Ops[NumExistingOps] = NewCB; in mergeCallbackEncodings() 243 Ops[0] = createString(Name); in createTBAAStructTypeNode() 278 Ops[0] = Parent; in createTBAATypeNode() 280 Ops[2] = Id; in createTBAATypeNode() 344 Ops[2] = createString(FName); in createPseudoProbeDesc() [all …]
|
| H A D | DebugInfoMetadata.cpp | 563 Ops) {} in DIGenericSubrange() 779 Ops); in getImpl() 1136 Ops.pop_back(); in getImpl() 1152 Ops.size()); in getImpl() 1777 SmallVector<uint64_t, 8> NewOps(Ops.begin(), Ops.end()); in appendOpsToArg() 1794 NewOps.insert(NewOps.end(), Ops.begin(), Ops.end()); in appendOpsToArg() 1838 if (Ops.empty()) in prependOpcodes() 1867 NewOps.append(Ops.begin(), Ops.end()); in append() 1875 NewOps.append(Ops.begin(), Ops.end()); in append() 1908 NewOps.append(Ops.begin(), Ops.end()); in appendToStack() [all …]
|
| H A D | ConstantsContext.h | 428 SubclassData(SubclassData), Ops(Ops), ShuffleMask(ShuffleMask), 448 Ops = Storage; 453 SubclassOptionalData == X.SubclassOptionalData && Ops == X.Ops && 479 hash_combine_range(Ops.begin(), Ops.end()), 492 return new BinaryConstantExpr(Opcode, Ops[0], Ops[1], 496 return new ExtractElementConstantExpr(Ops[0], Ops[1]); 498 return new InsertElementConstantExpr(Ops[0], Ops[1], Ops[2]); 500 return new ShuffleVectorConstantExpr(Ops[0], Ops[1], ShuffleMask); 502 return GetElementPtrConstantExpr::Create(ExplicitTy, Ops[0], Ops.slice(1), 506 Ops[0], Ops[1]); [all …]
|
| H A D | IRBuilder.cpp | 411 Value *Ops[] = {Src}; in getReductionIntrinsic() local 414 return CreateCall(Decl, Ops); in getReductionIntrinsic() 419 Value *Ops[] = {Acc, Src}; in CreateFAddReduce() local 422 return CreateCall(Decl, Ops); in CreateFAddReduce() 427 Value *Ops[] = {Acc, Src}; in CreateFMulReduce() local 430 return CreateCall(Decl, Ops); in CreateFMulReduce() 489 Value *Ops[] = { Size, Ptr }; in CreateLifetimeStart() local 504 Value *Ops[] = { Size, Ptr }; in CreateLifetimeEnd() local 521 Value *Ops[] = {Size, Ptr}; in CreateInvariantStart() local 556 Value *Ops[] = { Cond }; in CreateAssumption() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Reassociate.cpp | 1296 if (i+1 != Ops.size() && Ops[i+1].Op == Ops[i].Op) { in OptimizeAndOrXor() 1299 Ops.erase(Ops.begin()+i); in OptimizeAndOrXor() 1311 Ops.erase(Ops.begin()+i, Ops.begin()+i+2); in OptimizeAndOrXor() 1591 Ops.erase(Ops.begin()+i); in OptimizeAdd() 1643 Ops.erase(Ops.begin()+i); in OptimizeAdd() 1648 Ops.erase(Ops.begin()+FoundX); in OptimizeAdd() 1756 Ops.erase(Ops.begin()+j); in OptimizeAdd() 1849 Ops.erase(Ops.begin()+Idx, Ops.begin()+Idx+Count); in collectMultiplyFactors() 2414 Ops.insert(Ops.begin(), Tmp); in ReassociateExpression() 2421 Ops.insert(Ops.begin(), Tmp); in ReassociateExpression() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | riscv_vector.td | 62 std::rotate(Ops.begin(), Ops.begin() + 1, Ops.end() - 1); 73 Ops.erase(Ops.begin() + 2); 147 std::swap(Ops[0], Ops[2]); 150 std::swap(Ops[0], Ops[1]); 185 std::swap(Ops[0], Ops[3]); 188 std::rotate(Ops.begin(), Ops.begin() + 2, Ops.begin() + 3); 210 std::swap(Ops[0], Ops[3]); 450 Ops.insert(Ops.begin() + 1, Ops[0]); 469 Ops.insert(Ops.begin() + 2, Ops[1]); 481 Ops.insert(Ops.begin() + 2, Ops[1]); [all …]
|
| H A D | riscv_sifive_vector.td | 171 (HasMaskedOff ? Ops.size() == 6 : Ops.size() == 5) : 172 (HasMaskedOff ? Ops.size() == 5 : Ops.size() == 4); 180 Operands.push_back(Ops[IsMasked ? 1 : 0]); 182 Operands.push_back(Ops[Offset]); // op0 183 Operands.push_back(Ops[Offset + 1]); // op1 186 Operands.push_back(Ops[0]); // mask 189 Operands.push_back(Ops[Offset + 2]); // frm 190 Operands.push_back(Ops[Offset + 3]); // vl 192 Operands.push_back(ConstantInt::get(Ops[Offset + 2]->getType(), 7)); // frm 193 Operands.push_back(Ops[Offset + 2]); // vl [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBuiltin.cpp | 7466 Ops[0] = Builder.CreateXor(Ops[0], Ops[1]); in EmitCommonNeonBuiltinExpr() 7681 {Ops[1], Ops[2], Ops[0]}); in EmitCommonNeonBuiltinExpr() 7967 Ops[0] = Builder.CreateAnd(Ops[0], Ops[1]); in EmitCommonNeonBuiltinExpr() 9639 Ops.insert(Ops.begin(), Ops.pop_back_val()); in EmitSVEScatterStore() 11745 Ops[0] = Builder.CreateAnd(Ops[0], Ops[1]); in EmitAArch64BuiltinExpr() 12133 DoubleTy, {Ops[1], Ops[2], Ops[0]}); in EmitAArch64BuiltinExpr() 12148 {Ops[2], Ops[1], Ops[0]}); in EmitAArch64BuiltinExpr() 12158 {Ops[2], Ops[1], Ops[0]}); in EmitAArch64BuiltinExpr() 12171 {Ops[1], Ops[2], Ops[0]}); in EmitAArch64BuiltinExpr() 13764 {Ops[0], Ops[1], Ops[2], Ops[4]}); in EmitScalarFMAExpr() [all …]
|
| H A D | CGExprScalar.cpp | 726 return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul() 752 return MB.CreateScalarMultiply(Ops.LHS, Ops.RHS); in EmitMul() 763 return Builder.CreateFMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul() 767 return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul() 790 return Builder.CreateAnd(Ops.LHS, Ops.RHS, "and"); in EmitAnd() 793 return Builder.CreateXor(Ops.LHS, Ops.RHS, "xor"); in EmitXor() 796 return Builder.CreateOr(Ops.LHS, Ops.RHS, "or"); in EmitOr() 3470 return MB.CreateScalarDiv(Ops.LHS, Ops.RHS, in EmitDiv() 3477 Val = Builder.CreateFDiv(Ops.LHS, Ops.RHS, "div"); in EmitDiv() 3484 return Builder.CreateUDiv(Ops.LHS, Ops.RHS, "div"); in EmitDiv() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A 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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/FuzzMutate/ |
| H A 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); 31 void describeFuzzerUnaryOperations(std::vector<fuzzerop::OpDescriptor> &Ops); 32 void describeFuzzerOtherOps(std::vector<fuzzerop::OpDescriptor> &Ops);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelDAGToDAG.cpp | 2387 Ops.push_back(Align); in SelectVST() 2396 Ops.push_back(Pred); in SelectVST() 2397 Ops.push_back(Reg0); in SelectVST() 2506 Ops.push_back(Pred); in SelectVLDSTLane() 2507 Ops.push_back(Reg0); in SelectVLDSTLane() 3050 Ops.push_back(Pred); in SelectVLDDup() 3051 Ops.push_back(Reg0); in SelectVLDDup() 5498 if (!Ops.empty()) { in tryReadRegister() 5613 if (!Ops.empty()) { in tryWriteRegister() 5621 Ops.insert(Ops.begin()+2, N->getOperand(2)); in tryWriteRegister() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreISelDAGToDAG.cpp | 171 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local 174 MVT::i32, Ops)); in Select() 178 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local 181 MVT::i32, Ops)); in Select() 185 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local 188 MVT::i32, Ops)); in Select() 192 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local 199 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local 231 SmallVector<SDValue, 8> Ops; in replaceInChain() local 235 Ops.push_back(New); in replaceInChain() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/ |
| H A D | AArch64BaseInfo.cpp | 154 SmallVector<StringRef, 5> Ops; in parseGenericRegister() local 155 if (!GenericRegPattern.match(UpperName, &Ops)) in parseGenericRegister() 160 Ops[1].getAsInteger(10, Op0); in parseGenericRegister() 161 Ops[2].getAsInteger(10, Op1); in parseGenericRegister() 162 Ops[3].getAsInteger(10, CRn); in parseGenericRegister() 163 Ops[4].getAsInteger(10, CRm); in parseGenericRegister() 164 Ops[5].getAsInteger(10, Op2); in parseGenericRegister()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 2545 Ops.erase(Ops.begin()); in getAddExpr() 2586 Ops.erase(Ops.begin()+i+1, Ops.begin()+i+Count); in getAddExpr() 2727 Ops.erase(Ops.begin()+Idx); in getAddExpr() 2880 Ops.erase(Ops.begin()+i); in getAddExpr() 3142 Ops.erase(Ops.begin()); in getMulExpr() 3236 Ops.erase(Ops.begin()+Idx); in getMulExpr() 3263 Ops.erase(Ops.begin()+i); in getMulExpr() 3892 Ops.erase(Ops.begin()); in getMinMaxExpr() 3932 if (Ops[i] == Ops[i + 1] || in getMinMaxExpr() 3936 Ops.erase(Ops.begin() + i + 1, Ops.begin() + i + 2); in getMinMaxExpr() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | IntrinsicLowering.cpp | 340 Value *Ops[3]; in LowerIntrinsicCall() local 341 Ops[0] = CI->getArgOperand(0); in LowerIntrinsicCall() 343 Ops[2] = Size; in LowerIntrinsicCall() 344 ReplaceCallWith("memcpy", CI, Ops, Ops+3, CI->getArgOperand(0)->getType()); in LowerIntrinsicCall() 351 Value *Ops[3]; in LowerIntrinsicCall() local 354 Ops[2] = Size; in LowerIntrinsicCall() 355 ReplaceCallWith("memmove", CI, Ops, Ops+3, CI->getArgOperand(0)->getType()); in LowerIntrinsicCall() 363 Value *Ops[3]; in LowerIntrinsicCall() local 364 Ops[0] = Op0; in LowerIntrinsicCall() 369 Ops[2] = Size; in LowerIntrinsicCall() [all …]
|
| H A D | CodeGenCommonISel.cpp | 219 SmallVectorImpl<uint64_t> &Ops) { in getSalvageOpsForTrunc() argument 232 Ops.append(ExtOps.begin(), ExtOps.end()); in getSalvageOpsForTrunc() 238 SmallVectorImpl<uint64_t> &Ops) { in salvageDebugInfoImpl() argument 241 return getSalvageOpsForTrunc(MRI, MI, Ops); in salvageDebugInfoImpl() 276 SmallVector<uint64_t, 16> Ops; in salvageDebugInfoForDbgValue() local 277 auto Op0 = salvageDebugInfoImpl(MRI, MI, Ops); in salvageDebugInfoForDbgValue() 280 SalvagedExpr = DIExpression::appendOpsToArg(SalvagedExpr, Ops, 0, true); in salvageDebugInfoForDbgValue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineNegator.cpp | 120 std::swap(Ops[0], Ops[1]); in getSortedOperandsOfBinOp() 121 return Ops; in getSortedOperandsOfBinOp() 169 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I); in visitImpl() local 171 if (match(Ops[1], m_One())) in visitImpl() 172 return Builder.CreateNot(Ops[0], I->getName() + ".neg"); in visitImpl() 404 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I); in visitImpl() local 407 if (match(Ops[1], m_One())) in visitImpl() 442 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I); in visitImpl() local 445 if (auto *C = dyn_cast<Constant>(Ops[1])) { in visitImpl() 462 OtherOp = Ops[0]; in visitImpl() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | StatepointLowering.cpp | 480 Ops.push_back(Incoming); in lowerIncomingStatepointValue() 489 Ops.push_back(std::get<0>(Res)); in lowerIncomingStatepointValue() 696 Ops.push_back( in lowerStatepointMetaArgs() 700 Ops.push_back( in lowerStatepointMetaArgs() 799 SmallVector<SDValue, 40> Ops; in LowerAsSTATEPOINT() local 803 Ops.push_back( in LowerAsSTATEPOINT() 814 Ops.push_back(CallTarget); in LowerAsSTATEPOINT() 823 Ops.insert(Ops.end(), CallNode->op_begin() + 2, RegMaskIt); in LowerAsSTATEPOINT() 838 Ops.push_back(*RegMaskIt); in LowerAsSTATEPOINT() 841 Ops.push_back(Chain); in LowerAsSTATEPOINT() [all …]
|
| H A D | SelectionDAG.cpp | 9693 case 2: return getNode(Opcode, DL, VT, Ops[0], Ops[1]); in getNode() 9694 case 3: return getNode(Opcode, DL, VT, Ops[0], Ops[1], Ops[2]); in getNode() 9700 SmallVector<SDValue, 8> NewOps(Ops.begin(), Ops.end()); in getNode() 9718 case 2: return getNode(Opcode, DL, VT, Ops[0], Ops[1], Flags); in getNode() 9719 case 3: return getNode(Opcode, DL, VT, Ops[0], Ops[1], Ops[2], Flags); in getNode() 9742 assert(Ops[0].getValueType() == Ops[1].getValueType() && in getNode() 9744 assert(Ops[2].getValueType() == Ops[3].getValueType() && in getNode() 9756 assert(Ops[2].getValueType() == Ops[3].getValueType() && in getNode() 9856 Ops[0].getValueType() == Ops[1].getValueType() && in getNode() 9859 SDValue N1 = Ops[0], N2 = Ops[1]; in getNode() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86PartialReduction.cpp | 305 SmallVector<Value *, 4> Ops(NumSplits); in trySADReplacement() local 311 Ops[i] = Builder.CreateCall(PSADBWFn, {ExtractOp0, ExtractOp1}); in trySADReplacement() 312 Ops[i] = Builder.CreateBitCast(Ops[i], I32Ty); in trySADReplacement() 319 cast<FixedVectorType>(Ops[0]->getType())->getNumElements() * 2; in trySADReplacement() 323 Ops[i] = Builder.CreateShuffleVector(Ops[i*2], Ops[i*2+1], ConcatMask); in trySADReplacement() 332 Ops[0] = Builder.CreateShuffleVector(Ops[0], Ops[0], ArrayRef<int>{0, 1}); in trySADReplacement() 336 cast<FixedVectorType>(Ops[0]->getType())->getNumElements(); in trySADReplacement() 342 Value *Zero = Constant::getNullValue(Ops[0]->getType()); in trySADReplacement() 343 Ops[0] = Builder.CreateShuffleVector(Ops[0], Zero, ConcatMask); in trySADReplacement() 346 Op->replaceAllUsesWith(Ops[0]); in trySADReplacement()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
| H A D | Reassociate.h | 105 SmallVectorImpl<reassociate::ValueEntry> &Ops, 108 SmallVectorImpl<reassociate::ValueEntry> &Ops); 110 SmallVectorImpl<reassociate::ValueEntry> &Ops); 112 SmallVectorImpl<reassociate::ValueEntry> &Ops); 121 SmallVectorImpl<reassociate::ValueEntry> &Ops);
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | CSEMIRBuilder.h | 58 void profileDstOps(ArrayRef<DstOp> Ops, GISelInstProfileBuilder &B) const { in profileDstOps() argument 59 for (const DstOp &Op : Ops) in profileDstOps() 65 void profileSrcOps(ArrayRef<SrcOp> Ops, GISelInstProfileBuilder &B) const { in profileSrcOps() argument 66 for (const SrcOp &Op : Ops) in profileSrcOps()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 792 SDValue Ops[] = { Chain, Reg, N, Glue }; 1065 SDValue Ops[] = { Chain, 1077 SmallVector<SDValue, 4> Ops; 1078 Ops.push_back(Chain); 1079 Ops.push_back(Op1); 1080 Ops.push_back(Op2); 1082 Ops.push_back(InGlue); 1116 ArrayRef<SDUse> Ops); 1120 ArrayRef<SDValue> Ops); 1126 ArrayRef<SDValue> Ops); [all …]
|