Home
last modified time | relevance | path

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

123456

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DCtorUtils.cpp74 ConstantStruct *CS = cast<ConstantStruct>(V); in parseGlobalCtors()
99 ConstantStruct *CS = cast<ConstantStruct>(V); in findGlobalCtors()
DModuleUtils.cpp48 ConstantStruct::get(EltTy, Ctor->getAggregateElement((unsigned)0), in appendToGlobalArray()
70 ConstantStruct::get(EltTy, makeArrayRef(CSVals, EltTy->getNumElements())); in appendToGlobalArray()
/external/llvm/lib/Transforms/Utils/
DCtorUtils.cpp75 ConstantStruct *CS = cast<ConstantStruct>(*i); in parseGlobalCtors()
100 ConstantStruct *CS = cast<ConstantStruct>(*i); in findGlobalCtors()
DModuleUtils.cpp47 Ctor = ConstantStruct::get( in appendToGlobalArray()
70 ConstantStruct::get(EltTy, makeArrayRef(CSVals, EltTy->getNumElements())); in appendToGlobalArray()
/external/swiftshader/third_party/LLVM/include/llvm/
DConstants.h398 class ConstantStruct : public Constant {
399 friend struct ConstantCreator<ConstantStruct, StructType,
401 ConstantStruct(const ConstantStruct &); // DO NOT IMPLEMENT
403 ConstantStruct(StructType *T, ArrayRef<Constant *> Val);
442 static inline bool classof(const ConstantStruct *) { return true; }
449 struct OperandTraits<ConstantStruct> :
450 public VariadicOperandTraits<ConstantStruct> {
453 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(ConstantStruct, Constant)
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DValueList.cpp198 } else if (ConstantStruct *UserCS = dyn_cast<ConstantStruct>(UserC)) { in resolveConstantForwardRefs()
199 NewC = ConstantStruct::get(UserCS->getType(), NewOps); in resolveConstantForwardRefs()
/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,
544 llvm::ConstantStruct::getTypeForElements(CGM.getLLVMContext(), in Finalize()
552 llvm::Constant *Result = llvm::ConstantStruct::get(STy, Elements); in Finalize()
564 llvm::ConstantStruct *Base, in BuildStruct()
680 return llvm::ConstantStruct::get(STy, Elts); in VisitCastExpr()
830 return llvm::ConstantStruct::get(SType, Elts); in EmitArrayInitialization()
911 return llvm::ConstantStruct::get(SType, Elts); in EmitDesignatedInitUpdater()
919 dyn_cast<llvm::ConstantStruct>(Base), Updater); in EmitDesignatedInitUpdater()
1128 llvm::ConstantStruct *Base, in Build()
[all …]
DCGObjCMac.cpp2779 llvm::Constant *Init = llvm::ConstantStruct::get(ObjCTypes.ProtocolTy, in GetOrEmitProtocol()
2858 llvm::ConstantStruct::get(ObjCTypes.ProtocolExtensionTy, Values); in EmitProtocolExtension()
2898 llvm::Constant *Init = llvm::ConstantStruct::getAnon(Values); in EmitProtocolList()
2925 Properties.push_back(llvm::ConstantStruct::get(ObjCTypes.PropertyTy, Prop)); in PushProtocolProperties()
2961 Properties.push_back(llvm::ConstantStruct::get(ObjCTypes.PropertyTy, Prop)); in EmitPropertyList()
3005 llvm::Constant *Init = llvm::ConstantStruct::getAnon(Values); in EmitPropertyList()
3050 return llvm::ConstantStruct::get(ObjCTypes.MethodDescriptionTy, in GetMethodDescriptionConstant()
3066 llvm::Constant *Init = llvm::ConstantStruct::getAnon(Values); in EmitMethodDescList()
3140 llvm::Constant *Init = llvm::ConstantStruct::get(ObjCTypes.CategoryTy, in GenerateCategory()
3334 llvm::Constant *Init = llvm::ConstantStruct::get(ObjCTypes.ClassTy, in GenerateClass()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/
DBPFISelDAGToDAG.cpp92 bool fillConstantStruct(const DataLayout &DL, const ConstantStruct *CS,
386 if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(Init)) in getConstantFieldValue()
451 if (const ConstantStruct *CVS = dyn_cast<ConstantStruct>(CV)) in fillGenericConstant()
483 const ConstantStruct *CS, in fillConstantStruct()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerGlobalDtors.cpp82 ConstantStruct *CS = dyn_cast<ConstantStruct>(O); in runOnModule()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DELFWriter.h25 class ConstantStruct; variable
229 void EmitGlobalConstantStruct(const ConstantStruct *CVS,
DELFWriter.cpp419 void ELFWriter::EmitGlobalConstantStruct(const ConstantStruct *CVS, in EmitGlobalConstantStruct()
459 } else if (const ConstantStruct *CVS = dyn_cast<ConstantStruct>(CV)) { in EmitGlobalConstant()
670 ConstantStruct *CS = cast<ConstantStruct>(InitList->getOperand(i)); in EmitXXStructorList()
/external/swiftshader/third_party/LLVM/tools/bugpoint/
DExtractFunction.cpp185 ArrayElts.push_back(ConstantStruct::get(STy, Elts)); in GetTorInit()
207 if (ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i))){ in SplitStaticCtorDtor()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/
DExtractFunction.cpp238 ArrayElts.push_back(ConstantStruct::get(STy, Elts)); in GetTorInit()
260 if (ConstantStruct *CS = in SplitStaticCtorDtor()
261 dyn_cast<ConstantStruct>(InitList->getOperand(i))) { in SplitStaticCtorDtor()
/external/llvm/tools/bugpoint/
DExtractFunction.cpp240 ArrayElts.push_back(ConstantStruct::get(STy, Elts)); in GetTorInit()
262 if (ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i))){ in SplitStaticCtorDtor()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DValueMapper.cpp144 if (isa<ConstantStruct>(C)) in MapValue()
145 return VM[V] = ConstantStruct::get(cast<StructType>(NewTy), Ops); in MapValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DExecutionUtils.cpp88 ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(I)); in operator *()
/external/llvm/lib/LTO/
DLTOModule.cpp274 const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer()); in addObjCClass()
308 const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer()); in addObjCCategory()
/external/swiftshader/third_party/LLVM/tools/lto/
DLTOModule.cpp209 if (ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer())) { in addObjCClass()
243 if (ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer())) { in addObjCCategory()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTOModule.cpp264 const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer()); in addObjCClass()
298 const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer()); in addObjCCategory()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroInstr.h139 ConstantStruct *OutlinedParts = nullptr;
154 if ((Result.OutlinedParts = dyn_cast<ConstantStruct>(Initializer))) in getInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/
DObjCARCAPElim.cpp162 Function *F = dyn_cast<Function>(cast<ConstantStruct>(Op)->getOperand(1)); in runOnModule()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCAPElim.cpp160 Function *F = dyn_cast<Function>(cast<ConstantStruct>(Op)->getOperand(1)); in runOnModule()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DShadowStackGCLowering.cpp125 ConstantStruct::get(FrameMapTy, BaseElts), in GetFrameMap()
131 Constant *FrameMap = ConstantStruct::get(STy, DescriptorElts); in GetFrameMap()

123456