Searched refs:ConstantStruct (Results 1 - 25 of 42) sorted by relevance

12

/external/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp29 Constant *RuntimeCtorInit = ConstantStruct::get(
H A DValueMapper.cpp144 if (isa<ConstantStruct>(C))
145 return VM[V] = ConstantStruct::get(cast<StructType>(NewTy), Ops);
/external/llvm/include/llvm/
H A DConstants.h384 // 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 DExtractFunction.cpp217 ArrayElts.push_back(ConstantStruct::get(STy, Elts));
239 if (ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i))){
/external/llvm/lib/Transforms/Scalar/
H A DGlobalMerge.cpp150 Constant *MergedInit = ConstantStruct::get(MergedTy, Inits);
/external/llvm/lib/CodeGen/
H A DShadowStackGC.cpp225 ConstantStruct::get(FrameMapTy, BaseElts),
232 Constant *FrameMap = ConstantStruct::get(STy, DescriptorElts);
/external/clang/lib/CodeGen/
H A DCGExprConstant.cpp561 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 DCGObjCMac.cpp1984 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 DCGObjCGNU.cpp201 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 DCGExprComplex.cpp119 llvm::ConstantStruct *pair =
120 cast<llvm::ConstantStruct>(result.getValue());
H A DCodeGenModule.cpp456 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 DItaniumCXXABI.cpp455 return llvm::ConstantStruct::getAnon(Values);
527 return llvm::ConstantStruct::getAnon(MemPtr);
H A DCGDecl.cpp681 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 DProfilingUtils.cpp166 dtors.push_back(ConstantStruct::get(GlobalDtorElemTy, Elem));
H A DPathProfiling.cpp1319 ConstantStruct* functionEntry =
1320 (ConstantStruct*)ConstantStruct::get(at, entryArray);
H A DAddressSanitizer.cpp651 Constant *NewInitializer = ConstantStruct::get(
677 Initializers[i] = ConstantStruct::get(
/external/llvm/tools/lto/
H A DLTOModule.cpp333 ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer());
370 ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer());
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp345 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 DExecutionEngine.cpp314 ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i));
981 if (const ConstantStruct *CPS = dyn_cast<ConstantStruct>(Init)) {
/external/llvm/lib/VMCore/
H A DLLVMContextImpl.h271 typedef ConstantAggrUniqueMap<StructType, ConstantStruct> StructConstantsTy;
H A DConstants.cpp162 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 DAsmPrinter.cpp1300 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 DGlobalOpt.cpp2160 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 DConstantFolding.cpp313 if (ConstantStruct *CS = dyn_cast<ConstantStruct>(C)) {
1458 return ConstantStruct::get(cast<StructType>(F->getReturnType()), Ops);
/external/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1826 isa<ConstantStruct>(CPV)) {
1867 if (isa<ConstantStruct>(CPV)) {

Completed in 1073 milliseconds

12