Home
last modified time | relevance | path

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

1234

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCtorUtils.cpp72 ConstantStruct *CS = cast<ConstantStruct>(V); in parseGlobalCtors()
99 ConstantStruct *CS = cast<ConstantStruct>(V); in findGlobalCtors()
H A DSanitizerStats.cpp84 ConstantStruct::getAnon( in finish()
H A DFunctionComparator.cpp330 const ConstantStruct *LS = cast<ConstantStruct>(L); in cmpConstants()
331 const ConstantStruct *RS = cast<ConstantStruct>(R); in cmpConstants()
H A DValueMapper.cpp521 if (isa<ConstantStruct>(C)) in mapValue()
522 return getVM()[V] = ConstantStruct::get(cast<StructType>(NewTy), Ops); in mapValue()
1042 auto *S = cast<ConstantStruct>(V); in mapAppendingVariable()
1046 NewV = ConstantStruct::get(cast<StructType>(EltTy), E1, E2, Null); in mapAppendingVariable()
H A DLowerGlobalDtors.cpp101 auto *CS = dyn_cast<ConstantStruct>(O); in runImpl()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Coroutines/
H A DCoroCleanup.cpp86 auto *Target = cast<ConstantStruct>( in lower()
89 auto *Source = cast<ConstantStruct>( in lower()
98 auto *NewFuncPtrStruct = ConstantStruct::get( in lower()
/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp91 bool fillConstantStruct(const DataLayout &DL, const ConstantStruct *CS,
359 if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(Init)) in getConstantFieldValue()
424 if (const ConstantStruct *CVS = dyn_cast<ConstantStruct>(CV)) in fillGenericConstant()
456 const ConstantStruct *CS, in fillConstantStruct()
/openbsd-src/gnu/llvm/llvm/tools/bugpoint/
H A DExtractFunction.cpp237 ArrayElts.push_back(ConstantStruct::get(STy, Elts)); in GetTorInit()
259 if (ConstantStruct *CS = in SplitStaticCtorDtor()
260 dyn_cast<ConstantStruct>(InitList->getOperand(i))) { in SplitStaticCtorDtor()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DAnnotation2Metadata.cpp47 auto *OpC = dyn_cast<ConstantStruct>(&Op); in convertAnnotation2Metadata()
H A DGlobalSplit.cpp48 auto *Init = dyn_cast_or_null<ConstantStruct>(GV.getInitializer()); in splitGlobal()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUCtorDtorLowering.cpp65 auto *CS = cast<ConstantStruct>(V); in createInitOrFiniKernel()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAPElim.cpp130 Function *F = dyn_cast<Function>(cast<ConstantStruct>(Op)->getOperand(1)); in runImpl()
/openbsd-src/gnu/llvm/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp615 if (isa<ConstantStruct>(L)) { in equivalentAsOperands()
616 const ConstantStruct *CSL = cast<ConstantStruct>(L); in equivalentAsOperands()
617 const ConstantStruct *CSR = cast<ConstantStruct>(R); in equivalentAsOperands()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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 DCGExprConstant.cpp504 llvm::StructType *STy = llvm::ConstantStruct::getTypeForElements( in buildFrom()
514 return llvm::ConstantStruct::get(STy, Packed ? PackedElems : UnpackedElems); in buildFrom()
542 Elems[First] = llvm::ConstantStruct::get(STy, Elems[First]); in condense()
1006 return llvm::ConstantStruct::get(SType, Elements); in EmitArrayConstant()
1101 return llvm::ConstantStruct::get(STy, Elts); in VisitCastExpr()
1729 return llvm::ConstantStruct::getAnon(elts); in emitForMemory()
2095 return llvm::ConstantStruct::get(STy, Complex); in tryEmitPrivate()
2118 return llvm::ConstantStruct::get(STy, Complex); in tryEmitPrivate()
2321 return llvm::ConstantStruct::get(structure, elements); in EmitNullConstant()
H A DCGHLSLRuntime.cpp417 ConstantStruct *CS = cast<ConstantStruct>(Ctor); in gatherFunctions()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DShadowStackGCLowering.cpp130 ConstantStruct::get(FrameMapTy, BaseElts), in GetFrameMap()
136 Constant *FrameMap = ConstantStruct::get(STy, DescriptorElts); in GetFrameMap()
H A DLowerEmuTLS.cpp153 ConstantStruct::get(EmuTlsVarType, ElementValueArray)); in addEmuTlsVar()
/openbsd-src/gnu/llvm/clang/tools/clang-linker-wrapper/
H A DOffloadWrapper.cpp199 ImagesInits.push_back(ConstantStruct::get(getDeviceImageTy(M), ImageB, in createBinDesc()
217 auto *DescInit = ConstantStruct::get( in createBinDesc()
321 ConstantStruct::get(getFatbinWrapperTy(M), FatbinWrapper); in createFatbinDesc()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DValue.def87 HANDLE_CONSTANT(ConstantStruct)
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/DirectXIRPasses/
H A DPointerTypeAnalysis.cpp142 if (auto *CS = dyn_cast<ConstantStruct>(C)) { in classifyConstantWithOpaquePtr()
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVAsmPrinter.cpp471 ConstantStruct *CS = cast<ConstantStruct>(Op); in outputAnnotations()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp53 ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(I)); in operator *()

1234