Lines Matching refs:TypeMap
27 // TypeMap implementation.
378 TypeMapTy TypeMap;
487 TypeMap(Set), GValMaterializer(*this), LValMaterializer(*this),
489 Mapper(ValueMap, RF_MoveDistinctMDs | RF_IgnoreMissingLocals, &TypeMap,
587 new GlobalVariable(DstM, TypeMap.get(SGVar->getValueType()),
601 return Function::Create(TypeMap.get(SF->getFunctionType()),
609 auto *Ty = TypeMap.get(SGA->getValueType());
627 DstM, TypeMap.get(SGV->getValueType()),
670 TypeMap.addTypeMapping(DGV->getType(), SGV.getType());
677 TypeMap.addTypeMapping(DAT->getElementType(), SAT->getElementType());
682 TypeMap.addTypeMapping(DGV->getType(), SGV.getType());
686 TypeMap.addTypeMapping(DGV->getType(), SGV.getType());
726 if (TypeMap.DstStructTypesSet.hasType(DST))
727 TypeMap.addTypeMapping(DST, ST);
732 TypeMap.linkDefinedTypeBodies();
747 Type *EltTy = cast<ArrayType>(TypeMap.get(SrcGV->getValueType()))
832 Constant *Ret = ConstantExpr::getBitCast(NG, TypeMap.get(SrcGV->getType()));
934 C = ConstantExpr::getBitCast(NewGV, TypeMap.get(SGV->getType()));