Home
last modified time | relevance | path

Searched refs:VarInfo (Results 1 – 25 of 37) sorted by relevance

12

/external/clang/unittests/AST/
DEvaluateAsRValueTest.cpp35 explicit EvaluateConstantInitializersVisitor(VarInfoMap &VarInfo) in EvaluateConstantInitializersVisitor() argument
36 : VarInfo(VarInfo) {} in EvaluateConstantInitializersVisitor()
47 VarInfo[VD->getNameAsString()] = WasEvaluated; in VisitVarDecl()
55 VarInfoMap &VarInfo; member in __anonb752e9300111::EvaluateConstantInitializersVisitor
72 VarInfoMap VarInfo; in HandleTranslationUnit() local
73 EvaluateConstantInitializersVisitor Evaluator(VarInfo); in HandleTranslationUnit()
75 EXPECT_EQ(2u, VarInfo.size()); in HandleTranslationUnit()
76 EXPECT_FALSE(VarInfo["Dependent"]); in HandleTranslationUnit()
77 EXPECT_TRUE(VarInfo["Constant"]); in HandleTranslationUnit()
78 EXPECT_EQ(2u, VarInfo.size()); in HandleTranslationUnit()
/external/llvm-project/clang/unittests/AST/
DEvaluateAsRValueTest.cpp34 explicit EvaluateConstantInitializersVisitor(VarInfoMap &VarInfo) in EvaluateConstantInitializersVisitor() argument
35 : VarInfo(VarInfo) {} in EvaluateConstantInitializersVisitor()
46 VarInfo[VD->getNameAsString()] = WasEvaluated; in VisitVarDecl()
54 VarInfoMap &VarInfo; member in __anon3fa112de0111::EvaluateConstantInitializersVisitor
71 VarInfoMap VarInfo; in HandleTranslationUnit() local
72 EvaluateConstantInitializersVisitor Evaluator(VarInfo); in HandleTranslationUnit()
74 EXPECT_EQ(2u, VarInfo.size()); in HandleTranslationUnit()
75 EXPECT_FALSE(VarInfo["Dependent"]); in HandleTranslationUnit()
76 EXPECT_TRUE(VarInfo["Constant"]); in HandleTranslationUnit()
77 EXPECT_EQ(2u, VarInfo.size()); in HandleTranslationUnit()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DLiveVariables.h79 struct VarInfo { struct
119 IndexedMap<VarInfo, VirtReg2IndexFunctor> VirtRegInfo;
273 VarInfo &getVarInfo(unsigned RegIdx);
275 void MarkVirtRegAliveInBlock(VarInfo& VRInfo, MachineBasicBlock* DefBlock,
277 void MarkVirtRegAliveInBlock(VarInfo& VRInfo, MachineBasicBlock* DefBlock,
/external/llvm-project/llvm/include/llvm/CodeGen/
DLiveVariables.h79 struct VarInfo { struct
118 IndexedMap<VarInfo, VirtReg2IndexFunctor> VirtRegInfo;
272 VarInfo &getVarInfo(Register Reg);
274 void MarkVirtRegAliveInBlock(VarInfo& VRInfo, MachineBasicBlock* DefBlock,
276 void MarkVirtRegAliveInBlock(VarInfo &VRInfo, MachineBasicBlock *DefBlock,
/external/llvm/include/llvm/CodeGen/
DLiveVariables.h79 struct VarInfo { struct
120 IndexedMap<VarInfo, VirtReg2IndexFunctor> VirtRegInfo;
274 VarInfo &getVarInfo(unsigned RegIdx);
276 void MarkVirtRegAliveInBlock(VarInfo& VRInfo, MachineBasicBlock* DefBlock,
278 void MarkVirtRegAliveInBlock(VarInfo& VRInfo, MachineBasicBlock* DefBlock,
/external/llvm/lib/IR/
DDIBuilder.cpp720 Instruction *DIBuilder::insertDeclare(Value *Storage, DILocalVariable *VarInfo, in insertDeclare() argument
723 assert(VarInfo && "empty or invalid DILocalVariable* passed to dbg.declare"); in insertDeclare()
726 VarInfo->getScope()->getSubprogram() && in insertDeclare()
731 trackIfUnresolved(VarInfo); in insertDeclare()
734 MetadataAsValue::get(VMContext, VarInfo), in insertDeclare()
739 Instruction *DIBuilder::insertDeclare(Value *Storage, DILocalVariable *VarInfo, in insertDeclare() argument
742 assert(VarInfo && "empty or invalid DILocalVariable* passed to dbg.declare"); in insertDeclare()
745 VarInfo->getScope()->getSubprogram() && in insertDeclare()
750 trackIfUnresolved(VarInfo); in insertDeclare()
753 MetadataAsValue::get(VMContext, VarInfo), in insertDeclare()
[all …]
/external/swiftshader/third_party/subzero/src/
DIceVariableSplitting.cpp55 struct VarInfo { struct in Ice::__anond9c0a57a0111::VariableMap
65 VarInfo() = default;
68 VarInfo(const VarInfo &) = delete;
69 VarInfo &operator=(const VarInfo &) = delete;
150 CfgVector<VarInfo> Map;
DIceTargetLowering.cpp591 CfgUnorderedMap<Variable *, UseInfo> VarInfo; in postRegallocSplitting() local
635 VarInfo[NewVar] = Info; in postRegallocSplitting()
651 auto &Info = VarInfo[ExtraVar]; in postRegallocSplitting()
/external/llvm-project/llvm/lib/CodeGen/
DLiveVariables.cpp60 LiveVariables::VarInfo::findKill(const MachineBasicBlock *MBB) const { in findKill()
68 LLVM_DUMP_METHOD void LiveVariables::VarInfo::dump() const { in dump()
85 LiveVariables::VarInfo &LiveVariables::getVarInfo(Register Reg) { in getVarInfo()
92 VarInfo &VRInfo, MachineBasicBlock *DefBlock, MachineBasicBlock *MBB, in MarkVirtRegAliveInBlock()
116 void LiveVariables::MarkVirtRegAliveInBlock(VarInfo &VRInfo, in MarkVirtRegAliveInBlock()
135 VarInfo &VRInfo = getVarInfo(Reg); in HandleVirtRegUse()
182 VarInfo &VRInfo = getVarInfo(Reg); in HandleVirtRegDef()
683 VarInfo &VI = getVarInfo(Reg); in replaceKillInstruction()
720 bool LiveVariables::VarInfo::isLiveIn(const MachineBasicBlock &MBB, in isLiveIn()
738 LiveVariables::VarInfo &VI = getVarInfo(Reg); in isLiveOut()
[all …]
DPHIElimination.cpp169 LiveVariables::VarInfo &VI = LV->getVarInfo(VirtReg); in runOnMachineFunction()
322 LiveVariables::VarInfo &VI = LV->getVarInfo(IncomingReg); in LowerPHINode()
/external/llvm/lib/CodeGen/
DLiveVariables.cpp60 LiveVariables::VarInfo::findKill(const MachineBasicBlock *MBB) const { in findKill()
67 LLVM_DUMP_METHOD void LiveVariables::VarInfo::dump() const { in dump()
85 LiveVariables::VarInfo &LiveVariables::getVarInfo(unsigned RegIdx) { in getVarInfo()
92 void LiveVariables::MarkVirtRegAliveInBlock(VarInfo& VRInfo, in MarkVirtRegAliveInBlock()
118 void LiveVariables::MarkVirtRegAliveInBlock(VarInfo &VRInfo, in MarkVirtRegAliveInBlock()
137 VarInfo& VRInfo = getVarInfo(reg); in HandleVirtRegUse()
183 VarInfo &VRInfo = getVarInfo(Reg); in HandleVirtRegDef()
685 VarInfo &VI = getVarInfo(Reg); in replaceKillInstruction()
722 bool LiveVariables::VarInfo::isLiveIn(const MachineBasicBlock &MBB, in isLiveIn()
741 LiveVariables::VarInfo &VI = getVarInfo(Reg); in isLiveOut()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLiveVariables.cpp60 LiveVariables::VarInfo::findKill(const MachineBasicBlock *MBB) const { in findKill()
68 LLVM_DUMP_METHOD void LiveVariables::VarInfo::dump() const { in dump()
85 LiveVariables::VarInfo &LiveVariables::getVarInfo(unsigned RegIdx) { in getVarInfo()
92 void LiveVariables::MarkVirtRegAliveInBlock(VarInfo& VRInfo, in MarkVirtRegAliveInBlock()
118 void LiveVariables::MarkVirtRegAliveInBlock(VarInfo &VRInfo, in MarkVirtRegAliveInBlock()
137 VarInfo& VRInfo = getVarInfo(reg); in HandleVirtRegUse()
183 VarInfo &VRInfo = getVarInfo(Reg); in HandleVirtRegDef()
683 VarInfo &VI = getVarInfo(Reg); in replaceKillInstruction()
720 bool LiveVariables::VarInfo::isLiveIn(const MachineBasicBlock &MBB, in isLiveIn()
739 LiveVariables::VarInfo &VI = getVarInfo(Reg); in isLiveOut()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDIBuilder.cpp852 Instruction *DIBuilder::insertDeclare(Value *Storage, DILocalVariable *VarInfo, in insertDeclare() argument
855 return insertDeclare(Storage, VarInfo, Expr, DL, InsertBefore->getParent(), in insertDeclare()
859 Instruction *DIBuilder::insertDeclare(Value *Storage, DILocalVariable *VarInfo, in insertDeclare() argument
865 return insertDeclare(Storage, VarInfo, Expr, DL, InsertAtEnd, InsertBefore); in insertDeclare()
881 DILocalVariable *VarInfo, in insertDbgValueIntrinsic() argument
886 V, VarInfo, Expr, DL, InsertBefore ? InsertBefore->getParent() : nullptr, in insertDbgValueIntrinsic()
891 DILocalVariable *VarInfo, in insertDbgValueIntrinsic() argument
895 return insertDbgValueIntrinsic(V, VarInfo, Expr, DL, InsertAtEnd, nullptr); in insertDbgValueIntrinsic()
922 Instruction *DIBuilder::insertDeclare(Value *Storage, DILocalVariable *VarInfo, in insertDeclare() argument
925 assert(VarInfo && "empty or invalid DILocalVariable* passed to dbg.declare"); in insertDeclare()
[all …]
DDebugInfo.cpp1347 LLVMMetadataRef VarInfo, LLVMMetadataRef Expr, in LLVMDIBuilderInsertDeclareBefore() argument
1350 unwrap(Storage), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDeclareBefore()
1356 LLVMDIBuilderRef Builder, LLVMValueRef Storage, LLVMMetadataRef VarInfo, in LLVMDIBuilderInsertDeclareAtEnd() argument
1359 unwrap(Storage), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDeclareAtEnd()
1366 LLVMMetadataRef VarInfo, in LLVMDIBuilderInsertDbgValueBefore() argument
1371 unwrap(Val), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDbgValueBefore()
1378 LLVMMetadataRef VarInfo, in LLVMDIBuilderInsertDbgValueAtEnd() argument
1383 unwrap(Val), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDbgValueAtEnd()
/external/llvm-project/llvm/utils/TableGen/
DGICombinerEmitter.cpp118 struct VarInfo { struct in __anon4718c62b0111::CombineRule
124 VarInfo(const GIMatchDagInstr *N, const GIMatchDagOperand *Op, in VarInfo() argument
184 StringMap<std::vector<VarInfo>> &NamedEdgeDefs,
185 StringMap<std::vector<VarInfo>> &NamedEdgeUses);
399 StringMap<std::vector<VarInfo>> &NamedEdgeDefs, in parseInstructionMatcher()
400 StringMap<std::vector<VarInfo>> &NamedEdgeUses) { in parseInstructionMatcher()
489 StringMap<std::vector<VarInfo>> NamedEdgeDefs; in parseMatcher()
490 StringMap<std::vector<VarInfo>> NamedEdgeUses; in parseMatcher()
544 for (const VarInfo &DefVar : NameAndDefs.getValue()) { in parseMatcher()
545 for (const VarInfo &UseVar : Uses) { in parseMatcher()
[all …]
/external/llvm-project/llvm/lib/IR/
DDIBuilder.cpp896 Instruction *DIBuilder::insertDeclare(Value *Storage, DILocalVariable *VarInfo, in insertDeclare() argument
899 return insertDeclare(Storage, VarInfo, Expr, DL, InsertBefore->getParent(), in insertDeclare()
903 Instruction *DIBuilder::insertDeclare(Value *Storage, DILocalVariable *VarInfo, in insertDeclare() argument
909 return insertDeclare(Storage, VarInfo, Expr, DL, InsertAtEnd, InsertBefore); in insertDeclare()
925 DILocalVariable *VarInfo, in insertDbgValueIntrinsic() argument
930 V, VarInfo, Expr, DL, InsertBefore ? InsertBefore->getParent() : nullptr, in insertDbgValueIntrinsic()
935 DILocalVariable *VarInfo, in insertDbgValueIntrinsic() argument
939 return insertDbgValueIntrinsic(V, VarInfo, Expr, DL, InsertAtEnd, nullptr); in insertDbgValueIntrinsic()
963 Instruction *DIBuilder::insertDeclare(Value *Storage, DILocalVariable *VarInfo, in insertDeclare() argument
966 assert(VarInfo && "empty or invalid DILocalVariable* passed to dbg.declare"); in insertDeclare()
[all …]
DDebugInfo.cpp1386 LLVMMetadataRef VarInfo, LLVMMetadataRef Expr, in LLVMDIBuilderInsertDeclareBefore() argument
1389 unwrap(Storage), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDeclareBefore()
1395 LLVMDIBuilderRef Builder, LLVMValueRef Storage, LLVMMetadataRef VarInfo, in LLVMDIBuilderInsertDeclareAtEnd() argument
1398 unwrap(Storage), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDeclareAtEnd()
1405 LLVMMetadataRef VarInfo, in LLVMDIBuilderInsertDbgValueBefore() argument
1410 unwrap(Val), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDbgValueBefore()
1417 LLVMMetadataRef VarInfo, in LLVMDIBuilderInsertDbgValueAtEnd() argument
1422 unwrap(Val), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDbgValueAtEnd()
/external/llvm/bindings/go/llvm/
DDIBuilderBindings.cpp225 LLVMMetadataRef VarInfo, in LLVMDIBuilderInsertDeclareAtEnd() argument
234 unwrap(Storage), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDeclareAtEnd()
241 LLVMMetadataRef VarInfo, in LLVMDIBuilderInsertValueAtEnd() argument
250 unwrap(Val), Offset, unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertValueAtEnd()
DDIBuilderBindings.h132 LLVMMetadataRef VarInfo,
138 LLVMMetadataRef VarInfo,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDIBuilder.h81 Instruction *insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
91 insertDbgValueIntrinsic(llvm::Value *Val, DILocalVariable *VarInfo,
802 Instruction *insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
812 Instruction *insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
837 DILocalVariable *VarInfo,
849 DILocalVariable *VarInfo,
/external/llvm-project/llvm/include/llvm/IR/
DDIBuilder.h81 Instruction *insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
91 insertDbgValueIntrinsic(llvm::Value *Val, DILocalVariable *VarInfo,
843 Instruction *insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
853 Instruction *insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
878 DILocalVariable *VarInfo,
890 DILocalVariable *VarInfo,
/external/llvm/include/llvm/IR/
DDIBuilder.h657 Instruction *insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
667 Instruction *insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
679 DILocalVariable *VarInfo,
692 DILocalVariable *VarInfo,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DDebugInfo.h1222 LLVMDIBuilderRef Builder, LLVMValueRef Storage, LLVMMetadataRef VarInfo,
1237 LLVMDIBuilderRef Builder, LLVMValueRef Storage, LLVMMetadataRef VarInfo,
1251 LLVMMetadataRef VarInfo,
1269 LLVMMetadataRef VarInfo,
/external/llvm-project/llvm/include/llvm-c/
DDebugInfo.h1229 LLVMDIBuilderRef Builder, LLVMValueRef Storage, LLVMMetadataRef VarInfo,
1244 LLVMDIBuilderRef Builder, LLVMValueRef Storage, LLVMMetadataRef VarInfo,
1258 LLVMMetadataRef VarInfo,
1276 LLVMMetadataRef VarInfo,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBTFDebug.h167 BTFKindVar(StringRef VarName, uint32_t TypeId, uint32_t VarInfo);

12