Home
last modified time | relevance | path

Searched refs:TruncTy (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/CodeGen/
DCGStmt.cpp2058 llvm::Type *TruncTy = ResultTruncRegTypes[i]; in EmitAsmStmt() local
2062 if (TruncTy->isFloatingPointTy()) in EmitAsmStmt()
2063 Tmp = Builder.CreateFPTrunc(Tmp, TruncTy); in EmitAsmStmt()
2064 else if (TruncTy->isPointerTy() && Tmp->getType()->isIntegerTy()) { in EmitAsmStmt()
2065 uint64_t ResSize = CGM.getDataLayout().getTypeSizeInBits(TruncTy); in EmitAsmStmt()
2068 Tmp = Builder.CreateIntToPtr(Tmp, TruncTy); in EmitAsmStmt()
2069 } else if (Tmp->getType()->isPointerTy() && TruncTy->isIntegerTy()) { in EmitAsmStmt()
2073 Tmp = Builder.CreateTrunc(Tmp, TruncTy); in EmitAsmStmt()
2074 } else if (TruncTy->isIntegerTy()) { in EmitAsmStmt()
2075 Tmp = Builder.CreateTrunc(Tmp, TruncTy); in EmitAsmStmt()
[all …]
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp1074 Type *&TruncTy, in getAddRecExprPHILiterally() argument
1083 TruncTy = nullptr; in getAddRecExprPHILiterally()
1125 TruncTy = nullptr; in getAddRecExprPHILiterally()
1133 if ((!TruncTy || InvertStep) && in getAddRecExprPHILiterally()
1139 TruncTy = SE.getEffectiveSCEVType(Normalized->getType()); in getAddRecExprPHILiterally()
1287 Type *TruncTy = nullptr; in expandAddRecExprLiterally() local
1290 TruncTy, InvertStep); in expandAddRecExprLiterally()
1333 if (TruncTy) { in expandAddRecExprLiterally()
1339 if (TruncTy != Result->getType()) { in expandAddRecExprLiterally()
1340 Result = Builder.CreateTrunc(Result, TruncTy); in expandAddRecExprLiterally()
[all …]
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpander.h305 Type *&TruncTy,
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4418 Type *TruncTy = Type::getIntNTy(Ctx, ActiveBits); in optimizeLoadExt() local
4419 EVT TruncVT = TLI->getValueType(*DL, TruncTy); in optimizeLoadExt()