Home
last modified time | relevance | path

Searched refs:ConstantStruct (Results 1 – 25 of 57) sorted by relevance

123

/external/llvm/lib/Transforms/Utils/
DCtorUtils.cpp75 ConstantStruct *CS = cast<ConstantStruct>(*i); in parseGlobalCtors()
100 ConstantStruct *CS = cast<ConstantStruct>(*i); in findGlobalCtors()
DModuleUtils.cpp59 ConstantStruct::get(EltTy, makeArrayRef(CSVals, EltTy->getNumElements())); in appendToGlobalArray()
DValueMapper.cpp156 if (isa<ConstantStruct>(C)) in MapValue()
157 return VM[V] = ConstantStruct::get(cast<StructType>(NewTy), Ops); in MapValue()
/external/llvm/lib/ExecutionEngine/Orc/
DExecutionUtils.cpp47 ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(I)); in operator *()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp48 llvm::ConstantStruct *Base,
76 bool Build(ConstExprEmitter *Emitter, llvm::ConstantStruct *Base,
539 llvm::ConstantStruct::getTypeForElements(CGM.getLLVMContext(), in Finalize()
547 llvm::Constant *Result = llvm::ConstantStruct::get(STy, Elements); in Finalize()
558 llvm::ConstantStruct *Base, in BuildStruct()
674 return llvm::ConstantStruct::get(STy, Elts); in VisitCastExpr()
817 return llvm::ConstantStruct::get(SType, Elts); in EmitArrayInitialization()
898 return llvm::ConstantStruct::get(SType, Elts); in EmitDesignatedInitUpdater()
906 dyn_cast<llvm::ConstantStruct>(Base), Updater); in EmitDesignatedInitUpdater()
1115 llvm::ConstantStruct *Base, in Build()
[all …]
DCGObjCMac.cpp2754 llvm::Constant *Init = llvm::ConstantStruct::get(ObjCTypes.ProtocolTy, in GetOrEmitProtocol()
2829 llvm::ConstantStruct::get(ObjCTypes.ProtocolExtensionTy, Values); in EmitProtocolExtension()
2869 llvm::Constant *Init = llvm::ConstantStruct::getAnon(Values); in EmitProtocolList()
2891 Properties.push_back(llvm::ConstantStruct::get(ObjCTypes.PropertyTy, Prop)); in PushProtocolProperties()
2917 Properties.push_back(llvm::ConstantStruct::get(ObjCTypes.PropertyTy, Prop)); in EmitPropertyList()
2954 llvm::Constant *Init = llvm::ConstantStruct::getAnon(Values); in EmitPropertyList()
2999 return llvm::ConstantStruct::get(ObjCTypes.MethodDescriptionTy, in GetMethodDescriptionConstant()
3015 llvm::Constant *Init = llvm::ConstantStruct::getAnon(Values); in EmitMethodDescList()
3085 llvm::Constant *Init = llvm::ConstantStruct::get(ObjCTypes.CategoryTy, in GenerateCategory()
3278 llvm::Constant *Init = llvm::ConstantStruct::get(ObjCTypes.ClassTy, in GenerateClass()
[all …]
DCGObjCGNU.cpp198 llvm::Constant *C = llvm::ConstantStruct::get(Ty, V); in MakeGlobal()
1514 Methods.push_back(llvm::ConstantStruct::get(ObjCMethodTy, Elements)); in GenerateMethodList()
1563 Ivars.push_back(llvm::ConstantStruct::get(ObjCIvarTy, Elements)); in GenerateIvarList()
1690 Methods.push_back(llvm::ConstantStruct::get(ObjCMethodDescTy, Elements)); in GenerateProtocolMethodList()
1881 OptionalProperties.push_back(llvm::ConstantStruct::get(PropertyMetadataTy, Fields)); in GenerateProtocol()
1883 Properties.push_back(llvm::ConstantStruct::get(PropertyMetadataTy, Fields)); in GenerateProtocol()
1892 llvm::ConstantStruct::getAnon(PropertyListInitFields); in GenerateProtocol()
1905 llvm::ConstantStruct::getAnon(OptionalPropertyListInitFields); in GenerateProtocol()
2132 Properties.push_back(llvm::ConstantStruct::get(PropertyMetadataTy, Fields)); in GeneratePropertyList()
2142 llvm::ConstantStruct::getAnon(PropertyListInitFields); in GeneratePropertyList()
[all …]
DCGCUDANV.cpp260 llvm::ConstantStruct::get(FatbinWrapperTy, Values), in makeModuleCtorFunction()
DMicrosoftCXXABI.cpp2555 llvm::Constant *Res = llvm::ConstantStruct::getAnon(fields); in EmitNullMemberPointer()
2591 return llvm::ConstantStruct::getAnon(fields); in EmitFullMemberPointer()
3501 CHD->setInitializer(llvm::ConstantStruct::get(Type, Fields)); in getClassHierarchyDescriptor()
3582 BCD->setInitializer(llvm::ConstantStruct::get(Type, Fields)); in getBaseClassDescriptor()
3627 COL->setInitializer(llvm::ConstantStruct::get(Type, FieldsRef)); in getCompleteObjectLocator()
3719 llvm::ConstantStruct::get(TypeDescriptorType, Fields), in getAddrOfRTTIDescriptor()
3963 llvm::ConstantStruct::get(CTType, Fields), MangledName); in getCatchableType()
4081 llvm::ConstantStruct::get(CTAType, Fields), MangledName); in getCatchableTypeArray()
4148 llvm::ConstantStruct::get(TIType, Fields), StringRef(MangledName)); in getThrowInfo()
/external/llvm/include/llvm/IR/
DConstants.h400 class ConstantStruct : public Constant {
401 friend struct ConstantAggrKeyType<ConstantStruct>;
402 ConstantStruct(const ConstantStruct &) = delete;
409 ConstantStruct(StructType *T, ArrayRef<Constant *> Val);
451 struct OperandTraits<ConstantStruct> :
452 public VariadicOperandTraits<ConstantStruct> {
455 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(ConstantStruct, Constant)
DValue.def70 HANDLE_CONSTANT(ConstantStruct)
/external/llvm/tools/bugpoint/
DExtractFunction.cpp238 ArrayElts.push_back(ConstantStruct::get(STy, Elts)); in GetTorInit()
260 if (ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i))){ in SplitStaticCtorDtor()
/external/llvm/lib/LTO/
DLTOModule.cpp272 const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer()); in addObjCClass()
306 const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer()); in addObjCCategory()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCAPElim.cpp157 Function *F = dyn_cast<Function>(cast<ConstantStruct>(Op)->getOperand(1)); in runOnModule()
/external/llvm/lib/CodeGen/
DLowerEmuTLS.cpp153 ConstantStruct::get(EmuTlsVarType, ElementValueArray)); in addEmuTlsVar()
DShadowStackGCLowering.cpp218 ConstantStruct::get(FrameMapTy, BaseElts), in GetFrameMap()
224 Constant *FrameMap = ConstantStruct::get(STy, DescriptorElts); in GetFrameMap()
DGlobalMerge.cpp438 Constant *MergedInit = ConstantStruct::get(MergedTy, Inits); in doMerge()
/external/llvm/lib/IR/
DConstants.cpp271 if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(this)) in getAggregateElement()
962 StructType *ConstantStruct::getTypeForElements(LLVMContext &Context, in getTypeForElements()
974 StructType *ConstantStruct::getTypeForElements(ArrayRef<Constant*> V, in getTypeForElements()
982 ConstantStruct::ConstantStruct(StructType *T, ArrayRef<Constant *> V) in ConstantStruct() function in ConstantStruct
984 OperandTraits<ConstantStruct>::op_end(this) - V.size(), in ConstantStruct()
995 Constant *ConstantStruct::get(StructType *ST, ArrayRef<Constant*> V) { in get()
1023 Constant *ConstantStruct::get(StructType *T, ...) { in get()
1341 void ConstantStruct::destroyConstantImpl() { in destroyConstantImpl()
2883 Value *ConstantStruct::handleOperandChangeImpl(Value *From, Value *To, Use *U) { in handleOperandChangeImpl()
DConstantsContext.h359 template <> struct ConstantInfo<ConstantStruct> {
360 typedef ConstantAggrKeyType<ConstantStruct> ValType;
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp388 ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i)); in runStaticConstructorsDestructors()
1212 if (const ConstantStruct *CPS = dyn_cast<ConstantStruct>(Init)) { in InitializeMemory()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp714 const ConstantStruct *LS = cast<ConstantStruct>(L); in cmpConstants()
715 const ConstantStruct *RS = cast<ConstantStruct>(R); in cmpConstants()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1575 ConstantStruct *CS = dyn_cast<ConstantStruct>(O); in EmitXXStructorList()
1964 const ConstantStruct *CS, AsmPrinter &AP, in emitGlobalConstantStruct()
2234 if (const ConstantStruct *CVS = dyn_cast<ConstantStruct>(CV)) in emitGlobalConstantImpl()
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp808 auto LocStruct = ConstantStruct::getAnon(LocData); in createPrivateGlobalForSourceLoc()
1173 ConstantStruct *CS = cast<ConstantStruct>(OP); in createInitializerPoisonCalls()
1357 ConstantStruct::get(NewTy, G->getInitializer(), in InstrumentGlobals()
1387 Initializers[i] = ConstantStruct::get( in InstrumentGlobals()
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp234 isa<ConstantStruct>(C)) { in remapConstant()
/external/llvm/unittests/Linker/
DLinkModulesTest.cpp168 GV->setInitializer(ConstantStruct::get(STy, F)); in getInternal()

123