Home
last modified time | relevance | path

Searched refs:Srcs (Results 1 – 25 of 33) sorted by relevance

12

/external/llvm-project/llvm/lib/FuzzMutate/
DOperations.cpp93 auto buildOp = [Op](ArrayRef<Value *> Srcs, Instruction *Inst) { in binOpDescriptor() argument
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() argument
127 return CmpInst::Create(CmpOp, Pred, Srcs[0], Srcs[1], "C", Inst); in cmpOpDescriptor()
141 auto buildSplitBlock = [](ArrayRef<Value *> Srcs, Instruction *Inst) { in splitBlockDescriptor() argument
152 BranchInst::Create(Block, Next, Srcs[0], Block->getTerminator()); in splitBlockDescriptor()
171 auto buildGEP = [](ArrayRef<Value *> Srcs, Instruction *Inst) { in gepDescriptor() argument
172 Type *Ty = cast<PointerType>(Srcs[0]->getType())->getElementType(); in gepDescriptor()
173 auto Indices = makeArrayRef(Srcs).drop_front(1); in gepDescriptor()
174 return GetElementPtrInst::Create(Ty, Srcs[0], Indices, "G", Inst); in gepDescriptor()
[all …]
DRandomIRBuilder.cpp28 ArrayRef<Value *> Srcs, in findOrCreateSource() argument
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() argument
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() argument
136 auto IsMatchingPtr = [&Srcs, &Pred](Instruction *Inst) { in findPointer()
[all …]
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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DOperations.cpp93 auto buildOp = [Op](ArrayRef<Value *> Srcs, Instruction *Inst) { in binOpDescriptor() argument
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() argument
127 return CmpInst::Create(CmpOp, Pred, Srcs[0], Srcs[1], "C", Inst); in cmpOpDescriptor()
141 auto buildSplitBlock = [](ArrayRef<Value *> Srcs, Instruction *Inst) { in splitBlockDescriptor() argument
152 BranchInst::Create(Block, Next, Srcs[0], Block->getTerminator()); in splitBlockDescriptor()
171 auto buildGEP = [](ArrayRef<Value *> Srcs, Instruction *Inst) { in gepDescriptor() argument
172 Type *Ty = cast<PointerType>(Srcs[0]->getType())->getElementType(); in gepDescriptor()
173 auto Indices = makeArrayRef(Srcs).drop_front(1); in gepDescriptor()
174 return GetElementPtrInst::Create(Ty, Srcs[0], Indices, "G", Inst); in gepDescriptor()
[all …]
DRandomIRBuilder.cpp28 ArrayRef<Value *> Srcs, in findOrCreateSource() argument
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() argument
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() argument
136 auto IsMatchingPtr = [&Srcs, &Pred](Instruction *Inst) { in findPointer()
[all …]
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()
/external/llvm-project/llvm/unittests/FuzzMutate/
DRandomIRBuilderTest.cpp72 SmallVector<Value *, 2> Srcs; in TEST() local
73 ASSERT_TRUE(Descr.SourcePreds[0].matches(Srcs, Insts[1])); in TEST()
74 Srcs.push_back(Insts[1]); in TEST()
75 ASSERT_TRUE(Descr.SourcePreds[1].matches(Srcs, Insts[1])); in TEST()
76 Srcs.push_back(Insts[1]); in TEST()
81 Value *LastSrc = IB.newSource(BB, Insts, Srcs, Descr.SourcePreds[2]); in TEST()
82 ASSERT_TRUE(Descr.SourcePreds[2].matches(Srcs, LastSrc)); in TEST()
112 SmallVector<Value *, 2> Srcs(2); in TEST() local
114 Srcs[0] = Src; in TEST()
122 Srcs[1] = ConstantInt::get(T, 5); in TEST()
[all …]
/external/libchrome/soong/
Dbindings_generator.go82 Srcs []string member
97 android.ExtractSourcesDeps(ctx, m.properties.Srcs)
103 for _, in := range ctx.ExpandSources(m.properties.Srcs, nil) {
135 func (m *mojomDowngradedFiles) Srcs() android.Paths { func
148 Srcs []string member
163 android.ExtractSourcesDeps(ctx, m.properties.Srcs)
169 for _, in := range ctx.ExpandSources(m.properties.Srcs, nil) {
206 func (m *mojomPickles) Srcs() android.Paths { func
221 Srcs []string member
250 android.ExtractSourcesDeps(ctx, p.Srcs)
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/FuzzMutate/
DRandomIRBuilder.h44 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,
/external/llvm-project/llvm/include/llvm/FuzzMutate/
DRandomIRBuilder.h44 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,
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.c354 struct match_info Srcs[3]; member
418 tokens.Srcs[j].String = in parse_rc_normal_instruction()
420 tokens.Srcs[j].Length = in parse_rc_normal_instruction()
424 (tokens.Srcs[j].Length + 1)); in parse_rc_normal_instruction()
425 strncpy(src_str, tokens.Srcs[j].String, in parse_rc_normal_instruction()
426 tokens.Srcs[j].Length); in parse_rc_normal_instruction()
427 src_str[tokens.Srcs[j].Length] = '\0'; in parse_rc_normal_instruction()
/external/wayland-protocols/
Dwayland_protocol_codegen.go89 Srcs []string member
152 func (g *waylandGenModule) Srcs() android.Paths { func
161 android.ExtractSourcesDeps(ctx, g.properties.Srcs)
195 for _, src := range ctx.ExpandSources(g.properties.Srcs, nil) {
/external/llvm-project/clang-tools-extra/clangd/unittests/
DSerializationTests.cpp352 auto Srcs = llvm::find_if(Parsed->Chunks, [](riff::Chunk C) { in TEST() local
355 ASSERT_NE(Srcs, Parsed->Chunks.end()); in TEST()
367 unsigned Pos = Srcs->Data.find_first_of(FileDigest); in TEST()
374 (Srcs->Data.take_front(Pos) + llvm::fromHex("ffffffff0f") + in TEST()
377 Srcs->Data = CorruptSrcs; in TEST()
/external/setupcompat/
DAndroid.bp39 name: "Srcs",
77 ":Srcs",
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringARM32.cpp3205 Int32Operands Srcs(Src0, Src1); in lowerArithmetic() local
3221 if (Srcs.hasConstOperand()) { in lowerArithmetic()
3222 if (!Srcs.immediateIsFlexEncodable() && in lowerArithmetic()
3223 Srcs.negatedImmediateIsFlexEncodable()) { in lowerArithmetic()
3225 Variable *Src0R = Srcs.src0R(this); in lowerArithmetic()
3226 Operand *Src1F = Srcs.negatedSrc1F(this); in lowerArithmetic()
3227 if (!Srcs.swappedOperands()) { in lowerArithmetic()
3236 Variable *Src0R = Srcs.src0R(this); in lowerArithmetic()
3241 Operand *Src1RF = Srcs.src1RF(this); in lowerArithmetic()
3248 if (Srcs.hasConstOperand()) { in lowerArithmetic()
[all …]
DIceInst.cpp74 Srcs.reserve(MaxSrcs); in Inst()
421 Srcs[I] = Target->getCfg()->getContext()->getConstantZero(Ty); in clearOperandForTarget()
495 Srcs[2] = Beacon; in setRmwBeacon()
1083 std::swap(Srcs[0], Srcs[1]); in reverseConditionAndOperands()
DIceInst.h106 SizeT getSrcSize() const { return Srcs.size(); } in getSrcSize()
109 return Srcs[I]; in getSrc()
114 Srcs[Index] = Replacement; in replaceSource()
214 Srcs.push_back(Src); in addSource()
255 CfgVector<Operand *> Srcs; variable
DIceTargetLowering.h504 Operands *... Srcs) { in scalarizeInstruction()
539 makeExtractThunk(Srcs)...); in scalarizeInstruction()
/external/robolectric-shadows/soong/
Drobolectric.go38 func (b *buildProps) Srcs() android.Paths { func
/external/llvm/lib/Target/AMDGPU/
DR600InstrInfo.cpp353 ArrayRef<std::pair<MachineOperand *, int64_t>> Srcs = getSrcs(MI); in ExtractSrcs() local
357 for (unsigned n = Srcs.size(); i < n; ++i) { in ExtractSrcs()
358 unsigned Reg = Srcs[i].first->getReg(); in ExtractSrcs()
446 const std::vector<std::pair<int, unsigned> > &Srcs = in isLegalUpTo() local
449 const std::pair<int, unsigned> &Src = Srcs[j]; in isLegalUpTo()
627 ArrayRef<std::pair<MachineOperand *, int64_t>> Srcs = getSrcs(MI); in fitsConstReadLimitations() local
629 for (const auto &Src:Srcs) { in fitsConstReadLimitations()
DR600ControlFlowFinalizer.cpp351 const SmallVector<std::pair<MachineOperand *, int64_t>, 3> Srcs = in getLiteral() local
353 for (const auto &Src:Srcs) { in getLiteral()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DVirtRegMap.cpp421 ArrayRef<MachineInstr *> Srcs, in expandCopyBundle()
423 for (const MachineInstr *Src : Srcs) in expandCopyBundle()
/external/llvm-project/llvm/lib/CodeGen/
DVirtRegMap.cpp421 ArrayRef<MachineInstr *> Srcs, in expandCopyBundle()
423 for (const MachineInstr *Src : Srcs) in expandCopyBundle()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DR600ControlFlowFinalizer.cpp366 const SmallVector<std::pair<MachineOperand *, int64_t>, 3> Srcs = in getLiteral() local
368 for (const auto &Src:Srcs) { in getLiteral()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DR600ControlFlowFinalizer.cpp365 const SmallVector<std::pair<MachineOperand *, int64_t>, 3> Srcs = in getLiteral() local
367 for (const auto &Src:Srcs) { in getLiteral()

12