Home
last modified time | relevance | path

Searched refs:Agg (Results 1 - 24 of 24) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DConstantFold.h42 Constant *ConstantFoldExtractValueInstruction(Constant *Agg,
44 Constant *ConstantFoldInsertValueInstruction(Constant *Agg, Constant *Val,
H A DConstantsContext.h174 ExtractValueConstantExpr(Constant *Agg, ArrayRef<unsigned> IdxList, in ExtractValueConstantExpr() argument
178 Op<0>() = Agg; in ExtractValueConstantExpr()
205 InsertValueConstantExpr(Constant *Agg, Constant *Val, in InsertValueConstantExpr() argument
209 Op<0>() = Agg; in InsertValueConstantExpr()
H A DConstants.cpp2251 Constant *ConstantExpr::getInsertValue(Constant *Agg, Constant *Val, in getInsertValue() argument
2254 assert(Agg->getType()->isFirstClassType() && in getInsertValue()
2257 assert(ExtractValueInst::getIndexedType(Agg->getType(), in getInsertValue()
2262 if (Constant *FC = ConstantFoldInsertValueInstruction(Agg, Val, Idxs)) in getInsertValue()
2268 Constant *ArgVec[] = { Agg, Val }; in getInsertValue()
2271 LLVMContextImpl *pImpl = Agg->getContext().pImpl; in getInsertValue()
2275 Constant *ConstantExpr::getExtractValue(Constant *Agg, ArrayRef<unsigned> Idxs, in getExtractValue() argument
2277 assert(Agg->getType()->isFirstClassType() && in getExtractValue()
2280 Type *ReqTy = ExtractValueInst::getIndexedType(Agg->getType(), Idxs); in getExtractValue()
2284 assert(Agg in getExtractValue()
[all...]
H A DConstantFold.cpp910 Constant *llvm::ConstantFoldExtractValueInstruction(Constant *Agg, in ConstantFoldExtractValueInstruction() argument
914 return Agg; in ConstantFoldExtractValueInstruction()
916 if (Constant *C = Agg->getAggregateElement(Idxs[0])) in ConstantFoldExtractValueInstruction()
922 Constant *llvm::ConstantFoldInsertValueInstruction(Constant *Agg, in ConstantFoldInsertValueInstruction() argument
930 if (StructType *ST = dyn_cast<StructType>(Agg->getType())) in ConstantFoldInsertValueInstruction()
933 NumElts = cast<SequentialType>(Agg->getType())->getNumElements(); in ConstantFoldInsertValueInstruction()
937 Constant *C = Agg->getAggregateElement(i); in ConstantFoldInsertValueInstruction()
946 if (StructType *ST = dyn_cast<StructType>(Agg->getType())) in ConstantFoldInsertValueInstruction()
948 if (ArrayType *AT = dyn_cast<ArrayType>(Agg->getType())) in ConstantFoldInsertValueInstruction()
H A DInstructions.cpp1619 static Type *getIndexedTypeInternal(Type *Agg, ArrayRef<IndexTy> IdxList) { in getIndexedTypeInternal() argument
1622 return Agg; in getIndexedTypeInternal()
1626 if (!Agg->isSized()) in getIndexedTypeInternal()
1631 CompositeType *CT = dyn_cast<CompositeType>(Agg); in getIndexedTypeInternal()
1635 Agg = CT->getTypeAtIndex(Index); in getIndexedTypeInternal()
1637 return CurIdx == IdxList.size() ? Agg : nullptr; in getIndexedTypeInternal()
2099 void InsertValueInst::init(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, in init() argument
2109 assert(ExtractValueInst::getIndexedType(Agg->getType(), Idxs) == in init()
2111 Op<0>() = Agg; in init()
2154 Type *ExtractValueInst::getIndexedType(Type *Agg, in getIndexedType() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DConstantFolder.h267 Constant *CreateExtractValue(Constant *Agg, in CreateExtractValue() argument
269 return ConstantExpr::getExtractValue(Agg, IdxList); in CreateExtractValue()
272 Constant *CreateInsertValue(Constant *Agg, Constant *Val, in CreateInsertValue() argument
274 return ConstantExpr::getInsertValue(Agg, Val, IdxList); in CreateInsertValue()
H A DNoFolder.h332 Instruction *CreateExtractValue(Constant *Agg, in CreateExtractValue() argument
334 return ExtractValueInst::Create(Agg, IdxList); in CreateExtractValue()
337 Instruction *CreateInsertValue(Constant *Agg, Constant *Val, in CreateInsertValue() argument
339 return InsertValueInst::Create(Agg, Val, IdxList); in CreateInsertValue()
H A DInstructions.h2307 inline ExtractValueInst(Value *Agg,
2311 inline ExtractValueInst(Value *Agg,
2324 static ExtractValueInst *Create(Value *Agg, in Create() argument
2329 ExtractValueInst(Agg, Idxs, NameStr, InsertBefore); in Create()
2332 static ExtractValueInst *Create(Value *Agg, in Create() argument
2336 return new ExtractValueInst(Agg, Idxs, NameStr, InsertAtEnd); in Create()
2343 static Type *getIndexedType(Type *Agg, ArrayRef<unsigned> Idxs);
2384 ExtractValueInst::ExtractValueInst(Value *Agg, in ExtractValueInst() argument
2388 : UnaryInstruction(checkGEPType(getIndexedType(Agg->getType(), Idxs)), in ExtractValueInst()
2389 ExtractValue, Agg, InsertBefor in ExtractValueInst()
2393 ExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs, const Twine &NameStr, BasicBlock *InsertAtEnd) ExtractValueInst() argument
2449 Create(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &NameStr = �, Instruction *InsertBefore = nullptr) Create() argument
2456 Create(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &NameStr, BasicBlock *InsertAtEnd) Create() argument
2520 InsertValueInst(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &NameStr, Instruction *InsertBefore) InsertValueInst() argument
2531 InsertValueInst(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &NameStr, BasicBlock *InsertAtEnd) InsertValueInst() argument
[all...]
H A DConstants.h1203 static Constant *getExtractValue(Constant *Agg, ArrayRef<unsigned> Idxs,
1205 static Constant *getInsertValue(Constant *Agg, Constant *Val,
H A DIRBuilder.h2562 Value *CreateExtractValue(Value *Agg, in CreateExtractValue() argument
2565 if (auto *AggC = dyn_cast<Constant>(Agg)) in CreateExtractValue()
2567 return Insert(ExtractValueInst::Create(Agg, Idxs), Name); in CreateExtractValue()
2570 Value *CreateInsertValue(Value *Agg, Value *Val, in CreateInsertValue() argument
2573 if (auto *AggC = dyn_cast<Constant>(Agg)) in CreateInsertValue()
2576 return Insert(InsertValueInst::Create(Agg, Val, Idxs), Name); in CreateInsertValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
H A DConstantFolding.h100 Constant *ConstantFoldInsertValueInstruction(Constant *Agg, Constant *Val,
106 Constant *ConstantFoldExtractValueInstruction(Constant *Agg,
H A DTargetFolder.h259 Constant *CreateExtractValue(Constant *Agg, in CreateExtractValue() argument
261 return Fold(ConstantExpr::getExtractValue(Agg, IdxList)); in CreateExtractValue()
264 Constant *CreateInsertValue(Constant *Agg, Constant *Val, in CreateInsertValue() argument
266 return Fold(ConstantExpr::getInsertValue(Agg, Val, IdxList)); in CreateInsertValue()
H A DInstructionSimplify.h213 Value *SimplifyInsertValueInst(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs,
221 Value *SimplifyExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DCFLGraph.h491 auto *Agg = Inst.getOperand(0);
493 addAssignEdge(Agg, &Inst);
H A DInstructionSimplify.cpp1872 /// %Agg = tail call { i4, i1 } @llvm.[us]mul.with.overflow.i4(i4 %X, i4 %???)
1873 /// %Op1 = extractvalue { i4, i1 } %Agg, 1
1880 Value *Agg = Extract->getAggregateOperand(); in omitCheckForZeroBeforeMulWithOverflowInternal()
1882 if (!match(Agg, m_CombineOr(m_Intrinsic<Intrinsic::umul_with_overflow>(), in omitCheckForZeroBeforeMulWithOverflowInternal()
1886 if (!match(Agg, m_CombineOr(m_Argument<0>(m_Specific(X)), in omitCheckForZeroBeforeMulWithOverflowInternal()
1897 /// %Agg = tail call { i4, i1 } @llvm.[us]mul.with.overflow.i4(i4 %X, i4 %???)
1898 /// %Op1 = extractvalue { i4, i1 } %Agg, 1
1919 /// %Agg = tail call { i4, i1 } @llvm.[us]mul.with.overflow.i4(i4 %X, i4 %???)
1920 /// %Op1 = extractvalue { i4, i1 } %Agg, 1
4160 static Value *SimplifyInsertValueInst(Value *Agg, Valu argument
4187 SimplifyInsertValueInst(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const SimplifyQuery &Q) SimplifyInsertValueInst() argument
4229 SimplifyExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs, const SimplifyQuery &, unsigned) SimplifyExtractValueInst() argument
4252 SimplifyExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs, const SimplifyQuery &Q) SimplifyExtractValueInst() argument
[all...]
H A DConstantFolding.cpp2450 Constant *Agg = Operands[J]->getAggregateElement(I); in ConstantFoldVectorCall() local
2451 if (!Agg) in ConstantFoldVectorCall()
2454 Lane[J] = Agg; in ConstantFoldVectorCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp451 Value *Agg = UndefValue::get(NewS->getType()); in replaceRetconSuspendUses()
453 Agg = Builder.CreateInsertValue(Agg, Args[I], I); in replaceRetconSuspendUses()
455 NewS->replaceAllUsesWith(Agg); in replaceRetconSuspendUses()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DSROA.cpp3304 /// \param Agg The aggregate value being built up or stored, depending on
3306 void emitSplitOps(Type *Ty, Value *&Agg, const Twine &Name) {
3310 Ty, Agg, commonAlignment(BaseAlign, Offset), Name);
3321 emitSplitOps(ATy->getElementType(), Agg, Name + "." + Twine(Idx));
3336 emitSplitOps(STy->getElementType(Idx), Agg, Name + "." + Twine(Idx));
3358 void emitFunc(Type *Ty, Value *&Agg, Align Alignment, const Twine &Name) {
3367 Agg = IRB.CreateInsertValue(Agg, Load, Indices, Name + ".insert");
3399 void emitFunc(Type *Ty, Value *&Agg, Align Alignment, const Twine &Name) {
3406 IRB.CreateExtractValue(Agg, Indice
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1934 Value *Agg = I.getAggregateOperand();
1936 GenericValue Src = getOperandValue(Agg, SF);
1947 Type *IndexedType = ExtractValueInst::getIndexedType(Agg->getType(), I.getIndices());
1977 Value *Agg = I.getAggregateOperand();
1979 GenericValue Src1 = getOperandValue(Agg, SF);
1993 Type *IndexedType = ExtractValueInst::getIndexedType(Agg->getType(), I.getIndices());
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2695 Value *Agg = EV.getAggregateOperand(); in visitExtractValueInst() local
2698 return replaceInstUsesWith(EV, Agg); in visitExtractValueInst()
2700 if (Value *V = SimplifyExtractValueInst(Agg, EV.getIndices(), in visitExtractValueInst()
2704 if (InsertValueInst *IV = dyn_cast<InsertValueInst>(Agg)) { in visitExtractValueInst()
2755 if (WithOverflowInst *WO = dyn_cast<WithOverflowInst>(Agg)) { in visitExtractValueInst()
2779 if (LoadInst *L = dyn_cast<LoadInst>(Agg)) in visitExtractValueInst()
/third_party/python/Lib/test/test_sqlite3/
H A Dtest_dbapi.py1695 class Agg: class
1703 con.create_aggregate("foo", 1, Agg)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4002 Value *Agg; in parseFunctionBody() local
4003 if (getValueTypePair(Record, OpNum, NextValueNo, Agg, &FullTy)) in parseFunctionBody()
4032 I = ExtractValueInst::Create(Agg, EXTRACTVALIdx); in parseFunctionBody()
4040 Value *Agg; in parseFunctionBody() local
4041 if (getValueTypePair(Record, OpNum, NextValueNo, Agg, &FullTy)) in parseFunctionBody()
4052 Type *CurTy = Agg->getType(); in parseFunctionBody()
4077 I = InsertValueInst::Create(Agg, Val, INSERTVALIdx); in parseFunctionBody()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp3810 SDValue Agg = getValue(Op0); in visitInsertValue() local
3815 SDValue(Agg.getNode(), Agg.getResNo() + i); in visitInsertValue()
3826 SDValue(Agg.getNode(), Agg.getResNo() + i); in visitInsertValue()
3860 SDValue Agg = getValue(Op0); in visitExtractValue() local
3865 DAG.getUNDEF(Agg.getNode()->getValueType(Agg.getResNo() + i)) : in visitExtractValue()
3866 SDValue(Agg.getNode(), Agg in visitExtractValue()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp3628 Value *Agg = I.getAggregateOperand();
3630 Value *AggShadow = getShadow(Agg);

Completed in 81 milliseconds