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

12

/external/llvm/lib/Transforms/Utils/
H A DCtorUtils.cpp53 ConstantStruct::get(StructTy, makeArrayRef(CSVals, NumElts)));
92 ConstantStruct *CS = cast<ConstantStruct>(*i);
117 ConstantStruct *CS = cast<ConstantStruct>(*i);
H A DModuleUtils.cpp58 ConstantStruct::get(EltTy, makeArrayRef(CSVals, EltTy->getNumElements()));
H A DValueMapper.cpp167 if (isa<ConstantStruct>(C))
168 return VM[V] = ConstantStruct::get(cast<StructType>(NewTy), Ops);
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAPElim.cpp160 Function *F = dyn_cast<Function>(cast<ConstantStruct>(Op)->getOperand(1));
/external/llvm/include/llvm/IR/
H A DConstants.h376 // ConstantStruct - Constant Struct Declarations
378 class ConstantStruct : public Constant { class in namespace:llvm
379 friend struct ConstantArrayCreator<ConstantStruct, StructType>;
380 ConstantStruct(const ConstantStruct &) LLVM_DELETED_FUNCTION;
382 ConstantStruct(StructType *T, ArrayRef<Constant *> Val);
384 // ConstantStruct accessors
427 struct OperandTraits<ConstantStruct> :
428 public VariadicOperandTraits<ConstantStruct> {
431 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(ConstantStruct, Constan
[all...]
/external/llvm/tools/bugpoint/
H A DExtractFunction.cpp218 ArrayElts.push_back(ConstantStruct::get(STy, Elts));
240 if (ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i))){
/external/llvm/lib/LTO/
H A DLTOModule.cpp193 const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer());
230 const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer());
/external/llvm/lib/IR/
H A DAutoUpgrade.cpp204 ConstantStruct *Init = cast<ConstantStruct>(&U);
206 ConstantStruct::get(NewTy, Init->getOperand(0), Init->getOperand(1),
H A DLLVMContextImpl.h278 typedef ConstantAggrUniqueMap<StructType, ConstantStruct> StructConstantsTy;
H A DConstants.cpp206 if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(this))
879 StructType *ConstantStruct::getTypeForElements(LLVMContext &Context,
891 StructType *ConstantStruct::getTypeForElements(ArrayRef<Constant*> V,
894 "ConstantStruct::getTypeForElements cannot be called on empty list");
899 ConstantStruct::ConstantStruct(StructType *T, ArrayRef<Constant *> V) function in class:ConstantStruct
901 OperandTraits<ConstantStruct>::op_end(this) - V.size(),
911 // ConstantStruct accessors.
912 Constant *ConstantStruct
[all...]
/external/clang/lib/CodeGen/
H A DCGExprConstant.cpp511 llvm::ConstantStruct::getTypeForElements(CGM.getLLVMContext(),
519 llvm::Constant *Result = llvm::ConstantStruct::get(STy, Elements);
633 return llvm::ConstantStruct::get(STy, Elts);
771 return llvm::ConstantStruct::get(SType, Elts);
1111 return llvm::ConstantStruct::get(STy, Complex);
1133 return llvm::ConstantStruct::get(STy, Complex);
1205 return llvm::ConstantStruct::get(SType, Elts);
1404 return llvm::ConstantStruct::get(structure, elements);
H A DCGObjCMac.cpp2638 llvm::Constant *Init = llvm::ConstantStruct::get(ObjCTypes.ProtocolTy,
2721 llvm::ConstantStruct::get(ObjCTypes.ProtocolExtensionTy, Values);
2761 llvm::Constant *Init = llvm::ConstantStruct::getAnon(Values);
2783 Properties.push_back(llvm::ConstantStruct::get(ObjCTypes.PropertyTy, Prop));
2811 Properties.push_back(llvm::ConstantStruct::get(ObjCTypes.PropertyTy,
2835 llvm::Constant *Init = llvm::ConstantStruct::getAnon(Values);
2880 return llvm::ConstantStruct::get(ObjCTypes.MethodDescriptionTy,
2896 llvm::Constant *Init = llvm::ConstantStruct::getAnon(Values);
2968 llvm::Constant *Init = llvm::ConstantStruct::get(ObjCTypes.CategoryTy,
3103 llvm::Constant *Init = llvm::ConstantStruct
[all...]
H A DCGOpenMPRuntime.cpp63 llvm::Constant *Init = llvm::ConstantStruct::get(IdentTy, Values);
H A DCGObjCGNU.cpp200 llvm::Constant *C = llvm::ConstantStruct::get(Ty, V);
1494 Methods.push_back(llvm::ConstantStruct::get(ObjCMethodTy, Elements));
1542 Ivars.push_back(llvm::ConstantStruct::get(ObjCIvarTy, Elements));
1667 Methods.push_back(llvm::ConstantStruct::get(ObjCMethodDescTy, Elements));
1855 OptionalProperties.push_back(llvm::ConstantStruct::get(PropertyMetadataTy, Fields));
1857 Properties.push_back(llvm::ConstantStruct::get(PropertyMetadataTy, Fields));
1866 llvm::ConstantStruct::getAnon(PropertyListInitFields);
1879 llvm::ConstantStruct::getAnon(OptionalPropertyListInitFields);
2103 Properties.push_back(llvm::ConstantStruct::get(PropertyMetadataTy, Fields));
2113 llvm::ConstantStruct
[all...]
H A DMicrosoftCXXABI.cpp1873 llvm::Constant *Res = llvm::ConstantStruct::getAnon(fields);
1909 return llvm::ConstantStruct::getAnon(fields);
2434 return llvm::ConstantStruct::getAnon(Fields);
2714 CHD->setInitializer(llvm::ConstantStruct::get(Type, Fields));
2790 BCD->setInitializer(llvm::ConstantStruct::get(Type, Fields));
2835 COL->setInitializer(llvm::ConstantStruct::get(Type, FieldsRef));
2871 llvm::ConstantStruct::get(TypeDescriptorType, Fields),
/external/llvm/lib/CodeGen/
H A DShadowStackGC.cpp226 ConstantStruct::get(FrameMapTy, BaseElts),
233 Constant *FrameMap = ConstantStruct::get(STy, DescriptorElts);
H A DGlobalMerge.cpp203 Constant *MergedInit = ConstantStruct::get(MergedTy, Inits);
/external/llvm/unittests/Linker/
H A DLinkModulesTest.cpp143 GV->setInitializer(ConstantStruct::get(STy, F));
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp378 Constant *Struct = ConstantStruct::get(ST, V);
392 Constant *Struct = ConstantStruct::get(ST, V);
420 ConstantStruct::get(cast<StructType>(II->getType()), V);
434 Constant *Struct = ConstantStruct::get(ST, V);
456 ConstantStruct::get(cast<StructType>(II->getType()), V);
486 Constant *Struct = ConstantStruct::get(cast<StructType>(II->getType()),V);
516 ConstantStruct::get(cast<StructType>(II->getType()), V);
/external/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp291 ConstantStruct *Contents =
292 cast<ConstantStruct>(SourceLocGV->getInitializer());
905 ConstantStruct *CS = cast<ConstantStruct>(OP);
1078 Constant *NewInitializer = ConstantStruct::get(
1107 Initializers[i] = ConstantStruct::get(
/external/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp566 const ConstantStruct *LS = cast<ConstantStruct>(L);
567 const ConstantStruct *RS = cast<ConstantStruct>(R);
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp323 ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i));
1194 if (const ConstantStruct *CPS = dyn_cast<ConstantStruct>(Init)) {
/external/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp228 isa<ConstantStruct>(C)) {
/external/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1375 ConstantStruct *CS = dyn_cast<ConstantStruct>(O);
1832 static void emitGlobalConstantStruct(const ConstantStruct *CS, AsmPrinter &AP) {
2001 if (const ConstantStruct *CVS = dyn_cast<ConstantStruct>(CV))
/external/llvm/lib/Analysis/
H A DConstantFolding.cpp315 if (ConstantStruct *CS = dyn_cast<ConstantStruct>(C)) {
1691 return ConstantStruct::get(cast<StructType>(Ty), Ops);

Completed in 3325 milliseconds

12