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

123

/external/clang/test/CodeGenCXX/
H A Dmicrosoft-abi-byval-thunks.cpp5 struct Agg { struct in namespace:byval_thunk
6 Agg();
7 Agg(const Agg &);
8 ~Agg();
12 struct A { virtual void foo(Agg x); };
13 struct B { virtual void foo(Agg x); };
14 struct C : A, B { C(); virtual void foo(Agg x); };
18 // CHECK32: (%"struct.byval_thunk::C"* %this, <{ %"struct.byval_thunk::Agg" }>* inalloca)
21 // CHECK32: (%"struct.byval_thunk::C"* %{{.*}}, <{ %"struct.byval_thunk::Agg" }>* inalloc
34 struct Agg { struct in namespace:stdcall_thunk
66 struct Agg { struct in namespace:sret_thunk
[all...]
H A Dconst-init-cxx11.cpp441 struct Agg { int k; }; struct in namespace:LocalVarInit
455 int agg() { constexpr Agg a = { f(101) }; return a.k; }
/external/clang/test/CodeGen/
H A Dblock-byref-aggr.c4 typedef struct { int v; } Agg; typedef in typeref:struct:__anon2510
5 Agg makeAgg(void);
11 __block Agg a = {100};
37 __block Agg a, b;
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/
H A Dp7-0x.cpp30 struct Agg { struct
47 Agg<char> a1 = {1.0F}; // expected-error {{type 'float' cannot be narrowed to 'char'}} expected-note {{silence}}
48 Agg<char> a2 = {1.0}; // expected-error {{ cannot be narrowed }} expected-note {{silence}}
49 Agg<char> a3 = {1.0L}; // expected-error {{ cannot be narrowed }} expected-note {{silence}}
54 Agg<char> a4 = {f}; // expected-error {{ cannot be narrowed }} expected-note {{silence}}
55 Agg<char> a5 = {d}; // expected-error {{ cannot be narrowed }} expected-note {{silence}}
56 Agg<char> a6 = {ld}; // expected-error {{ cannot be narrowed }} expected-note {{silence}}
58 Agg<char> ce1 = { Convert<float>(1.0) }; // expected-error {{type 'float' cannot be narrowed to 'char'}} expected-note {{silence}}
59 Agg<char> ce2 = { ConvertVar<double>() }; // expected-error {{type 'double' cannot be narrowed to 'char'}} expected-note {{silence}}
62 Agg<boo
[all...]
H A Dp7-cxx11-nowarn.cpp31 struct Agg { struct
48 Agg<char> a1 = {1.0F}; // expected-warning {{type 'float' cannot be narrowed to 'char'}} expected-note {{silence}}
49 Agg<char> a2 = {1.0}; // expected-warning {{ cannot be narrowed }} expected-note {{silence}}
50 Agg<char> a3 = {1.0L}; // expected-warning {{ cannot be narrowed }} expected-note {{silence}}
55 Agg<char> a4 = {f}; // expected-warning {{ cannot be narrowed }} expected-note {{silence}}
56 Agg<char> a5 = {d}; // expected-warning {{ cannot be narrowed }} expected-note {{silence}}
57 Agg<char> a6 = {ld}; // expected-warning {{ cannot be narrowed }} expected-note {{silence}}
59 Agg<char> ce1 = { Convert<float>(1.0) }; // expected-warning {{type 'float' cannot be narrowed to 'char'}} expected-note {{silence}}
60 Agg<char> ce2 = { ConvertVar<double>() }; // expected-warning {{type 'double' cannot be narrowed to 'char'}} expected-note {{silence}}
75 Agg<floa
[all...]
/external/clang/test/SemaCXX/
H A Daggregate-initialization.cpp81 class Agg { class
88 Agg agg1;
89 Agg agg2;
H A Dcxx98-compat.cpp117 struct Agg { int a, b; } const &agg = { 1, 2 }; // expected-warning {{reference initialized from initializer list is incompatible with C++98}} struct
/external/llvm/lib/IR/
H A DConstantFold.h41 Constant *ConstantFoldExtractValueInstruction(Constant *Agg,
43 Constant *ConstantFoldInsertValueInstruction(Constant *Agg, Constant *Val,
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DConstantFold.h42 Constant *ConstantFoldExtractValueInstruction(Constant *Agg,
44 Constant *ConstantFoldInsertValueInstruction(Constant *Agg, Constant *Val,
H A DConstants.cpp1733 Constant *ConstantExpr::getInsertValue(Constant *Agg, Constant *Val, argument
1735 assert(ExtractValueInst::getIndexedType(Agg->getType(),
1738 assert(Agg->getType()->isFirstClassType() &&
1740 Constant *FC = ConstantFoldInsertValueInstruction(Agg, Val, Idxs);
1745 Constant *ConstantExpr::getExtractValue(Constant *Agg, argument
1747 assert(Agg->getType()->isFirstClassType() &&
1750 Type *ReqTy = ExtractValueInst::getIndexedType(Agg->getType(), Idxs);
1754 assert(Agg->getType()->isFirstClassType() &&
1756 Constant *FC = ConstantFoldExtractValueInstruction(Agg, Idxs);
2099 Constant *Agg local
2105 Constant *Agg = getOperand(0); local
[all...]
H A DConstantFold.cpp885 Constant *llvm::ConstantFoldExtractValueInstruction(Constant *Agg, argument
889 return Agg;
891 if (isa<UndefValue>(Agg)) // ev(undef, x) -> undef
892 return UndefValue::get(ExtractValueInst::getIndexedType(Agg->getType(),
895 if (isa<ConstantAggregateZero>(Agg)) // ev(0, x) -> 0
897 Constant::getNullValue(ExtractValueInst::getIndexedType(Agg->getType(),
901 if (ConstantStruct *CS = dyn_cast<ConstantStruct>(Agg))
905 if (ConstantArray *CA = dyn_cast<ConstantArray>(Agg))
908 ConstantVector *CV = cast<ConstantVector>(Agg);
913 Constant *llvm::ConstantFoldInsertValueInstruction(Constant *Agg, argument
[all...]
/external/clang/test/CXX/basic/basic.types/
H A Dp10.cpp69 struct Agg { struct
73 constexpr int f3(Agg a) { return a.a; }
114 struct LitMemBase : Agg {
115 Agg agg;
127 Agg agg[24];
/external/llvm/include/llvm/Analysis/
H A DConstantFolding.h101 Constant *ConstantFoldInsertValueInstruction(Constant *Agg, Constant *Val,
107 Constant *ConstantFoldExtractValueInstruction(Constant *Agg,
H A DTargetFolder.h257 Constant *CreateExtractValue(Constant *Agg, argument
259 return Fold(ConstantExpr::getExtractValue(Agg, IdxList));
262 Constant *CreateInsertValue(Constant *Agg, Constant *Val, argument
264 return Fold(ConstantExpr::getInsertValue(Agg, Val, IdxList));
H A DInstructionSimplify.h241 Value *SimplifyInsertValueInst(Value *Agg, Value *Val,
250 Value *SimplifyExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs,
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
H A DConstantFolding.h67 Constant *ConstantFoldInsertValueInstruction(Constant *Agg, Constant *Val,
H A DInstructionSimplify.h131 Value *SimplifyInsertValueInst(Value *Agg, Value *Val,
/external/llvm/include/llvm/IR/
H A DConstantFolder.h232 Constant *CreateExtractValue(Constant *Agg, argument
234 return ConstantExpr::getExtractValue(Agg, IdxList);
237 Constant *CreateInsertValue(Constant *Agg, Constant *Val, argument
239 return ConstantExpr::getInsertValue(Agg, Val, IdxList);
H A DNoFolder.h286 Instruction *CreateExtractValue(Constant *Agg, argument
288 return ExtractValueInst::Create(Agg, IdxList);
291 Instruction *CreateInsertValue(Constant *Agg, Constant *Val, argument
293 return InsertValueInst::Create(Agg, Val, IdxList);
H A DInstructions.h2240 inline ExtractValueInst(Value *Agg,
2244 inline ExtractValueInst(Value *Agg,
2257 static ExtractValueInst *Create(Value *Agg, argument
2262 ExtractValueInst(Agg, Idxs, NameStr, InsertBefore);
2264 static ExtractValueInst *Create(Value *Agg, argument
2268 return new ExtractValueInst(Agg, Idxs, NameStr, InsertAtEnd);
2275 static Type *getIndexedType(Type *Agg, ArrayRef<unsigned> Idxs);
2315 ExtractValueInst::ExtractValueInst(Value *Agg, argument
2319 : UnaryInstruction(checkGEPType(getIndexedType(Agg->getType(), Idxs)),
2320 ExtractValue, Agg, InsertBefor
2323 ExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
2378 Create(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &NameStr = �, Instruction *InsertBefore = nullptr) argument
2384 Create(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
2447 InsertValueInst(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &NameStr, Instruction *InsertBefore) argument
2457 InsertValueInst(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
H A DConstantFolder.h225 Constant *CreateExtractValue(Constant *Agg, argument
227 return ConstantExpr::getExtractValue(Agg, IdxList);
230 Constant *CreateInsertValue(Constant *Agg, Constant *Val, argument
232 return ConstantExpr::getInsertValue(Agg, Val, IdxList);
H A DNoFolder.h273 Instruction *CreateExtractValue(Constant *Agg, argument
275 return ExtractValueInst::Create(Agg, IdxList);
278 Instruction *CreateInsertValue(Constant *Agg, Constant *Val, argument
280 return InsertValueInst::Create(Agg, Val, IdxList);
H A DTargetFolder.h242 Constant *CreateExtractValue(Constant *Agg, argument
244 return Fold(ConstantExpr::getExtractValue(Agg, IdxList));
247 Constant *CreateInsertValue(Constant *Agg, Constant *Val, argument
249 return Fold(ConstantExpr::getInsertValue(Agg, Val, IdxList));
/external/swiftshader/third_party/LLVM/include/llvm/
H A DInstructions.h1699 inline ExtractValueInst(Value *Agg,
1703 inline ExtractValueInst(Value *Agg,
1715 static ExtractValueInst *Create(Value *Agg, argument
1720 ExtractValueInst(Agg, Idxs, NameStr, InsertBefore);
1722 static ExtractValueInst *Create(Value *Agg, argument
1726 return new ExtractValueInst(Agg, Idxs, NameStr, InsertAtEnd);
1733 static Type *getIndexedType(Type *Agg, ArrayRef<unsigned> Idxs);
1771 ExtractValueInst::ExtractValueInst(Value *Agg, argument
1775 : UnaryInstruction(checkGEPType(getIndexedType(Agg->getType(), Idxs)),
1776 ExtractValue, Agg, InsertBefor
1779 ExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
1831 Create(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &NameStr = �, Instruction *InsertBefore = 0) argument
1837 Create(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
1898 InsertValueInst(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &NameStr, Instruction *InsertBefore) argument
1908 InsertValueInst(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
[all...]
/external/llvm/lib/Analysis/
H A DCFLGraph.h440 auto *Agg = Inst.getOperand(0); local
442 addAssignEdge(Agg, &Inst);

Completed in 723 milliseconds

123