OLD | NEW |
1 //===- subzero/src/IceTargetLoweringARM32.cpp - ARM32 lowering ------------===// | 1 //===- subzero/src/IceTargetLoweringARM32.cpp - ARM32 lowering ------------===// |
2 // | 2 // |
3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 /// | 9 /// |
10 /// \file | 10 /// \file |
(...skipping 5342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5353 formAddressingMode(Dest->getType(), Func, Instr, Addr)) { | 5353 formAddressingMode(Dest->getType(), Func, Instr, Addr)) { |
5354 Instr->setDeleted(); | 5354 Instr->setDeleted(); |
5355 Context.insert<InstLoad>(Dest, Mem); | 5355 Context.insert<InstLoad>(Dest, Mem); |
5356 } | 5356 } |
5357 } | 5357 } |
5358 | 5358 |
5359 void TargetARM32::randomlyInsertNop(float Probability, | 5359 void TargetARM32::randomlyInsertNop(float Probability, |
5360 RandomNumberGenerator &RNG) { | 5360 RandomNumberGenerator &RNG) { |
5361 RandomNumberGeneratorWrapper RNGW(RNG); | 5361 RandomNumberGeneratorWrapper RNGW(RNG); |
5362 if (RNGW.getTrueWithProbability(Probability)) { | 5362 if (RNGW.getTrueWithProbability(Probability)) { |
5363 UnimplementedError(Func->getContext()->getFlags()); | 5363 _nop(); |
5364 } | 5364 } |
5365 } | 5365 } |
5366 | 5366 |
5367 void TargetARM32::lowerPhi(const InstPhi * /*Instr*/) { | 5367 void TargetARM32::lowerPhi(const InstPhi * /*Instr*/) { |
5368 Func->setError("Phi found in regular instruction list"); | 5368 Func->setError("Phi found in regular instruction list"); |
5369 } | 5369 } |
5370 | 5370 |
5371 void TargetARM32::lowerRet(const InstRet *Instr) { | 5371 void TargetARM32::lowerRet(const InstRet *Instr) { |
5372 Variable *Reg = nullptr; | 5372 Variable *Reg = nullptr; |
5373 if (Instr->hasRetValue()) { | 5373 if (Instr->hasRetValue()) { |
(...skipping 1197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6571 Str << ".eabi_attribute 14, 3 @ Tag_ABI_PCS_R9_use: Not used\n"; | 6571 Str << ".eabi_attribute 14, 3 @ Tag_ABI_PCS_R9_use: Not used\n"; |
6572 } | 6572 } |
6573 | 6573 |
6574 llvm::SmallBitVector TargetARM32::TypeToRegisterSet[RegARM32::RCARM32_NUM]; | 6574 llvm::SmallBitVector TargetARM32::TypeToRegisterSet[RegARM32::RCARM32_NUM]; |
6575 llvm::SmallBitVector | 6575 llvm::SmallBitVector |
6576 TargetARM32::TypeToRegisterSetUnfiltered[RegARM32::RCARM32_NUM]; | 6576 TargetARM32::TypeToRegisterSetUnfiltered[RegARM32::RCARM32_NUM]; |
6577 llvm::SmallBitVector TargetARM32::RegisterAliases[RegARM32::Reg_NUM]; | 6577 llvm::SmallBitVector TargetARM32::RegisterAliases[RegARM32::Reg_NUM]; |
6578 | 6578 |
6579 } // end of namespace ARM32 | 6579 } // end of namespace ARM32 |
6580 } // end of namespace Ice | 6580 } // end of namespace Ice |
OLD | NEW |