/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | RegisterBankInfo.h | 142 struct ValueMapping { struct 151 ValueMapping() : ValueMapping(nullptr, 0) {} in ValueMapping() argument 156 ValueMapping(const PartialMapping *BreakDown, unsigned NumBreakDowns) in ValueMapping() function 192 const ValueMapping *OperandsMapping; 197 const ValueMapping &getOperandMapping(unsigned i) { in getOperandMapping() 212 const ValueMapping *OperandsMapping, in InstructionMapping() 236 const ValueMapping &getOperandMapping(unsigned i) const { in getOperandMapping() 237 const ValueMapping &ValMapping = in getOperandMapping() 245 void setOperandsMapping(const ValueMapping *OpdsMapping) { in setOperandsMapping() 397 mutable DenseMap<unsigned, std::unique_ptr<const ValueMapping>> [all …]
|
D | RegBankSelect.h | 528 const RegisterBankInfo::ValueMapping &ValMapping, 564 const RegisterBankInfo::ValueMapping &ValMapping, 576 const RegisterBankInfo::ValueMapping &ValMapping) const; 608 const RegisterBankInfo::ValueMapping &ValMapping) const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/ |
D | RegisterBankInfo.cpp | 178 SmallVector<const ValueMapping *, 8> OperandsMapping(NumOperandsForMapping); in getInstrMappingImpl() 211 const ValueMapping *ValMapping = in getInstrMappingImpl() 262 const RegisterBankInfo::ValueMapping & 279 const RegisterBankInfo::ValueMapping & 292 ValMapping = llvm::make_unique<ValueMapping>(BreakDown, NumBreakDowns); in getValueMapping() 297 const RegisterBankInfo::ValueMapping * 316 Res = llvm::make_unique<ValueMapping[]>(std::distance(Begin, End)); in getOperandsMapping() 319 const ValueMapping *ValMap = *It; in getOperandsMapping() 327 const RegisterBankInfo::ValueMapping *RegisterBankInfo::getOperandsMapping( in getOperandsMapping() 328 const SmallVectorImpl<const RegisterBankInfo::ValueMapping *> &OpdsMapping) in getOperandsMapping() [all …]
|
D | RegBankSelect.cpp | 113 unsigned Reg, const RegisterBankInfo::ValueMapping &ValMapping, in assignmentMatch() 136 MachineOperand &MO, const RegisterBankInfo::ValueMapping &ValMapping, in repairReg() 190 const RegisterBankInfo::ValueMapping &ValMapping) const { in getRepairCost() 272 const RegisterBankInfo::ValueMapping &ValMapping) const { in tryAvoidingSplit() 423 const RegisterBankInfo::ValueMapping &ValMapping = in computeMapping() 543 const RegisterBankInfo::ValueMapping &ValMapping = in applyMapping()
|
/external/llvm/tools/verify-uselistorder/ |
D | verify-uselistorder.cpp | 83 struct ValueMapping { struct 98 ValueMapping(const Module &M); 181 ValueMapping::ValueMapping(const Module &M) { in ValueMapping() function in ValueMapping 236 void ValueMapping::map(const Value *V) { in map() 250 static void dumpMapping(const ValueMapping &VM) { in dumpMapping() 258 static void debugValue(const ValueMapping &M, unsigned I, StringRef Desc) { in debugValue() 269 static void debugUserMismatch(const ValueMapping &L, const ValueMapping &R, in debugUserMismatch() 281 static void debugSizeMismatch(const ValueMapping &L, const ValueMapping &R) { in debugSizeMismatch() 291 static bool matches(const ValueMapping &LM, const ValueMapping &RM) { in matches() 304 const ValueMapping &M) { in matches() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/verify-uselistorder/ |
D | verify-uselistorder.cpp | 82 struct ValueMapping { struct 97 ValueMapping(const Module &M); 180 ValueMapping::ValueMapping(const Module &M) { in ValueMapping() function in ValueMapping 235 void ValueMapping::map(const Value *V) { in map() 249 static void dumpMapping(const ValueMapping &VM) { in dumpMapping() 257 static void debugValue(const ValueMapping &M, unsigned I, StringRef Desc) { in debugValue() 268 static void debugUserMismatch(const ValueMapping &L, const ValueMapping &R, in debugUserMismatch() 280 static void debugSizeMismatch(const ValueMapping &L, const ValueMapping &R) { in debugSizeMismatch() 290 static bool matches(const ValueMapping &LM, const ValueMapping &RM) { in matches() 303 const ValueMapping &M) { in matches() [all …]
|
/external/llvm/include/llvm/CodeGen/GlobalISel/ |
D | RegisterBankInfo.h | 85 struct ValueMapping { struct 112 std::unique_ptr<ValueMapping[]> OperandsMapping; 116 ValueMapping &getOperandMapping(unsigned i) { in getOperandMapping() 134 OperandsMapping.reset(new ValueMapping[getNumOperands()]); in InstructionMapping() 151 const ValueMapping &getOperandMapping(unsigned i) const { in getOperandMapping() 156 void setOperandMapping(unsigned i, const ValueMapping &ValMapping) { in setOperandMapping() 583 operator<<(raw_ostream &OS, const RegisterBankInfo::ValueMapping &ValMapping) {
|
D | RegBankSelect.h | 490 const RegisterBankInfo::ValueMapping &ValMapping, 524 const RegisterBankInfo::ValueMapping &ValMapping, 536 const RegisterBankInfo::ValueMapping &ValMapping) const; 568 const RegisterBankInfo::ValueMapping &ValMapping) const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64RegisterBankInfo.h | 46 static RegisterBankInfo::ValueMapping ValMappings[]; 80 static const RegisterBankInfo::ValueMapping * 86 static const RegisterBankInfo::ValueMapping * 95 static const RegisterBankInfo::ValueMapping *
|
D | AArch64GenRegisterBankInfo.def | 36 RegisterBankInfo::ValueMapping AArch64GenRegisterBankInfo::ValMappings[]{ 130 const ValueMapping &Map = 187 const RegisterBankInfo::ValueMapping * 211 const RegisterBankInfo::ValueMapping * 234 const RegisterBankInfo::ValueMapping *
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86RegisterBankInfo.h | 34 static RegisterBankInfo::ValueMapping ValMappings[]; 37 static const RegisterBankInfo::ValueMapping * 63 SmallVectorImpl<const ValueMapping *> &OpdsMapping);
|
D | X86RegisterBankInfo.cpp | 126 SmallVectorImpl<const ValueMapping *> &OpdsMapping) { in getInstrValueMapping() 236 SmallVector<const ValueMapping *, 8> OpdsMapping(NumOperands); in getInstrMapping() 273 SmallVector<const ValueMapping *, 8> OpdsMapping(NumOperands); in getInstrAlternativeMappings()
|
D | X86GenRegisterBankInfo.def | 52 RegisterBankInfo::ValueMapping X86GenRegisterBankInfo::ValMappings[]{ 88 const RegisterBankInfo::ValueMapping *
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 1352 DenseMap<Instruction*, Value*> ValueMapping; in ThreadEdge() local 1361 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in ThreadEdge() 1369 ValueMapping[BI] = New; in ThreadEdge() 1374 DenseMap<Instruction*, Value*>::iterator I = ValueMapping.find(Inst); in ThreadEdge() 1375 if (I != ValueMapping.end()) in ThreadEdge() 1387 AddPHINodeEntriesForMappedBlock(SuccBB, BB, NewBB, ValueMapping); in ThreadEdge() 1421 SSAUpdate.AddAvailableValue(NewBB, ValueMapping[I]); in ThreadEdge() 1503 DenseMap<Instruction*, Value*> ValueMapping; in DuplicateCondBranchOnPHIIntoPred() local 1507 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in DuplicateCondBranchOnPHIIntoPred() 1517 DenseMap<Instruction*, Value*>::iterator I = ValueMapping.find(Inst); in DuplicateCondBranchOnPHIIntoPred() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPURegisterBankInfo.cpp | 208 SmallVector<const ValueMapping*, 8> OpdsMapping(MI.getNumOperands()); in getDefaultMappingSOP() 222 SmallVector<const ValueMapping*, 8> OpdsMapping(MI.getNumOperands()); in getDefaultMappingVOP() 250 SmallVector<const ValueMapping*, 8> OpdsMapping(MI.getNumOperands()); in getInstrMappingForLoad() 254 const ValueMapping *ValMapping; in getInstrMappingForLoad() 255 const ValueMapping *PtrMapping; in getInstrMappingForLoad() 302 SmallVector<const ValueMapping*, 8> OpdsMapping(MI.getNumOperands()); in getInstrMapping() 415 const ValueMapping *ValMapping = in getInstrMapping() 420 const ValueMapping *PtrMapping = in getInstrMapping()
|
D | AMDGPUGenRegisterBankInfo.def | 57 const RegisterBankInfo::ValueMapping ValMappings[] { 87 const RegisterBankInfo::ValueMapping *getValueMapping(unsigned BankID,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsRegisterBankInfo.cpp | 37 RegisterBankInfo::ValueMapping ValueMappings[] = { 80 const ValueMapping *OperandsMapping = &Mips::ValueMappings[Mips::GPRIdx]; in getInstrMapping()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SSAUpdater.cpp | 80 SmallDenseMap<BasicBlock *, Value *, 8> &ValueMapping) { in IsEquivalentPHI() argument 82 if (PHINumValues != ValueMapping.size()) in IsEquivalentPHI() 87 if (ValueMapping[PHI->getIncomingBlock(i)] != in IsEquivalentPHI() 153 SmallDenseMap<BasicBlock *, Value *, 8> ValueMapping(PredValues.begin(), in GetValueInMiddleOfBlock() local 156 if (IsEquivalentPHI(&SomePHI, ValueMapping)) in GetValueInMiddleOfBlock()
|
D | CloneFunction.cpp | 801 ValueToValueMapTy &ValueMapping, in DuplicateInstructionsInSplitBetween() argument 808 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in DuplicateInstructionsInSplitBetween() 822 ValueMapping[&*BI] = New; in DuplicateInstructionsInSplitBetween() 827 auto I = ValueMapping.find(Inst); in DuplicateInstructionsInSplitBetween() 828 if (I != ValueMapping.end()) in DuplicateInstructionsInSplitBetween()
|
/external/llvm/lib/Transforms/Utils/ |
D | SSAUpdater.cpp | 66 SmallDenseMap<BasicBlock*, Value*, 8> &ValueMapping) { in IsEquivalentPHI() argument 68 if (PHINumValues != ValueMapping.size()) in IsEquivalentPHI() 73 if (ValueMapping[PHI->getIncomingBlock(i)] != in IsEquivalentPHI() 139 SmallDenseMap<BasicBlock*, Value*, 8> ValueMapping(PredValues.begin(), in GetValueInMiddleOfBlock() local 144 if (IsEquivalentPHI(SomePHI, ValueMapping)) in GetValueInMiddleOfBlock()
|
/external/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 1485 DenseMap<Instruction*, Value*> ValueMapping; in ThreadEdge() local 1501 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in ThreadEdge() 1509 ValueMapping[&*BI] = New; in ThreadEdge() 1514 DenseMap<Instruction*, Value*>::iterator I = ValueMapping.find(Inst); in ThreadEdge() 1515 if (I != ValueMapping.end()) in ThreadEdge() 1527 AddPHINodeEntriesForMappedBlock(SuccBB, BB, NewBB, ValueMapping); in ThreadEdge() 1560 SSAUpdate.AddAvailableValue(NewBB, ValueMapping[&I]); in ThreadEdge() 1728 DenseMap<Instruction*, Value*> ValueMapping; in DuplicateCondBranchOnPHIIntoPred() local 1732 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in DuplicateCondBranchOnPHIIntoPred() 1741 DenseMap<Instruction*, Value*>::iterator I = ValueMapping.find(Inst); in DuplicateCondBranchOnPHIIntoPred() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | SSAUpdater.cpp | 74 DenseMap<BasicBlock*, Value*> &ValueMapping) { in IsEquivalentPHI() argument 76 if (PHINumValues != ValueMapping.size()) in IsEquivalentPHI() 81 if (ValueMapping[PHI->getIncomingBlock(i)] != in IsEquivalentPHI() 168 DenseMap<BasicBlock*, Value*> ValueMapping(PredValues.begin(), in GetValueInMiddleOfBlock() local 173 if (IsEquivalentPHI(SomePHI, ValueMapping)) in GetValueInMiddleOfBlock()
|
/external/llvm/lib/CodeGen/GlobalISel/ |
D | RegBankSelect.cpp | 84 unsigned Reg, const RegisterBankInfo::ValueMapping &ValMapping, in assignmentMatch() 107 MachineOperand &MO, const RegisterBankInfo::ValueMapping &ValMapping, in repairReg() 156 const RegisterBankInfo::ValueMapping &ValMapping) const { in getRepairCost() 228 const RegisterBankInfo::ValueMapping &ValMapping) const { in tryAvoidingSplit() 374 const RegisterBankInfo::ValueMapping &ValMapping = in computeMapping() 484 const RegisterBankInfo::ValueMapping &ValMapping = in applyMapping()
|
D | RegisterBankInfo.cpp | 409 bool RegisterBankInfo::ValueMapping::verify(unsigned ExpectedBitWidth) const { in verify() 437 void RegisterBankInfo::ValueMapping::dump() const { in dump() 442 void RegisterBankInfo::ValueMapping::print(raw_ostream &OS) const { in print() 476 const RegisterBankInfo::ValueMapping &MOMapping = getOperandMapping(Idx); in verify() 504 const ValueMapping &ValMapping = getOperandMapping(OpIdx); in print()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 1957 DenseMap<Instruction*, Value*> ValueMapping; in ThreadEdge() local 1973 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in ThreadEdge() 1981 ValueMapping[&*BI] = New; in ThreadEdge() 1986 DenseMap<Instruction*, Value*>::iterator I = ValueMapping.find(Inst); in ThreadEdge() 1987 if (I != ValueMapping.end()) in ThreadEdge() 1999 AddPHINodeEntriesForMappedBlock(SuccBB, BB, NewBB, ValueMapping); in ThreadEdge() 2048 SSAUpdate.AddAvailableValue(NewBB, ValueMapping[&I]); in ThreadEdge() 2286 DenseMap<Instruction*, Value*> ValueMapping; in DuplicateCondBranchOnPHIIntoPred() local 2290 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in DuplicateCondBranchOnPHIIntoPred() 2299 DenseMap<Instruction*, Value*>::iterator I = ValueMapping.find(Inst); in DuplicateCondBranchOnPHIIntoPred() [all …]
|