HomeSort by: relevance | last modified time | path
    Searched refs:Agg (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/IR/
ConstantFold.h 42 Constant *ConstantFoldExtractValueInstruction(Constant *Agg,
44 Constant *ConstantFoldInsertValueInstruction(Constant *Agg, Constant *Val,
ConstantsContext.h 221 ExtractValueConstantExpr(Constant *Agg, ArrayRef<unsigned> IdxList,
225 Op<0>() = Agg;
252 InsertValueConstantExpr(Constant *Agg, Constant *Val,
256 Op<0>() = Agg;
Constants.cpp 2611 Constant *ConstantExpr::getInsertValue(Constant *Agg, Constant *Val,
2614 assert(Agg->getType()->isFirstClassType() &&
2617 assert(ExtractValueInst::getIndexedType(Agg->getType(),
2622 if (Constant *FC = ConstantFoldInsertValueInstruction(Agg, Val, Idxs))
2628 Constant *ArgVec[] = { Agg, Val };
2631 LLVMContextImpl *pImpl = Agg->getContext().pImpl;
2635 Constant *ConstantExpr::getExtractValue(Constant *Agg, ArrayRef<unsigned> Idxs,
2637 assert(Agg->getType()->isFirstClassType() &&
2640 Type *ReqTy = ExtractValueInst::getIndexedType(Agg->getType(), Idxs);
2644 assert(Agg->getType()->isFirstClassType() &
    [all...]
ConstantFold.cpp 1015 Constant *llvm::ConstantFoldExtractValueInstruction(Constant *Agg,
1019 return Agg;
1021 if (Constant *C = Agg->getAggregateElement(Idxs[0]))
1027 Constant *llvm::ConstantFoldInsertValueInstruction(Constant *Agg,
1035 if (StructType *ST = dyn_cast<StructType>(Agg->getType()))
1038 NumElts = cast<ArrayType>(Agg->getType())->getNumElements();
1042 Constant *C = Agg->getAggregateElement(i);
1051 if (StructType *ST = dyn_cast<StructType>(Agg->getType()))
1053 return ConstantArray::get(cast<ArrayType>(Agg->getType()), Result);
Instructions.cpp 2319 void InsertValueInst::init(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs,
2329 assert(ExtractValueInst::getIndexedType(Agg->getType(), Idxs) ==
2331 Op<0>() = Agg;
2374 Type *ExtractValueInst::getIndexedType(Type *Agg,
2383 if (ArrayType *AT = dyn_cast<ArrayType>(Agg)) {
2386 Agg = AT->getElementType();
2387 } else if (StructType *ST = dyn_cast<StructType>(Agg)) {
2390 Agg = ST->getElementType(Index);
2396 return const_cast<Type*>(Agg);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
ConstantFolding.h 103 Constant *ConstantFoldInsertValueInstruction(Constant *Agg, Constant *Val,
109 Constant *ConstantFoldExtractValueInstruction(Constant *Agg,
TargetFolder.h 266 Constant *CreateExtractValue(Constant *Agg,
268 return Fold(ConstantExpr::getExtractValue(Agg, IdxList));
271 Constant *CreateInsertValue(Constant *Agg, Constant *Val,
273 return Fold(ConstantExpr::getInsertValue(Agg, Val, IdxList));
InstructionSimplify.h 239 Value *SimplifyInsertValueInst(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs,
247 Value *SimplifyExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs,
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
ConstantFolder.h 272 Constant *CreateExtractValue(Constant *Agg,
274 return ConstantExpr::getExtractValue(Agg, IdxList);
277 Constant *CreateInsertValue(Constant *Agg, Constant *Val,
279 return ConstantExpr::getInsertValue(Agg, Val, IdxList);
NoFolder.h 307 Instruction *CreateExtractValue(Constant *Agg,
309 return ExtractValueInst::Create(Agg, IdxList);
312 Instruction *CreateInsertValue(Constant *Agg, Constant *Val,
314 return InsertValueInst::Create(Agg, Val, IdxList);
IRBuilderFolder.h 133 virtual Value *CreateExtractValue(Constant *Agg,
135 virtual Value *CreateInsertValue(Constant *Agg, Constant *Val,
Instructions.h 1042 /// type. This is equivalent to "getIndexedType(Agg, {Zero, Idx})".
2341 inline ExtractValueInst(Value *Agg,
2345 inline ExtractValueInst(Value *Agg,
2358 static ExtractValueInst *Create(Value *Agg,
2363 ExtractValueInst(Agg, Idxs, NameStr, InsertBefore);
2366 static ExtractValueInst *Create(Value *Agg,
2370 return new ExtractValueInst(Agg, Idxs, NameStr, InsertAtEnd);
2377 static Type *getIndexedType(Type *Agg, ArrayRef<unsigned> Idxs);
2418 ExtractValueInst::ExtractValueInst(Value *Agg,
2422 : UnaryInstruction(checkGEPType(getIndexedType(Agg->getType(), Idxs))
    [all...]
Constants.h 1255 static Constant *getExtractValue(Constant *Agg, ArrayRef<unsigned> Idxs,
1257 static Constant *getInsertValue(Constant *Agg, Constant *Val,
IRBuilder.h 2450 Value *CreateExtractValue(Value *Agg,
2453 if (auto *AggC = dyn_cast<Constant>(Agg))
2455 return Insert(ExtractValueInst::Create(Agg, Idxs), Name);
2458 Value *CreateInsertValue(Value *Agg, Value *Val,
2461 if (auto *AggC = dyn_cast<Constant>(Agg))
2464 return Insert(InsertValueInst::Create(Agg, Val, Idxs), Name);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-c-test/
echo.cpp 782 LLVMValueRef Agg = CloneValue(LLVMGetOperand(Src, 0));
788 Dst = LLVMBuildExtractValue(Builder, Agg, I, Name);
792 LLVMValueRef Agg = CloneValue(LLVMGetOperand(Src, 0));
799 Dst = LLVMBuildInsertValue(Builder, Agg, V, I, Name);
803 LLVMValueRef Agg = CloneValue(LLVMGetOperand(Src, 0));
805 Dst = LLVMBuildExtractElement(Builder, Agg, Index, Name);
809 LLVMValueRef Agg = CloneValue(LLVMGetOperand(Src, 0));
812 Dst = LLVMBuildInsertElement(Builder, Agg, V, Index, Name);
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
CFLGraph.h 498 auto *Agg = Inst.getOperand(0);
500 addAssignEdge(Agg, &Inst);
InstructionSimplify.cpp 4373 static Value *SimplifyInsertValueInst(Value *Agg, Value *Val,
4376 if (Constant *CAgg = dyn_cast<Constant>(Agg))
4382 return Agg;
4386 if (EV->getAggregateOperand()->getType() == Agg->getType() &&
4389 if (Q.isUndefValue(Agg))
4393 if (Agg == EV->getAggregateOperand())
4394 return Agg;
4400 Value *llvm::SimplifyInsertValueInst(Value *Agg, Value *Val,
4403 return ::SimplifyInsertValueInst(Agg, Val, Idxs, Q, RecursionLimit);
4443 static Value *SimplifyExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs
    [all...]
ConstantFolding.cpp 2953 Constant *Agg = Operands[J]->getAggregateElement(I);
2954 if (!Agg)
2957 Lane[J] = Agg;
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
SROA.cpp 3329 /// \param Agg The aggregate value being built up or stored, depending on
3331 void emitSplitOps(Type *Ty, Value *&Agg, const Twine &Name) {
3335 Ty, Agg, commonAlignment(BaseAlign, Offset), Name);
3346 emitSplitOps(ATy->getElementType(), Agg, Name + "." + Twine(Idx));
3361 emitSplitOps(STy->getElementType(Idx), Agg, Name + "." + Twine(Idx));
3383 void emitFunc(Type *Ty, Value *&Agg, Align Alignment, const Twine &Name) {
3397 Agg = IRB.CreateInsertValue(Agg, Load, Indices, Name + ".insert");
3430 void emitFunc(Type *Ty, Value *&Agg, Align Alignment, const Twine &Name) {
3437 IRB.CreateExtractValue(Agg, Indices, Name + ".extract")
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
CoroSplit.cpp 533 Value *Agg = UndefValue::get(NewS->getType());
535 Agg = Builder.CreateInsertValue(Agg, Args[I], I);
537 NewS->replaceAllUsesWith(Agg);
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/
Execution.cpp 1928 Value *Agg = I.getAggregateOperand();
1930 GenericValue Src = getOperandValue(Agg, SF);
1941 Type *IndexedType = ExtractValueInst::getIndexedType(Agg->getType(), I.getIndices());
1972 Value *Agg = I.getAggregateOperand();
1974 GenericValue Src1 = getOperandValue(Agg, SF);
1988 Type *IndexedType = ExtractValueInst::getIndexedType(Agg->getType(), I.getIndices());
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstructionCombining.cpp 2991 Value *Agg = EV.getAggregateOperand();
2994 return replaceInstUsesWith(EV, Agg);
2996 if (Value *V = SimplifyExtractValueInst(Agg, EV.getIndices(),
3000 if (InsertValueInst *IV = dyn_cast<InsertValueInst>(Agg)) {
3051 if (WithOverflowInst *WO = dyn_cast<WithOverflowInst>(Agg)) {
3075 if (LoadInst *L = dyn_cast<LoadInst>(Agg))
  /src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
BitcodeReader.cpp 4196 Value *Agg;
4197 if (getValueTypePair(Record, OpNum, NextValueNo, Agg, &FullTy))
4226 I = ExtractValueInst::Create(Agg, EXTRACTVALIdx);
4234 Value *Agg;
4235 if (getValueTypePair(Record, OpNum, NextValueNo, Agg, &FullTy))
4246 Type *CurTy = Agg->getType();
4271 I = InsertValueInst::Create(Agg, Val, INSERTVALIdx);
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/
object.d 4468 struct Agg
4479 Agg a;
4500 struct Agg
4511 Agg a;
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
SelectionDAGBuilder.cpp 3772 SDValue Agg = getValue(Op0);
3777 SDValue(Agg.getNode(), Agg.getResNo() + i);
3788 SDValue(Agg.getNode(), Agg.getResNo() + i);
3822 SDValue Agg = getValue(Op0);
3827 DAG.getUNDEF(Agg.getNode()->getValueType(Agg.getResNo() + i)) :
3828 SDValue(Agg.getNode(), Agg.getResNo() + i)
    [all...]

Completed in 94 milliseconds

1 2