/external/llvm/lib/Transforms/Utils/ |
D | CtorUtils.cpp | 75 ConstantStruct *CS = cast<ConstantStruct>(*i); in parseGlobalCtors() 100 ConstantStruct *CS = cast<ConstantStruct>(*i); in findGlobalCtors()
|
D | ModuleUtils.cpp | 59 ConstantStruct::get(EltTy, makeArrayRef(CSVals, EltTy->getNumElements())); in appendToGlobalArray()
|
D | ValueMapper.cpp | 156 if (isa<ConstantStruct>(C)) in MapValue() 157 return VM[V] = ConstantStruct::get(cast<StructType>(NewTy), Ops); in MapValue()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | ExecutionUtils.cpp | 47 ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(I)); in operator *()
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 48 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 …]
|
D | CGObjCMac.cpp | 2754 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 …]
|
D | CGObjCGNU.cpp | 198 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 …]
|
D | CGCUDANV.cpp | 260 llvm::ConstantStruct::get(FatbinWrapperTy, Values), in makeModuleCtorFunction()
|
D | MicrosoftCXXABI.cpp | 2555 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/ |
D | Constants.h | 400 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)
|
D | Value.def | 70 HANDLE_CONSTANT(ConstantStruct)
|
/external/llvm/tools/bugpoint/ |
D | ExtractFunction.cpp | 238 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/ |
D | LTOModule.cpp | 272 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/ |
D | ObjCARCAPElim.cpp | 157 Function *F = dyn_cast<Function>(cast<ConstantStruct>(Op)->getOperand(1)); in runOnModule()
|
/external/llvm/lib/CodeGen/ |
D | LowerEmuTLS.cpp | 153 ConstantStruct::get(EmuTlsVarType, ElementValueArray)); in addEmuTlsVar()
|
D | ShadowStackGCLowering.cpp | 218 ConstantStruct::get(FrameMapTy, BaseElts), in GetFrameMap() 224 Constant *FrameMap = ConstantStruct::get(STy, DescriptorElts); in GetFrameMap()
|
D | GlobalMerge.cpp | 438 Constant *MergedInit = ConstantStruct::get(MergedTy, Inits); in doMerge()
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 271 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()
|
D | ConstantsContext.h | 359 template <> struct ConstantInfo<ConstantStruct> { 360 typedef ConstantAggrKeyType<ConstantStruct> ValType;
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 388 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/ |
D | MergeFunctions.cpp | 714 const ConstantStruct *LS = cast<ConstantStruct>(L); in cmpConstants() 715 const ConstantStruct *RS = cast<ConstantStruct>(R); in cmpConstants()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 1575 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/ |
D | AddressSanitizer.cpp | 808 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/ |
D | NVPTXGenericToNVVM.cpp | 234 isa<ConstantStruct>(C)) { in remapConstant()
|
/external/llvm/unittests/Linker/ |
D | LinkModulesTest.cpp | 168 GV->setInitializer(ConstantStruct::get(STy, F)); in getInternal()
|