/external/llvm/lib/Transforms/Utils/ |
H A D | CtorUtils.cpp | 53 ConstantStruct::get(StructTy, makeArrayRef(CSVals, NumElts))); 92 ConstantStruct *CS = cast<ConstantStruct>(*i); 117 ConstantStruct *CS = cast<ConstantStruct>(*i);
|
H A D | ModuleUtils.cpp | 58 ConstantStruct::get(EltTy, makeArrayRef(CSVals, EltTy->getNumElements()));
|
H A D | ValueMapper.cpp | 167 if (isa<ConstantStruct>(C)) 168 return VM[V] = ConstantStruct::get(cast<StructType>(NewTy), Ops);
|
/external/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARCAPElim.cpp | 160 Function *F = dyn_cast<Function>(cast<ConstantStruct>(Op)->getOperand(1));
|
/external/llvm/include/llvm/IR/ |
H A D | Constants.h | 376 // 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 D | ExtractFunction.cpp | 218 ArrayElts.push_back(ConstantStruct::get(STy, Elts)); 240 if (ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i))){
|
/external/llvm/lib/LTO/ |
H A D | LTOModule.cpp | 193 const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer()); 230 const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer());
|
/external/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 204 ConstantStruct *Init = cast<ConstantStruct>(&U); 206 ConstantStruct::get(NewTy, Init->getOperand(0), Init->getOperand(1),
|
H A D | LLVMContextImpl.h | 278 typedef ConstantAggrUniqueMap<StructType, ConstantStruct> StructConstantsTy;
|
H A D | Constants.cpp | 206 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 D | CGExprConstant.cpp | 511 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 D | CGObjCMac.cpp | 2638 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 D | CGOpenMPRuntime.cpp | 63 llvm::Constant *Init = llvm::ConstantStruct::get(IdentTy, Values);
|
H A D | CGObjCGNU.cpp | 200 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 D | MicrosoftCXXABI.cpp | 1873 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 D | ShadowStackGC.cpp | 226 ConstantStruct::get(FrameMapTy, BaseElts), 233 Constant *FrameMap = ConstantStruct::get(STy, DescriptorElts);
|
H A D | GlobalMerge.cpp | 203 Constant *MergedInit = ConstantStruct::get(MergedTy, Inits);
|
/external/llvm/unittests/Linker/ |
H A D | LinkModulesTest.cpp | 143 GV->setInitializer(ConstantStruct::get(STy, F));
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 378 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 D | AddressSanitizer.cpp | 291 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 D | MergeFunctions.cpp | 566 const ConstantStruct *LS = cast<ConstantStruct>(L); 567 const ConstantStruct *RS = cast<ConstantStruct>(R);
|
/external/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 323 ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i)); 1194 if (const ConstantStruct *CPS = dyn_cast<ConstantStruct>(Init)) {
|
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXGenericToNVVM.cpp | 228 isa<ConstantStruct>(C)) {
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 1375 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 D | ConstantFolding.cpp | 315 if (ConstantStruct *CS = dyn_cast<ConstantStruct>(C)) { 1691 return ConstantStruct::get(cast<StructType>(Ty), Ops);
|