/external/llvm/lib/Transforms/Utils/ |
H A D | ModuleUtils.cpp | 29 Constant *RuntimeCtorInit = ConstantStruct::get(
|
H A D | ValueMapper.cpp | 144 if (isa<ConstantStruct>(C)) 145 return VM[V] = ConstantStruct::get(cast<StructType>(NewTy), Ops);
|
/external/llvm/include/llvm/ |
H A D | Constants.h | 384 // ConstantStruct - Constant Struct Declarations 386 class ConstantStruct : public Constant { class in namespace:llvm 387 friend struct ConstantArrayCreator<ConstantStruct, StructType>; 388 ConstantStruct(const ConstantStruct &); // DO NOT IMPLEMENT 390 ConstantStruct(StructType *T, ArrayRef<Constant *> Val); 392 // ConstantStruct accessors 429 static inline bool classof(const ConstantStruct *) { return true; } 436 struct OperandTraits<ConstantStruct> : 437 public VariadicOperandTraits<ConstantStruct> { [all...] |
/external/llvm/tools/bugpoint/ |
H A D | ExtractFunction.cpp | 217 ArrayElts.push_back(ConstantStruct::get(STy, Elts)); 239 if (ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i))){
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | GlobalMerge.cpp | 150 Constant *MergedInit = ConstantStruct::get(MergedTy, Inits);
|
/external/llvm/lib/CodeGen/ |
H A D | ShadowStackGC.cpp | 225 ConstantStruct::get(FrameMapTy, BaseElts), 232 Constant *FrameMap = ConstantStruct::get(STy, DescriptorElts);
|
/external/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 561 llvm::ConstantStruct::getTypeForElements(CGM.getLLVMContext(), 569 llvm::Constant *Result = llvm::ConstantStruct::get(STy, Elements); 683 return llvm::ConstantStruct::get(STy, Elts); 811 return llvm::ConstantStruct::get(SType, Elts); 1127 return llvm::ConstantStruct::get(STy, Complex); 1148 return llvm::ConstantStruct::get(STy, Complex); 1218 return llvm::ConstantStruct::get(SType, Elts); 1423 return llvm::ConstantStruct::get(structure, elements);
|
H A D | CGObjCMac.cpp | 1984 llvm::Constant *Init = llvm::ConstantStruct::get(ObjCTypes.ProtocolTy, 2065 llvm::ConstantStruct::get(ObjCTypes.ProtocolExtensionTy, Values); 2106 llvm::Constant *Init = llvm::ConstantStruct::getAnon(Values); 2131 Properties.push_back(llvm::ConstantStruct::get(ObjCTypes.PropertyTy, Prop)); 2161 Properties.push_back(llvm::ConstantStruct::get(ObjCTypes.PropertyTy, 2190 llvm::Constant *Init = llvm::ConstantStruct::getAnon(Values); 2237 return llvm::ConstantStruct::get(ObjCTypes.MethodDescriptionTy, 2253 llvm::Constant *Init = llvm::ConstantStruct::getAnon(Values); 2328 llvm::Constant *Init = llvm::ConstantStruct::get(ObjCTypes.CategoryTy, 2447 llvm::Constant *Init = llvm::ConstantStruct [all...] |
H A D | CGObjCGNU.cpp | 201 llvm::Constant *C = llvm::ConstantStruct::get(Ty, V); 1352 Methods.push_back(llvm::ConstantStruct::get(ObjCMethodTy, Elements)); 1400 Ivars.push_back(llvm::ConstantStruct::get(ObjCIvarTy, Elements)); 1525 Methods.push_back(llvm::ConstantStruct::get(ObjCMethodDescTy, Elements)); 1721 OptionalProperties.push_back(llvm::ConstantStruct::get(PropertyMetadataTy, Fields)); 1723 Properties.push_back(llvm::ConstantStruct::get(PropertyMetadataTy, Fields)); 1732 llvm::ConstantStruct::getAnon(PropertyListInitFields); 1745 llvm::ConstantStruct::getAnon(OptionalPropertyListInitFields); 1979 Properties.push_back(llvm::ConstantStruct::get(PropertyMetadataTy, Fields)); 1989 llvm::ConstantStruct [all...] |
H A D | CGExprComplex.cpp | 119 llvm::ConstantStruct *pair = 120 cast<llvm::ConstantStruct>(result.getValue());
|
H A D | CodeGenModule.cpp | 456 Ctors.push_back(llvm::ConstantStruct::get(CtorStructTy, S)); 749 // Create a new global variable for the ConstantStruct in the Module. 797 // Create the ConstantStruct for the global annotation. 804 return llvm::ConstantStruct::getAnon(Fields); 2112 C = llvm::ConstantStruct::get(STy, Fields); 2232 C = llvm::ConstantStruct::get(NSConstantStringType, Fields);
|
H A D | ItaniumCXXABI.cpp | 455 return llvm::ConstantStruct::getAnon(Values); 527 return llvm::ConstantStruct::getAnon(MemPtr);
|
H A D | CGDecl.cpp | 681 if (isa<llvm::ConstantArray>(Init) || isa<llvm::ConstantStruct>(Init)) { 732 assert((isa<llvm::ConstantStruct>(Init) || isa<llvm::ConstantArray>(Init)) &&
|
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | ProfilingUtils.cpp | 166 dtors.push_back(ConstantStruct::get(GlobalDtorElemTy, Elem));
|
H A D | PathProfiling.cpp | 1319 ConstantStruct* functionEntry = 1320 (ConstantStruct*)ConstantStruct::get(at, entryArray);
|
H A D | AddressSanitizer.cpp | 651 Constant *NewInitializer = ConstantStruct::get( 677 Initializers[i] = ConstantStruct::get(
|
/external/llvm/tools/lto/ |
H A D | LTOModule.cpp | 333 ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer()); 370 ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer());
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 345 Constant *Struct = ConstantStruct::get(ST, V); 359 Constant *Struct = ConstantStruct::get(ST, V); 387 ConstantStruct::get(cast<StructType>(II->getType()), V); 408 ConstantStruct::get(cast<StructType>(II->getType()), V); 438 Constant *Struct = ConstantStruct::get(cast<StructType>(II->getType()),V); 468 ConstantStruct::get(cast<StructType>(II->getType()), V);
|
/external/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 314 ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i)); 981 if (const ConstantStruct *CPS = dyn_cast<ConstantStruct>(Init)) {
|
/external/llvm/lib/VMCore/ |
H A D | LLVMContextImpl.h | 271 typedef ConstantAggrUniqueMap<StructType, ConstantStruct> StructConstantsTy;
|
H A D | Constants.cpp | 162 if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(this)) 784 StructType *ConstantStruct::getTypeForElements(LLVMContext &Context, 796 StructType *ConstantStruct::getTypeForElements(ArrayRef<Constant*> V, 799 "ConstantStruct::getTypeForElements cannot be called on empty list"); 804 ConstantStruct::ConstantStruct(StructType *T, ArrayRef<Constant *> V) function in class:ConstantStruct 806 OperandTraits<ConstantStruct>::op_end(this) - V.size(), 816 // ConstantStruct accessors. 817 Constant *ConstantStruct [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 1300 ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i)); 1728 static void emitGlobalConstantStruct(const ConstantStruct *CS, 1895 if (const ConstantStruct *CVS = dyn_cast<ConstantStruct>(CV))
|
/external/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 2160 ConstantStruct *CS = cast<ConstantStruct>(*i); 2186 ConstantStruct *CS = cast<ConstantStruct>(*i); 2218 CAList.push_back(ConstantStruct::get(StructTy, CSVals)); 2278 if (isa<ConstantArray>(C) || isa<ConstantStruct>(C) || 2409 return ConstantStruct::get(STy, Elts);
|
/external/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 313 if (ConstantStruct *CS = dyn_cast<ConstantStruct>(C)) { 1458 return ConstantStruct::get(cast<StructType>(F->getReturnType()), Ops);
|
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 1826 isa<ConstantStruct>(CPV)) { 1867 if (isa<ConstantStruct>(CPV)) {
|