Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Constant

52   Constant *GetFrameMap(Function &F);
148 Constant *PersFn = F.getParent()->getOrInsertFunction(
195 Constant *ShadowStackGCLowering::GetFrameMap(Function &F) {
201 SmallVector<Constant *, 16> Metadata;
203 Constant *C = cast<Constant>(Roots[I].first->getArgOperand(1));
212 Constant *BaseElts[] = {
217 Constant *DescriptorElts[] = {
224 Constant *FrameMap = ConstantStruct::get(STy, DescriptorElts);
239 Constant *GV = new GlobalVariable(*F.getParent(), FrameMap->getType(), true,
243 Constant *GEPIndices[2] = {
287 // FrameMap *Map; // Pointer to constant FrameMap.
306 Constant::getNullValue(StackEntryPtrTy), "llvm_gc_root_chain");
308 Head->setInitializer(Constant::getNullValue(StackEntryPtrTy));
316 if (Constant *C = dyn_cast<Constant>(V))
359 assert(isa<GetElementPtrInst>(Val) && "Unexpected folded constant");
371 assert(isa<GetElementPtrInst>(Val) && "Unexpected folded constant");
393 // Build the constant map and figure the type of the shadow stack entry.