Home
last modified time | relevance | path

Searched refs:VarInfo (Results 1 – 25 of 32) 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 __anon28a9a4d20111::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/v8/src/asmjs/
Dasm-parser.h91 struct VarInfo { struct
105 VarInfo* var_info; argument
160 ZoneVector<VarInfo> global_var_info_;
161 ZoneVector<VarInfo> local_var_info_;
295 VarInfo* GetVarInfo(AsmJsScanner::token_t token);
296 uint32_t VarIndex(VarInfo* info);
297 void DeclareGlobal(VarInfo* info, bool mutable_variable, AsmType* type,
300 void DeclareStdlibFunc(VarInfo* info, VarKind kind, AsmType* type);
302 bool mutable_variable, VarInfo* info);
333 void ValidateModuleVarImport(VarInfo* info, bool mutable_variable);
[all …]
Dasm-parser.cc210 wasm::AsmJsParser::VarInfo* AsmJsParser::GetVarInfo( in GetVarInfo()
232 uint32_t AsmJsParser::VarIndex(VarInfo* info) { in VarIndex()
239 VarInfo* info) { in AddGlobalImport()
249 void AsmJsParser::DeclareGlobal(VarInfo* info, bool mutable_variable, in DeclareGlobal()
258 void AsmJsParser::DeclareStdlibFunc(VarInfo* info, VarKind kind, in DeclareStdlibFunc()
441 VarInfo* info = GetVarInfo(Consume()); in ValidateModuleVar()
487 void AsmJsParser::ValidateModuleVarFromGlobal(VarInfo* info, in ValidateModuleVarFromGlobal()
489 VarInfo* src_info = GetVarInfo(Consume()); in ValidateModuleVarFromGlobal()
535 void AsmJsParser::ValidateModuleVarImport(VarInfo* info, in ValidateModuleVarImport()
564 void AsmJsParser::ValidateModuleVarNewStdlib(VarInfo* info) { in ValidateModuleVarNewStdlib()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DLiveVariables.h81 struct VarInfo { struct
97 VarInfo() : NumUses(0) {} in VarInfo() argument
128 IndexedMap<VarInfo, VirtReg2IndexFunctor> VirtRegInfo;
281 VarInfo &getVarInfo(unsigned RegIdx);
283 void MarkVirtRegAliveInBlock(VarInfo& VRInfo, MachineBasicBlock* DefBlock,
285 void MarkVirtRegAliveInBlock(VarInfo& VRInfo, MachineBasicBlock* DefBlock,
/external/swiftshader/third_party/llvm-7.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/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/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/swiftshader/third_party/subzero/src/
DIceVariableSplitting.cpp55 struct VarInfo { struct in Ice::__anon4d0e651c0111::VariableMap
65 VarInfo() = default;
68 VarInfo(const VarInfo &) = delete;
69 VarInfo &operator=(const VarInfo &) = delete;
150 CfgVector<VarInfo> Map;
DIceTargetLowering.cpp604 CfgUnorderedMap<Variable *, UseInfo> VarInfo; in postRegallocSplitting() local
648 VarInfo[NewVar] = Info; in postRegallocSplitting()
664 auto &Info = VarInfo[ExtraVar]; in postRegallocSplitting()
/external/swiftshader/third_party/llvm-7.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()
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/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 …]
DPHIElimination.cpp275 LiveVariables::VarInfo &VI = LV->getVarInfo(IncomingReg); in LowerPHINode()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DLiveVariables.cpp58 LiveVariables::VarInfo::findKill(const MachineBasicBlock *MBB) const { in findKill()
65 void LiveVariables::VarInfo::dump() const { in dump()
81 LiveVariables::VarInfo &LiveVariables::getVarInfo(unsigned RegIdx) { in getVarInfo()
88 void LiveVariables::MarkVirtRegAliveInBlock(VarInfo& VRInfo, in MarkVirtRegAliveInBlock()
113 void LiveVariables::MarkVirtRegAliveInBlock(VarInfo &VRInfo, in MarkVirtRegAliveInBlock()
132 VarInfo& VRInfo = getVarInfo(reg); in HandleVirtRegUse()
179 VarInfo &VRInfo = getVarInfo(Reg); in HandleVirtRegDef()
650 VarInfo &VI = getVarInfo(Reg); in replaceKillInstruction()
685 bool LiveVariables::VarInfo::isLiveIn(const MachineBasicBlock &MBB, in isLiveIn()
704 LiveVariables::VarInfo &VI = getVarInfo(Reg); in isLiveOut()
[all …]
DProcessImplicitDefs.cpp125 LiveVariables::VarInfo& vi = LV->getVarInfo(MO.getReg()); in runOnMachineFunction()
158 LiveVariables::VarInfo& vi = LV->getVarInfo(Reg); in runOnMachineFunction()
269 LiveVariables::VarInfo& vi = LV->getVarInfo(Reg); in runOnMachineFunction()
DPHIElimination.cpp241 LiveVariables::VarInfo &VI = LV->getVarInfo(IncomingReg); in LowerAtomicPHINode()
DMachineVerifier.cpp653 LiveVariables::VarInfo &VI = LiveVars->getVarInfo(Reg); in visitMachineOperand()
983 LiveVariables::VarInfo &VI = LiveVars->getVarInfo(Reg); in verifyLiveVariables()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDIBuilder.cpp841 Instruction *DIBuilder::insertDeclare(Value *Storage, DILocalVariable *VarInfo, in insertDeclare() argument
844 return insertDeclare(Storage, VarInfo, Expr, DL, InsertBefore->getParent(), in insertDeclare()
848 Instruction *DIBuilder::insertDeclare(Value *Storage, DILocalVariable *VarInfo, in insertDeclare() argument
854 return insertDeclare(Storage, VarInfo, Expr, DL, InsertAtEnd, InsertBefore); in insertDeclare()
870 DILocalVariable *VarInfo, in insertDbgValueIntrinsic() argument
875 V, VarInfo, Expr, DL, InsertBefore ? InsertBefore->getParent() : nullptr, in insertDbgValueIntrinsic()
880 DILocalVariable *VarInfo, in insertDbgValueIntrinsic() argument
884 return insertDbgValueIntrinsic(V, VarInfo, Expr, DL, InsertAtEnd, nullptr); in insertDbgValueIntrinsic()
911 Instruction *DIBuilder::insertDeclare(Value *Storage, DILocalVariable *VarInfo, in insertDeclare() argument
914 assert(VarInfo && "empty or invalid DILocalVariable* passed to dbg.declare"); in insertDeclare()
[all …]
DDebugInfo.cpp1276 LLVMDIBuilderRef Builder, LLVMValueRef Storage, LLVMMetadataRef VarInfo, in LLVMDIBuilderInsertDeclareBefore() argument
1279 unwrap(Storage), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDeclareBefore()
1285 LLVMDIBuilderRef Builder, LLVMValueRef Storage, LLVMMetadataRef VarInfo, in LLVMDIBuilderInsertDeclareAtEnd() argument
1288 unwrap(Storage), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDeclareAtEnd()
1295 LLVMMetadataRef VarInfo, in LLVMDIBuilderInsertDbgValueBefore() argument
1300 unwrap(Val), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDbgValueBefore()
1307 LLVMMetadataRef VarInfo, in LLVMDIBuilderInsertDbgValueAtEnd() argument
1312 unwrap(Val), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDbgValueAtEnd()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DDIBuilder.h488 Instruction *insertDeclare(llvm::Value *Storage, DIVariable VarInfo,
495 Instruction *insertDeclare(llvm::Value *Storage, DIVariable VarInfo,
505 DIVariable VarInfo,
514 DIVariable VarInfo,
/external/swiftshader/third_party/LLVM/lib/Analysis/
DDIBuilder.cpp882 Instruction *DIBuilder::insertDeclare(Value *Storage, DIVariable VarInfo, in insertDeclare() argument
885 assert(VarInfo.Verify() && "empty DIVariable passed to dbg.declare"); in insertDeclare()
889 Value *Args[] = { MDNode::get(Storage->getContext(), Storage), VarInfo }; in insertDeclare()
894 Instruction *DIBuilder::insertDeclare(Value *Storage, DIVariable VarInfo, in insertDeclare() argument
897 assert(VarInfo.Verify() && "invalid DIVariable passed to dbg.declare"); in insertDeclare()
901 Value *Args[] = { MDNode::get(Storage->getContext(), Storage), VarInfo }; in insertDeclare()
913 DIVariable VarInfo, in insertDbgValueIntrinsic() argument
916 assert(VarInfo.Verify() && "invalid DIVariable passed to dbg.value"); in insertDbgValueIntrinsic()
922 VarInfo }; in insertDbgValueIntrinsic()
928 DIVariable VarInfo, in insertDbgValueIntrinsic() argument
[all …]
/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-7.0/llvm/include/llvm/IR/
DDIBuilder.h82 Instruction *insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
92 insertDbgValueIntrinsic(llvm::Value *Val, DILocalVariable *VarInfo,
791 Instruction *insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
801 Instruction *insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
826 DILocalVariable *VarInfo,
838 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-7.0/llvm/include/llvm-c/
DDebugInfo.h1050 LLVMDIBuilderRef Builder, LLVMValueRef Storage, LLVMMetadataRef VarInfo,
1065 LLVMDIBuilderRef Builder, LLVMValueRef Storage, LLVMMetadataRef VarInfo,
1079 LLVMMetadataRef VarInfo,
1097 LLVMMetadataRef VarInfo,

12