Home
last modified time | relevance | path

Searched refs:Srcs (Results 1 - 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
H A DOperations.cpp93 auto buildOp = [Op](ArrayRef<Value *> Srcs, Instruction *Inst) { in binOpDescriptor()
94 return BinaryOperator::Create(Op, Srcs[0], Srcs[1], "B", Inst); in binOpDescriptor()
126 auto buildOp = [CmpOp, Pred](ArrayRef<Value *> Srcs, Instruction *Inst) { in cmpOpDescriptor()
127 return CmpInst::Create(CmpOp, Pred, Srcs[0], Srcs[1], "C", Inst); in cmpOpDescriptor()
141 auto buildSplitBlock = [](ArrayRef<Value *> Srcs, Instruction *Inst) { in splitBlockDescriptor()
152 BranchInst::Create(Block, Next, Srcs[0], Block->getTerminator()); in splitBlockDescriptor()
171 auto buildGEP = [](ArrayRef<Value *> Srcs, Instruction *Inst) { in gepDescriptor()
172 Type *Ty = cast<PointerType>(Srcs[ in gepDescriptor()
[all...]
H A DRandomIRBuilder.cpp28 ArrayRef<Value *> Srcs, in findOrCreateSource()
30 auto MatchesPred = [&Srcs, &Pred](Instruction *Inst) { in findOrCreateSource()
31 return Pred.matches(Srcs, Inst); in findOrCreateSource()
38 return newSource(BB, Insts, Srcs, Pred); in findOrCreateSource()
42 ArrayRef<Value *> Srcs, SourcePred Pred) { in newSource()
45 RS.sample(Pred.generate(Srcs, KnownTypes)); in newSource()
48 Value *Ptr = findPointer(BB, Insts, Srcs, Pred); in newSource()
60 if (Pred.matches(Srcs, NewLoad)) in newSource()
135 ArrayRef<Value *> Srcs, SourcePred Pred) { in findPointer()
136 auto IsMatchingPtr = [&Srcs, in findPointer()
26 findOrCreateSource(BasicBlock &BB, ArrayRef<Instruction *> Insts, ArrayRef<Value *> Srcs, SourcePred Pred) findOrCreateSource() argument
41 newSource(BasicBlock &BB, ArrayRef<Instruction *> Insts, ArrayRef<Value *> Srcs, SourcePred Pred) newSource() argument
133 findPointer(BasicBlock &BB, ArrayRef<Instruction *> Insts, ArrayRef<Value *> Srcs, SourcePred Pred) findPointer() argument
[all...]
H A DIRMutator.cpp120 SmallVector<Value *, 2> Srcs; in mutate() local
121 Srcs.push_back(IB.findOrCreateSource(BB, InstsBefore)); in mutate()
125 auto OpDesc = chooseOperation(Srcs[0], IB); in mutate()
131 Srcs.push_back(IB.findOrCreateSource(BB, InstsBefore, Srcs, Pred)); in mutate()
133 if (Value *Op = OpDesc->BuilderFunc(Srcs, Insts[IP])) { in mutate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/FuzzMutate/
H A DRandomIRBuilder.h41 /// values in \c Srcs should be source operands that have already been
44 ArrayRef<Value *> Srcs, fuzzerop::SourcePred Pred);
47 ArrayRef<Value *> Srcs, fuzzerop::SourcePred Pred);
54 ArrayRef<Value *> Srcs, fuzzerop::SourcePred Pred);
55 Type *chooseType(LLVMContext &Context, ArrayRef<Value *> Srcs,
/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.c355 struct match_info Srcs[3]; member
419 tokens.Srcs[j].String = in parse_rc_normal_instruction()
421 tokens.Srcs[j].Length = in parse_rc_normal_instruction()
425 (tokens.Srcs[j].Length + 1)); in parse_rc_normal_instruction()
426 strncpy(src_str, tokens.Srcs[j].String, in parse_rc_normal_instruction()
427 tokens.Srcs[j].Length); in parse_rc_normal_instruction()
428 src_str[tokens.Srcs[j].Length] = '\0'; in parse_rc_normal_instruction()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
H A DIceTargetLoweringARM32.cpp3021 Int32Operands Srcs(Src0, Src1);
3037 if (Srcs.hasConstOperand()) {
3038 if (!Srcs.immediateIsFlexEncodable() &&
3039 Srcs.negatedImmediateIsFlexEncodable()) {
3041 Variable *Src0R = Srcs.src0R(this);
3042 Operand *Src1F = Srcs.negatedSrc1F(this);
3043 if (!Srcs.swappedOperands()) {
3052 Variable *Src0R = Srcs.src0R(this);
3057 Operand *Src1RF = Srcs.src1RF(this);
3064 if (Srcs
[all...]
H A DIceInst.cpp74 Srcs.reserve(MaxSrcs); in Inst()
419 Srcs[I] = Target->getCfg()->getContext()->getConstantZero(Ty); in clearOperandForTarget()
493 Srcs[2] = Beacon; in setRmwBeacon()
1022 std::swap(Srcs[0], Srcs[1]); in reverseConditionAndOperands()
H A DIceInst.h104 SizeT getSrcSize() const { return Srcs.size(); } in getSrcSize()
107 return Srcs[I]; in getSrc()
112 Srcs[Index] = Replacement;
212 Srcs.push_back(Src);
253 CfgVector<Operand *> Srcs;
H A DIceTargetLowering.h469 Operands *...Srcs) { in scalarizeInstruction()
504 makeExtractThunk(Srcs)...); in scalarizeInstruction()
515 // call insertScalarInstruction(Res, Srcs...), but C++ does not specify
517 // output. Instead, we wrap each of the Srcs in a thunk and these
468 scalarizeInstruction(Variable *Dest, F insertScalarInstruction, Operands *...Srcs) scalarizeInstruction() argument
H A DIceInstARM32.h1263 static InstARM32Push *create(Cfg *Func, const VarList &Srcs) { in create() argument
1264 return new (Func->allocate<InstARM32Push>()) InstARM32Push(Func, Srcs); in create()
1269 InstARM32Push(Cfg *Func, const VarList &Srcs);
H A DIceInstARM32.cpp1471 InstARM32Push::InstARM32Push(Cfg *Func, const VarList &Srcs) in InstARM32Push() argument
1472 : InstARM32RegisterStackOp(Func, InstARM32::Push, Srcs.size(), nullptr) { in InstARM32Push()
1473 validatePushOrPopRegisterListOrDie(Srcs); in InstARM32Push()
1474 for (Variable *Source : Srcs) { in InstARM32Push()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DVirtRegMap.cpp421 ArrayRef<MachineInstr *> Srcs, in expandCopyBundle()
423 for (const MachineInstr *Src : Srcs) in expandCopyBundle()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DR600ControlFlowFinalizer.cpp366 const SmallVector<std::pair<MachineOperand *, int64_t>, 3> Srcs = in getLiteral() local
368 for (const auto &Src:Srcs) { in getLiteral()
H A DR600InstrInfo.cpp437 const std::vector<std::pair<int, unsigned>> &Srcs =
440 const std::pair<int, unsigned> &Src = Srcs[j];
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp696 SmallVector<Register, 4> Srcs = {MI.getOperand(1).getReg()}; in narrowScalar() local
698 Srcs.push_back(ZeroReg); in narrowScalar()
699 MIRBuilder.buildMerge(MI.getOperand(0).getReg(), Srcs); in narrowScalar()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp15174 int Srcs[2] = {-1, -1};
15186 if (Srcs[0] < 0 || Srcs[0] == LaneSrc)
15188 else if (Srcs[1] < 0 || Srcs[1] == LaneSrc)
15193 Srcs[Src] = LaneSrc;
15198 if (Srcs[1] < 0)
15201 LaneSrcs[Lane][0] = Srcs[0];
15202 LaneSrcs[Lane][1] = Srcs[1];
[all...]

Completed in 62 milliseconds