Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCtorUtils.cpp69 ConstantStruct *CS = cast<ConstantStruct>(V); in parseGlobalCtors()
96 ConstantStruct *CS = cast<ConstantStruct>(V); in findGlobalCtors()
H A DSanitizerStats.cpp84 ConstantStruct::getAnon( in finish()
H A DFunctionComparator.cpp390 const ConstantStruct *LS = cast<ConstantStruct>(L); in cmpConstants()
391 const ConstantStruct *RS = cast<ConstantStruct>(R); in cmpConstants()
H A DValueMapper.cpp523 if (isa<ConstantStruct>(C)) in mapValue()
524 return getVM()[V] = ConstantStruct::get(cast<StructType>(NewTy), Ops); in mapValue()
1103 auto *S = cast<ConstantStruct>(V); in mapAppendingVariable()
1107 NewV = ConstantStruct::get(cast<StructType>(EltTy), E1, E2, Null); in mapAppendingVariable()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroCleanup.cpp85 auto *Target = cast<ConstantStruct>( in lower()
88 auto *Source = cast<ConstantStruct>( in lower()
97 auto *NewFuncPtrStruct = ConstantStruct::get( in lower()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp88 bool fillConstantStruct(const DataLayout &DL, const ConstantStruct *CS,
354 if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(Init)) in getConstantFieldValue()
419 if (const ConstantStruct *CVS = dyn_cast<ConstantStruct>(CV)) in fillGenericConstant()
451 const ConstantStruct *CS, in fillConstantStruct()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAnnotation2Metadata.cpp45 auto *OpC = dyn_cast<ConstantStruct>(&Op); in convertAnnotation2Metadata()
H A DGlobalSplit.cpp46 auto *Init = dyn_cast_or_null<ConstantStruct>(GV.getInitializer()); in splitGlobal()
H A DOpenMPOpt.cpp232 RETURNTYPE *get##MEMBER##FromKernelEnvironment(ConstantStruct *KernelEnvC) { \
237 KERNEL_ENVIRONMENT_GETTER(Configuration, ConstantStruct) in KERNEL_ENVIRONMENT_GETTER()
243 ConstantStruct *KernelEnvC) { \ in KERNEL_ENVIRONMENT_GETTER()
244 ConstantStruct *ConfigC = \ in KERNEL_ENVIRONMENT_GETTER()
267 ConstantStruct *getKernelEnvironementFromKernelInitCB(CallBase *KernelInitCB) { in getKernelEnvironementFromKernelInitCB()
270 return cast<ConstantStruct>(KernelEnvGV->getInitializer()); in getKernelEnvironementFromKernelInitCB()
706 ConstantStruct *KernelEnvC = nullptr;
2940 ConstantStruct *KernelEnvC = in isInitialThreadOnlyEdge()
3668 void setConfigurationOfKernelEnvironment(ConstantStruct *ConfigC) { in setConfigurationOfKernelEnvironment()
3672 KernelEnvC = cast<ConstantStruct>(NewKernelEnvC); in setConfigurationOfKernelEnvironment()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DExtractFunction.cpp236 ArrayElts.push_back(ConstantStruct::get(STy, Elts)); in GetTorInit()
258 if (ConstantStruct *CS = in SplitStaticCtorDtor()
259 dyn_cast<ConstantStruct>(InitList->getOperand(i))) { in SplitStaticCtorDtor()
/freebsd/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp613 if (isa<ConstantStruct>(L)) { in equivalentAsOperands()
614 const ConstantStruct *CSL = cast<ConstantStruct>(L); in equivalentAsOperands()
615 const ConstantStruct *CSR = cast<ConstantStruct>(R); in equivalentAsOperands()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOModule.cpp269 const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer()); in addObjCClass()
303 const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer()); in addObjCCategory()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAPElim.cpp130 Function *F = dyn_cast<Function>(cast<ConstantStruct>(Op)->getOperand(1)); in runImpl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DPatternInit.cpp82 return llvm::ConstantStruct::get(StructTy, Struct); in initializationPatternFor()
H A DConstantInitBuilder.cpp291 constant = llvm::ConstantStruct::get(ty, elts); in finishStruct()
293 constant = llvm::ConstantStruct::getAnon(elts, Packed); in finishStruct()
H A DCGHLSLRuntime.cpp417 ConstantStruct *CS = cast<ConstantStruct>(Ctor); in gatherFunctions()
H A DCGExprConstant.cpp506 llvm::StructType *STy = llvm::ConstantStruct::getTypeForElements( in buildFrom()
516 return llvm::ConstantStruct::get(STy, Packed ? PackedElems : UnpackedElems); in buildFrom()
544 Elems[First] = llvm::ConstantStruct::get(STy, Elems[First]); in condense()
1027 return llvm::ConstantStruct::get(SType, Elements); in EmitArrayConstant()
1139 return llvm::ConstantStruct::get(STy, Elts); in VisitCastExpr()
1890 return llvm::ConstantStruct::getAnon(elts); in emitForMemory()
2352 return llvm::ConstantStruct::get(STy, Complex); in tryEmitPrivate()
2375 return llvm::ConstantStruct::get(STy, Complex); in tryEmitPrivate()
2589 return llvm::ConstantStruct::get(structure, elements); in EmitNullConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64GlobalsTagging.cpp102 Initializer = ConstantStruct::getAnon({Initializer, Padding});
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DShadowStackGCLowering.cpp172 ConstantStruct::get(FrameMapTy, BaseElts),
178 Constant *FrameMap = ConstantStruct::get(STy, DescriptorElts); in doInitialization()
H A DLowerEmuTLS.cpp172 EmuTlsVar->setInitializer(ConstantStruct::get(EmuTlsVarType, ElementValues)); in addEmuTlsVar()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DReplaceConstant.cpp32 } else if (isa<ConstantStruct>(C) || isa<ConstantArray>(C)) { in expandUser()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Offloading/
H A DUtility.cpp60 Constant *EntryInitializer = ConstantStruct::get(getEntryTy(M), EntryData); in getOffloadingEntryInitializer()
H A DOffloadWrapper.cpp161 ImagesInits.push_back(ConstantStruct::get(getDeviceImageTy(M), ImageB, in createBinDesc()
179 auto *DescInit = ConstantStruct::get( in createBinDesc()
293 ConstantStruct::get(getFatbinWrapperTy(M), FatbinWrapper); in createFatbinDesc()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/
H A DPointerTypeAnalysis.cpp144 if (auto *CS = dyn_cast<ConstantStruct>(C)) { in classifyConstantWithOpaquePtr()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DValue.def88 HANDLE_CONSTANT(ConstantStruct)

1234