Home
last modified time | relevance | path

Searched refs:AITy (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSROA.cpp2501 if (auto *AITy = dyn_cast<IntegerType>(NewAllocaTy)) in visitLoadInst() local
2503 if (AITy->getBitWidth() < TITy->getBitWidth()) { in visitLoadInst()
2506 V = IRB.CreateShl(V, TITy->getBitWidth() - AITy->getBitWidth(), in visitLoadInst()
2648 if (auto *AITy = dyn_cast<IntegerType>(NewAllocaTy)) in visitStoreInst() local
2649 if (VITy->getBitWidth() > AITy->getBitWidth()) { in visitStoreInst()
2651 V = IRB.CreateLShr(V, VITy->getBitWidth() - AITy->getBitWidth(), in visitStoreInst()
2653 V = IRB.CreateTrunc(V, AITy, "load.trunc"); in visitStoreInst()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2398 if (auto *AITy = dyn_cast<IntegerType>(NewAllocaTy)) in visitLoadInst() local
2400 if (AITy->getBitWidth() < TITy->getBitWidth()) { in visitLoadInst()
2403 V = IRB.CreateShl(V, TITy->getBitWidth() - AITy->getBitWidth(), in visitLoadInst()
2536 if (auto *AITy = dyn_cast<IntegerType>(NewAllocaTy)) in visitStoreInst() local
2537 if (VITy->getBitWidth() > AITy->getBitWidth()) { in visitStoreInst()
2539 V = IRB.CreateLShr(V, VITy->getBitWidth() - AITy->getBitWidth(), in visitStoreInst()
2541 V = IRB.CreateTrunc(V, AITy, "load.trunc"); in visitStoreInst()