mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Clean up some strange whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59373 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
70c44f0cce
commit
ac44d25bdd
@ -299,9 +299,8 @@ public:
|
||||
return Insert(new StoreInst(Val, Ptr, isVolatile));
|
||||
}
|
||||
template<typename InputIterator>
|
||||
Value *CreateGEP(Value *Ptr, InputIterator IdxBegin,
|
||||
InputIterator IdxEnd, const char *Name = "") {
|
||||
|
||||
Value *CreateGEP(Value *Ptr, InputIterator IdxBegin, InputIterator IdxEnd,
|
||||
const char *Name = "") {
|
||||
if (Constant *PC = dyn_cast<Constant>(Ptr)) {
|
||||
// Every index must be constant.
|
||||
InputIterator i;
|
||||
@ -395,7 +394,7 @@ public:
|
||||
}
|
||||
|
||||
Value *CreateCast(Instruction::CastOps Op, Value *V, const Type *DestTy,
|
||||
const char *Name = "") {
|
||||
const char *Name = "") {
|
||||
if (V->getType() == DestTy)
|
||||
return V;
|
||||
if (Constant *VC = dyn_cast<Constant>(V))
|
||||
@ -403,7 +402,7 @@ public:
|
||||
return Insert(CastInst::Create(Op, V, DestTy), Name);
|
||||
}
|
||||
Value *CreateIntCast(Value *V, const Type *DestTy, bool isSigned,
|
||||
const char *Name = "") {
|
||||
const char *Name = "") {
|
||||
if (V->getType() == DestTy)
|
||||
return V;
|
||||
if (Constant *VC = dyn_cast<Constant>(V))
|
||||
@ -569,7 +568,7 @@ public:
|
||||
}
|
||||
|
||||
Value *CreateExtractElement(Value *Vec, Value *Idx,
|
||||
const char *Name = "") {
|
||||
const char *Name = "") {
|
||||
if (Constant *VC = dyn_cast<Constant>(Vec))
|
||||
if (Constant *IC = dyn_cast<Constant>(Idx))
|
||||
return Folder.CreateExtractElement(VC, IC);
|
||||
@ -586,7 +585,7 @@ public:
|
||||
}
|
||||
|
||||
Value *CreateShuffleVector(Value *V1, Value *V2, Value *Mask,
|
||||
const char *Name = "") {
|
||||
const char *Name = "") {
|
||||
if (Constant *V1C = dyn_cast<Constant>(V1))
|
||||
if (Constant *V2C = dyn_cast<Constant>(V2))
|
||||
if (Constant *MC = dyn_cast<Constant>(Mask))
|
||||
|
Loading…
Reference in New Issue
Block a user