Home
last modified time | relevance | path

Searched refs:Ops (Results 1 – 25 of 236) sorted by relevance

12345678910

/freebsd-13.1/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp19 Ops.push_back(binOpDescriptor(1, Instruction::Add)); in describeFuzzerIntOps()
20 Ops.push_back(binOpDescriptor(1, Instruction::Sub)); in describeFuzzerIntOps()
71 std::vector<fuzzerop::OpDescriptor> &Ops) { in describeFuzzerControlFlowOps() argument
72 Ops.push_back(splitBlockDescriptor(1)); in describeFuzzerControlFlowOps()
76 Ops.push_back(gepDescriptor(1)); in describeFuzzerPointerOps()
80 std::vector<fuzzerop::OpDescriptor> &Ops) { in describeFuzzerAggregateOps() argument
81 Ops.push_back(extractValueDescriptor(1)); in describeFuzzerAggregateOps()
82 Ops.push_back(insertValueDescriptor(1)); in describeFuzzerAggregateOps()
86 Ops.push_back(extractElementDescriptor(1)); in describeFuzzerVectorOps()
87 Ops.push_back(insertElementDescriptor(1)); in describeFuzzerVectorOps()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp6499 Ops[0] = Builder.CreateXor(Ops[0], Ops[1]); in EmitCommonNeonBuiltinExpr()
6706 {Ops[1], Ops[2], Ops[0]}); in EmitCommonNeonBuiltinExpr()
7003 Ops[0] = Builder.CreateAnd(Ops[0], Ops[1]); in EmitCommonNeonBuiltinExpr()
8627 Ops.insert(Ops.begin(), Ops.pop_back_val()); in EmitSVEScatterStore()
10167 Ops[0] = Builder.CreateAnd(Ops[0], Ops[1]); in EmitAArch64BuiltinExpr()
10557 DoubleTy, {Ops[1], Ops[2], Ops[0]}); in EmitAArch64BuiltinExpr()
10572 {Ops[2], Ops[1], Ops[0]}); in EmitAArch64BuiltinExpr()
10582 {Ops[2], Ops[1], Ops[0]}); in EmitAArch64BuiltinExpr()
10595 {Ops[1], Ops[2], Ops[0]}); in EmitAArch64BuiltinExpr()
12183 {Ops[0], Ops[1], Ops[2], Ops[4]}); in EmitScalarFMAExpr()
[all …]
H A DCGExprScalar.cpp716 return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul()
742 return MB.CreateScalarMultiply(Ops.LHS, Ops.RHS); in EmitMul()
753 return Builder.CreateFMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul()
757 return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul()
780 return Builder.CreateAnd(Ops.LHS, Ops.RHS, "and"); in EmitAnd()
783 return Builder.CreateXor(Ops.LHS, Ops.RHS, "xor"); in EmitXor()
786 return Builder.CreateOr(Ops.LHS, Ops.RHS, "or"); in EmitOr()
3217 return MB.CreateScalarDiv(Ops.LHS, Ops.RHS, in EmitDiv()
3224 Val = Builder.CreateFDiv(Ops.LHS, Ops.RHS, "div"); in EmitDiv()
3245 return Builder.CreateUDiv(Ops.LHS, Ops.RHS, "div"); in EmitDiv()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1252 if (i+1 != Ops.size() && Ops[i+1].Op == Ops[i].Op) { in OptimizeAndOrXor()
1255 Ops.erase(Ops.begin()+i); in OptimizeAndOrXor()
1267 Ops.erase(Ops.begin()+i, Ops.begin()+i+2); in OptimizeAndOrXor()
1549 Ops.erase(Ops.begin()+i); in OptimizeAdd()
1601 Ops.erase(Ops.begin()+i); in OptimizeAdd()
1606 Ops.erase(Ops.begin()+FoundX); in OptimizeAdd()
1715 Ops.erase(Ops.begin()+j); in OptimizeAdd()
1808 Ops.erase(Ops.begin()+Idx, Ops.begin()+Idx+Count); in collectMultiplyFactors()
2361 Ops.insert(Ops.begin(), Tmp); in ReassociateExpression()
2368 Ops.insert(Ops.begin(), Tmp); in ReassociateExpression()
[all …]
H A DFloat2Int.cpp256 Op = [](ArrayRef<ConstantRange> Ops) { in walkForwards() argument
257 assert(Ops.size() == 1 && "FNeg is a unary operator!"); in walkForwards()
258 unsigned Size = Ops[0].getBitWidth(); in walkForwards()
260 return Zero.sub(Ops[0]); in walkForwards()
267 Op = [I](ArrayRef<ConstantRange> Ops) { in walkForwards() argument
268 assert(Ops.size() == 2 && "its a binary operator!"); in walkForwards()
270 return Ops[0].binaryOp(BinOp, Ops[1]); in walkForwards()
280 Op = [I](ArrayRef<ConstantRange> Ops) { in walkForwards() argument
285 return Ops[0].castOp(CastOp, MaxIntegerBW+1); in walkForwards()
290 Op = [](ArrayRef<ConstantRange> Ops) { in walkForwards() argument
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A Driscv_vector.td566 std::rotate(Ops.begin(), Ops.begin() + 1, Ops.end() - 1);
614 std::rotate(Ops.begin(), Ops.begin() + 1, Ops.end() - 1);
693 std::swap(Ops[0], Ops[1]);
699 std::swap(Ops[0], Ops[2]);
1101 std::rotate(Ops.begin(), Ops.begin() + 1, Ops.end() - 1);
1110 std::rotate(Ops.begin(), Ops.begin() + 2, Ops.end() - 1);
1146 std::rotate(Ops.begin(), Ops.begin() + 2, Ops.end() - 1);
1155 std::rotate(Ops.begin(), Ops.begin() + 3, Ops.end() - 1);
1315 Ops.insert(Ops.begin() + 1, Ops[0]);
1332 Ops.insert(Ops.begin() + 1, Ops[0]);
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DMDBuilder.cpp63 SmallVector<Metadata *, 8> Ops; in createFunctionEntryCount() local
75 return MDNode::get(Context, Ops); in createFunctionEntryCount()
101 SmallVector<Metadata *, 4> Ops; in createCallees() local
104 return MDNode::get(Context, Ops); in createCallees()
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()
214 Ops[0] = createString(Name); in createTBAAStructTypeNode()
249 Ops[0] = Parent; in createTBAATypeNode()
[all …]
H A DDebugInfoMetadata.cpp77 Ops.push_back(Scope); in getImpl()
877 Ops.pop_back(); in getImpl()
887 Ops.size()); in getImpl()
1311 SmallVector<uint64_t, 8> NewOps(Ops.begin(), Ops.end()); in appendOpsToArg()
1319 NewOps.insert(NewOps.end(), Ops.begin(), Ops.end()); in appendOpsToArg()
1362 if (Ops.empty()) in prependOpcodes()
1391 NewOps.append(Ops.begin(), Ops.end()); in append()
1394 Ops = None; in append()
1399 NewOps.append(Ops.begin(), Ops.end()); in append()
1432 NewOps.append(Ops.begin(), Ops.end()); in appendToStack()
[all …]
H A DConstantsContext.h540 SubclassData(SubclassData), Ops(Ops), Indexes(Indexes),
560 Ops = Storage;
594 hash_combine_range(Ops.begin(), Ops.end()),
610 return new BinaryConstantExpr(Opcode, Ops[0], Ops[1],
614 return new SelectConstantExpr(Ops[0], Ops[1], Ops[2]);
616 return new ExtractElementConstantExpr(Ops[0], Ops[1]);
618 return new InsertElementConstantExpr(Ops[0], Ops[1], Ops[2]);
620 return new ShuffleVectorConstantExpr(Ops[0], Ops[1], ShuffleMask);
622 return new InsertValueConstantExpr(Ops[0], Ops[1], Indexes, Ty);
630 Ops[0], Ops[1]);
[all …]
H A DIRBuilder.cpp362 Value *Ops[] = {Src}; in getReductionIntrinsic() local
370 Value *Ops[] = {Acc, Src}; in CreateFAddReduce() local
373 return createCallHelper(Decl, Ops, this); in CreateFAddReduce()
378 Value *Ops[] = {Acc, Src}; in CreateFMulReduce() local
381 return createCallHelper(Decl, Ops, this); in CreateFMulReduce()
433 Value *Ops[] = { Size, Ptr }; in CreateLifetimeStart() local
437 return createCallHelper(TheFn, Ops, this); in CreateLifetimeStart()
449 Value *Ops[] = { Size, Ptr }; in CreateLifetimeEnd() local
467 Value *Ops[] = {Size, Ptr}; in CreateInvariantStart() local
482 Value *Ops[] = { Cond }; in CreateAssumption() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMUnwindOpAsm.h27 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-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp2379 Ops.push_back(Align); in SelectVST()
2388 Ops.push_back(Pred); in SelectVST()
2389 Ops.push_back(Reg0); in SelectVST()
2499 Ops.push_back(Pred); in SelectVLDSTLane()
2500 Ops.push_back(Reg0); in SelectVLDSTLane()
3042 Ops.push_back(Pred); in SelectVLDDup()
3043 Ops.push_back(Reg0); in SelectVLDDup()
5510 if (!Ops.empty()) { in tryReadRegister()
5625 if (!Ops.empty()) { in tryWriteRegister()
5633 Ops.insert(Ops.begin()+2, N->getOperand(2)); in tryWriteRegister()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreISelDAGToDAG.cpp163 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-13.1/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DOperations.h25 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);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/
H A DAArch64BaseInfo.cpp138 SmallVector<StringRef, 5> Ops; in parseGenericRegister() local
139 if (!GenericRegPattern.match(UpperName, &Ops)) in parseGenericRegister()
144 Ops[1].getAsInteger(10, Op0); in parseGenericRegister()
145 Ops[2].getAsInteger(10, Op1); in parseGenericRegister()
146 Ops[3].getAsInteger(10, CRn); in parseGenericRegister()
147 Ops[4].getAsInteger(10, CRm); in parseGenericRegister()
148 Ops[5].getAsInteger(10, Op2); in parseGenericRegister()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp127 std::swap(Ops[0], Ops[1]); in getSortedOperandsOfBinOp()
128 return Ops; in getSortedOperandsOfBinOp()
176 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I); in visitImpl() local
178 if (match(Ops[1], m_One())) in visitImpl()
179 return Builder.CreateNot(Ops[0], I->getName() + ".neg"); in visitImpl()
371 if (match(Ops[1], m_One())) in visitImpl()
409 if (auto *C = dyn_cast<Constant>(Ops[1])) { in visitImpl()
422 if (Value *NegOp1 = negate(Ops[1], Depth + 1)) { in visitImpl()
424 OtherOp = Ops[0]; in visitImpl()
425 } else if (Value *NegOp0 = negate(Ops[0], Depth + 1)) { in visitImpl()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp340 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 …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp254 SmallVector<Value *, 4> Ops(NumSplits); in trySADReplacement() local
260 Ops[i] = Builder.CreateCall(PSADBWFn, {ExtractOp0, ExtractOp1}); in trySADReplacement()
261 Ops[i] = Builder.CreateBitCast(Ops[i], I32Ty); in trySADReplacement()
268 cast<FixedVectorType>(Ops[0]->getType())->getNumElements() * 2; in trySADReplacement()
272 Ops[i] = Builder.CreateShuffleVector(Ops[i*2], Ops[i*2+1], ConcatMask); in trySADReplacement()
281 Ops[0] = Builder.CreateShuffleVector(Ops[0], Ops[0], ArrayRef<int>{0, 1}); in trySADReplacement()
285 cast<FixedVectorType>(Ops[0]->getType())->getNumElements(); in trySADReplacement()
291 Value *Zero = Constant::getNullValue(Ops[0]->getType()); in trySADReplacement()
292 Ops[0] = Builder.CreateShuffleVector(Ops[0], Zero, ConcatMask); in trySADReplacement()
295 SI->replaceAllUsesWith(Ops[0]); in trySADReplacement()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.cpp473 Ops.push_back(Incoming); in lowerIncomingStatepointValue()
482 Ops.push_back(std::get<0>(Res)); in lowerIncomingStatepointValue()
716 Ops.push_back( in lowerStatepointMetaArgs()
720 Ops.push_back( in lowerStatepointMetaArgs()
817 SmallVector<SDValue, 40> Ops; in LowerAsSTATEPOINT() local
821 Ops.push_back( in LowerAsSTATEPOINT()
832 Ops.push_back(CallTarget); in LowerAsSTATEPOINT()
841 Ops.insert(Ops.end(), CallNode->op_begin() + 2, RegMaskIt); in LowerAsSTATEPOINT()
856 Ops.push_back(*RegMaskIt); in LowerAsSTATEPOINT()
859 Ops.push_back(Chain); in LowerAsSTATEPOINT()
[all …]
H A DSelectionDAG.cpp4549 return Ops[0]; in foldCONCAT_VECTORS()
7194 return Ops[0]; in getMergeValues()
7917 case 2: return getNode(Opcode, DL, VT, Ops[0], Ops[1]); in getNode()
7918 case 3: return getNode(Opcode, DL, VT, Ops[0], Ops[1], Ops[2]); in getNode()
7924 SmallVector<SDValue, 8> NewOps(Ops.begin(), Ops.end()); in getNode()
7942 case 2: return getNode(Opcode, DL, VT, Ops[0], Ops[1], Flags); in getNode()
7943 case 3: return getNode(Opcode, DL, VT, Ops[0], Ops[1], Ops[2], Flags); in getNode()
7966 assert(Ops[0].getValueType() == Ops[1].getValueType() && in getNode()
7968 assert(Ops[2].getValueType() == Ops[3].getValueType() && in getNode()
7975 assert(Ops[2].getValueType() == Ops[3].getValueType() && in getNode()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp2436 Ops.erase(Ops.begin()); in getAddExpr()
2477 Ops.erase(Ops.begin()+i+1, Ops.begin()+i+Count); in getAddExpr()
2608 Ops.erase(Ops.begin()+Idx); in getAddExpr()
2762 Ops.erase(Ops.begin()+i); in getAddExpr()
3008 Ops.erase(Ops.begin()); in getMulExpr()
3090 Ops.erase(Ops.begin()+Idx); in getMulExpr()
3118 Ops.erase(Ops.begin()+i); in getMulExpr()
3728 Ops.erase(Ops.begin()); in getMinMaxExpr()
3768 if (Ops[i] == Ops[i + 1] || in getMinMaxExpr()
3772 Ops.erase(Ops.begin() + i + 1, Ops.begin() + i + 2); in getMinMaxExpr()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h756 SDValue Ops[] = { Chain, Reg, N, Glue };
926 SDValue Ops[] = { Chain,
938 SmallVector<SDValue, 4> Ops;
939 Ops.push_back(Chain);
940 Ops.push_back(Op1);
941 Ops.push_back(Op2);
943 Ops.push_back(InGlue);
971 ArrayRef<SDUse> Ops);
975 ArrayRef<SDValue> Ops);
981 ArrayRef<SDValue> Ops);
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DCSEMIRBuilder.h58 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-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DReassociate.h105 SmallVectorImpl<reassociate::ValueEntry> &Ops);
107 SmallVectorImpl<reassociate::ValueEntry> &Ops);
109 SmallVectorImpl<reassociate::ValueEntry> &Ops);
111 SmallVectorImpl<reassociate::ValueEntry> &Ops);
120 SmallVectorImpl<reassociate::ValueEntry> &Ops);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPoisonChecking.cpp90 static Value *buildOrChain(IRBuilder<> &B, ArrayRef<Value*> Ops) { in buildOrChain() argument
91 if (Ops.size() == 0) in buildOrChain()
94 for (; i < Ops.size() && isConstantFalse(Ops[i]); i++) {} in buildOrChain()
95 if (i == Ops.size()) in buildOrChain()
97 Value *Accum = Ops[i++]; in buildOrChain()
98 for (; i < Ops.size(); i++) in buildOrChain()
99 if (!isConstantFalse(Ops[i])) in buildOrChain()
100 Accum = B.CreateOr(Accum, Ops[i]); in buildOrChain()

12345678910